On Mon Jun 22 07:44:18 2026 +0000, Patrick Hibbs wrote:
With wine-11.11 on my Debian system, the value is uninitialized and changes in-between calls to EnumFontFamiliesExA()'s callback function. The result is that the masked off value returned by GetOutlineTextMetricsA() cannot be used to get the font's licensing flag reliably, and apps that depend on it, (for legal reasons), wind up using fonts that they shouldn't or avoid fonts that they should use. On the linked freetype documentation, they also say to use this function instead of relying on that value: ``` Use this function rather than directly reading the fs_type field in the PS_FontInfoRec structure, which is only guaranteed to return the correct results for Type 1 fonts. ``` I'm not saying it shouldn't be fixed if it doesn't work right, but using library function for that seems unnecessary. And I don't think we ever supported Type 1 fonts. This code path is for when you have OS/2 table. Could you link to fonts that fail for you specifically?
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/9480#note_143798