Le 11/02/2021 à 18:13, Gregory Pittman a écrit :
I get this message:
/bin/ld: CMakeFiles/scribus.dir/fonts/sfnt.cpp.o: in function `sfnt::subsetFaceWithHB(QByteArray
const&, QList<unsigned int>, int, QMap<unsigned int, unsigned int>&)':
/home/gregp/development/Scribus15x/scribus/fonts/sfnt.cpp:1246: undefined
reference to `hb_subset_input_create_or_fail'
/bin/ld: /home/gregp/development/Scribus15x/scribus/fonts/sfnt.cpp:1247:
undefined reference to `hb_subset_input_glyph_set'
/bin/ld: /home/gregp/development/Scribus15x/scribus/fonts/sfnt.cpp:1254:
undefined reference to `hb_subset_input_set_retain_gids'
/bin/ld: /home/gregp/development/Scribus15x/scribus/fonts/sfnt.cpp:1255:
undefined reference to `hb_subset_input_set_drop_hints'
/bin/ld: /home/gregp/development/Scribus15x/scribus/fonts/sfnt.cpp:1256:
undefined reference to `hb_subset_input_set_name_legacy'
/bin/ld: /home/gregp/development/Scribus15x/scribus/fonts/sfnt.cpp:1258:
undefined reference to `hb_subset'
/bin/ld: CMakeFiles/scribus.dir/fonts/sfnt.cpp.o: in function
`HbSubsetInputDeleter::cleanup(void*)':
/home/gregp/development/Scribus15x/scribus/fonts/sfnt.cpp:45: undefined
reference to `hb_subset_input_destroy'
collect2: error: ld returned 1 exit status
make[2]: *** [scribus/CMakeFiles/scribus.dir/build.make:15188: scribus/scribus]
Error 1
make[1]: *** [CMakeFiles/Makefile2:2463: scribus/CMakeFiles/scribus.dir/all]
Error 2
make: *** [Makefile:171: all] Error 2
Ooops, I didn't realize harfbuzz subsetting functionalities were embedded in a separate
library. As this library was not linked, this cause the linker to exit with an error.
I tried to add the necessary detection code for harfbuzz-subset library in r24469.
Unfortunately I cannot test it in my Linux VMs right now as my current internet connection
does not let me access scribus public svn repository. So I hope my latest changes are
going to work.
Jean
_______________________________________________
scribus-dev mailing list
[email protected]
http://lists.scribus.net/mailman/listinfo/scribus-dev