Usage of "full" version fonts breaks unit tests when using system fonts
Michael Stahl
michael.stahl at allotropia.de
Mon Feb 17 12:02:39 UTC 2025
On 15/02/2025 11:43, Mattia Verga wrote:
> 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
hmm i ran into problems with one of them a while ago, and fixed it in
this way:
https://gerrit.libreoffice.org/c/core/+/171401
> 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...).
More information about the LibreOffice
mailing list