[Bug 256969] x11-fonts/fontconfig: 49-sansserif.conf doesn't work with fontconfig 2.13.93

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 04 Jul 2021 09:56:04 UTC

            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'.


We can fix the issue by applying this upstream patch.


You are receiving this mail because:
You are the assignee for the bug.