[Fontconfig-bugs] [Bug 105415] fontconfing 2.13 makes bold font when it's not expected to
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Mar 14 09:07:04 UTC 2018
https://bugs.freedesktop.org/show_bug.cgi?id=105415
Ulrich Müller <ulm at gentoo.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ulm at gentoo.org
Resolution|FIXED |---
Status|RESOLVED |REOPENED
--- Comment #14 from Ulrich Müller <ulm at gentoo.org> ---
(In reply to Jan Palus from comment #13)
> Not sure if that's a valid syntax but there's still a slight difference in
> behavior between 2.12.6 and patched 2.13.0:
>
> # 2.12.6
> $ fc-match 'Input Mono Narrow-10:medium'
> InputMonoNarrow-Medium.ttf: "Input Mono Narrow" "Medium"
>
> # 2.13.0
> $ fc-match 'Input Mono Narrow-10:medium'
> InputMonoNarrow-Regular.ttf: "Input Mono Narrow" "Regular"
>
> so "medium" is ignored if not passed explicitly with attribute name
> "weight=medium"
I see this too:
$ fc-match 'Droid Sans-10:bold' # 2.12.6
DroidSans-Bold.ttf: "Droid Sans" "Bold"
$ fc-match 'Droid Sans-10:bold' # 2.13.0 (with or without patch)
DroidSans.ttf: "Droid Sans" "Regular"
User documentation explictly mentions examples like 'Times-12:bold' so I
believe that the above syntax should work.
https://www.freedesktop.org/software/fontconfig/fontconfig-user.html#AEN36
Reopening.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/fontconfig-bugs/attachments/20180314/421d54b9/attachment-0001.html>
More information about the Fontconfig-bugs
mailing list