As part of the desktop rebase in 7.6, we need to rebase freetype to the version that is shipped with GNOME 3.28.
there are some functions missing in the new freetype (FTC_Manager_Lookup_Face and FTC_Manager_Lookup_Size). There are also some changes in types FT_Bitmap_ (signed -> unsigned types) and FT_Var_Named_Style_ (new member). The new freetype also misses header ftxf86.h.
Which packages need the new freetype? Maybe we can find another solution.
We're rebasing pango as part of the desktop rebase and that in turn requires new fontconfig (rebase bug: https://bugzilla.redhat.com/show_bug.cgi?id=1576501).
The plan is to rebase fontconfig to the F28 version and the F28 fontconfig package has a dep on freetype 2.8-7. I don't know if it's a hard dep or why exactly it's needed; perhaps it can be avoided. Can you discuss this with the fontconfig people please? Adding tagoh and petersen to CC.
Essentially fontconfig 2.13 requires freetype 2.8.1 though, the necessary fixes was backported in 2.8-6 which is relevant to avar table. hmm, dunno why I set it to 2.8-7 but anyway.
I see. I'll try to make the freetype 2.8 ABI compatible with the 2.4.11 but it means that the "psid" member of FT_Var_Named_Style has to removed. However, it plays some role in the loading of the avar table so I need to check it yet and can not promise anything (I plan to use value 0xFFFF where the psid is used).
It would be good to have some reproducer for the issue with loading of the "avar" table.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.