Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 04 Jul 2021 09:56:04 +0000
From:      bugzilla-noreply@freebsd.org
To:        desktop@FreeBSD.org
Subject:   [Bug 256969] x11-fonts/fontconfig: 49-sansserif.conf doesn't work with fontconfig 2.13.93
Message-ID:  <bug-256969-39348@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D256969

            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=3D226209&action=
=3Dedit
Fix 49-sansserif.conf for fontconfig 2.13.93

After updating fontconfig 2.13.93, the configuration file '49-sansserif.con=
f'
shipped with fontconfig itself stops working. This means if some glyphs can=
not
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 guarante=
ed
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 K=
R'
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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-256969-39348>