Bug#895662: libfontconfig1: does not distinguish between bold and non-bold

Sven Joachim svenjoac at gmx.de
Sat Apr 14 09:59:43 BST 2018


Control: forwarded -1 https://bugs.freedesktop.org/show_bug.cgi?id=105415
Control: tags -1 + fixed-upstream patch

On 2018-04-14 10:25 +0200, Sven Joachim wrote:

> Package: libfontconfig1
> Version: 2.13.0-4
> Severity: normal
>
> After upgrading the fontconfig packages from 2.12.6-0.1, my window
> manager (icewm) does no longer show window titles and menus in bold,
> despite being configured to do so.
>
> This is the font which I have specified for window titles:
>
> ,----
> | $ fc-match "DejaVu Sans:size=10:bold"
> | DejaVuSans.ttf: "DejaVu Sans" "Book"
> `----
>
> In 2.12.6, fc-match's output is different:
>
> ,----
> | $ fc-match "DejaVu Sans:size=10:bold"
> | DejaVuSans-Bold.ttf: "DejaVu Sans" "Bold"
> `----
>
> Very likely this is the same problem as
> https://bugs.freedesktop.org/show_bug.cgi?id=105415, although they had
> the opposite problem there, getting a bold font unexpectedly.  I will
> cherry-pick the upstream fixes for that bug and rebuild fontconfig to
> see if they help.

Alright, that worked. :-)  Attached are the two patches I cherry-picked,
taken from upstream commits 198358dd8ff8 and 4699406a6832.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Allow-the-constant-names-in-the-range.patch
Type: text/x-diff
Size: 1558 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-freedesktop-maintainers/attachments/20180414/f8834b53/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-Add-the-value-of-the-constant-name-to-the-implicit-o.patch
Type: text/x-diff
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-freedesktop-maintainers/attachments/20180414/f8834b53/attachment-0001.patch>


More information about the Pkg-freedesktop-maintainers mailing list