Usage of "full" version fonts breaks unit tests when using system fonts

Mattia Verga libreoffice at sparebit.simplelogin.com
Sat Feb 15 10:43:07 UTC 2025


In Fedora we had to exclude several UnitTests because they break due to 
missing glyphs in fonts.

After some digging, as I understand, LO unit tests are written against 
bundled provided fonts, but some of these are using the "full" version, 
while fonts provided within Linux distributions are built with the 
"hinted" or "unhinted" versions. The full version is made by adding the 
missing glyphs from the base font family, thus they are duplicating 
glyphs with increased size, so it's not something downstream 
distribution want to fix. See 
https://bugzilla.redhat.com/show_bug.cgi?id=2334719#c5

Looking into /external/more_fonts files, these are the fonts using the 
Full version:
ExternalPackage_noto_kufi_arabic.mk
ExternalPackage_noto_naskh_arabic.mk
ExternalPackage_noto_sans.mk
ExternalPackage_noto_sans_armenian.mk
ExternalPackage_noto_sans_georgian.mk
ExternalPackage_noto_sans_hebrew.mk
ExternalPackage_noto_sans_lao.mk
ExternalPackage_noto_sans_lisu.mk
ExternalPackage_noto_serif_armenian.mk
ExternalPackage_noto_serif_georgian.mk
ExternalPackage_noto_serif_hebrew.mk
ExternalPackage_noto_serif_lao.mk

It would be nice if those would be set to use the hinted version, but I 
don't know if the related tests really require the use of the full 
version (can't really understand what the tests are actually testing...).

Mattia





More information about the LibreOffice mailing list