[Bug 256969] x11-fonts/fontconfig: 49-sansserif.conf doesn't work with fontconfig 2.13.93
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 04 Jul 2021 09:56:04 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256969 Bug ID: 256969 Summary: x11-fonts/fontconfig: 49-sansserif.conf doesn't work with fontconfig 2.13.93 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: desktop@FreeBSD.org Reporter: lantw44@gmail.com Assignee: desktop@FreeBSD.org Flags: maintainer-feedback?(desktop@FreeBSD.org) Created attachment 226209 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=226209&action=edit Fix 49-sansserif.conf for fontconfig 2.13.93 After updating fontconfig 2.13.93, the configuration file '49-sansserif.conf' shipped with fontconfig itself stops working. This means if some glyphs cannot be found in the given font, fontconfig will pick fallback fonts randomly instead of honoring what the user sets as sans-serif. For example, I set sans-serif to 'Noto Sans CJK TC', but it is not guaranteed that I will see 'Noto Sans CJK TC' when fontconfig needs a fallback font. It sometimes picks 'Noto Sans CJK SC', 'Noto Sans CJK HK' and 'Noto Sans CJK KR' as fallback fonts for glyphs which are also supported by 'Noto Sans CJK TC'. https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/267 We can fix the issue by applying this upstream patch. https://gitlab.freedesktop.org/fontconfig/fontconfig/-/merge_requests/142 -- You are receiving this mail because: You are the assignee for the bug.