View Issue Details

IDProjectCategoryView StatusLast Update
0016635ScribusFontspublic2021-09-19 12:03
Reporterskinkie Assigned Tojghali  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version1.5.7 
Fixed in Version1.5.8.svn 
Summary0016635: Harfbuzz 3.0 breaks compilation
DescriptionFiles/scribus.dir/fonts/sfnt.cpp.o -c /var/tmp/portage/app-office/scribus-1.5.7/work/scribus-1.5.7/scribus/fonts/sfnt.cpp
/var/tmp/portage/app-office/scribus-1.5.7/work/scribus-1.5.7/scribus/fonts/sfnt.cpp: In function 'QByteArray sfnt::subsetFaceWithHB(const QByteArray&, QList<unsigned int>, int, QMap<unsigned int, unsigned int>&)':
/var/tmp/portage/app-office/scribus-1.5.7/work/scribus-1.5.7/scribus/fonts/sfnt.cpp:1260:17: error: 'hb_subset_input_set_retain_gids' was not declared in this scope; did you mean 'hb_subset_input_set_flags'?
 1260 | hb_subset_input_set_retain_gids(hbSubsetInput.get(), true);
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      | hb_subset_input_set_flags
/var/tmp/portage/app-office/scribus-1.5.7/work/scribus-1.5.7/scribus/fonts/sfnt.cpp:1261:17: error: 'hb_subset_input_set_drop_hints' was not declared in this scope; did you mean 'hb_subset_input_set_user_data'?
 1261 | hb_subset_input_set_drop_hints(hbSubsetInput.get(), false);
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      | hb_subset_input_set_user_data
/var/tmp/portage/app-office/scribus-1.5.7/work/scribus-1.5.7/scribus/fonts/sfnt.cpp:1263:17: error: 'hb_subset_input_set_name_legacy' was not declared in this scope; did you mean 'hb_subset_input_set_user_data'?
 1263 | hb_subset_input_set_name_legacy(hbSubsetInput.get(), true);
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      | hb_subset_input_set_user_data
/var/tmp/portage/app-office/scribus-1.5.7/work/scribus-1.5.7/scribus/fonts/sfnt.cpp:1266:71: error: 'hb_subset' was not declared in this scope; did you mean 'hb_set_set'?
 1266 | QScopedPointer<hb_face_t, HbFaceDeleter> hbSubsetFace(hb_subset(hbFullFace.get(), hbSubsetInput.get()));
      | ^~~~~~~~~
      | hb_set_set
TagsNo tags attached.
PatchNo

Activities

jghali

2021-09-19 12:01

administrator   ~0049248

Last edited: 2021-09-19 12:01

You will need latest trunk code. Trunk had already fixes to prepare for 3.0. I just replaced the hb_subset call by hb_subset_or_fail.

skinkie

2021-09-19 12:03

reporter   ~0049249

Thanks for this quick action!

Issue History

Date Modified Username Field Change
2021-09-18 20:06 skinkie New Issue
2021-09-19 12:01 jghali Assigned To => jghali
2021-09-19 12:01 jghali Status new => resolved
2021-09-19 12:01 jghali Resolution open => fixed
2021-09-19 12:01 jghali Fixed in Version => 1.5.8.svn
2021-09-19 12:01 jghali Note Added: 0049248
2021-09-19 12:01 jghali Note Edited: 0049248
2021-09-19 12:02 jghali Summary harfbuzz-3 breaks compilation => Harfbuzz 3.0 breaks compilation
2021-09-19 12:03 skinkie Note Added: 0049249