[Fontconfig-bugs] [Bug 95428] Subfamilies with different OpenType 'size' should not be merged

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri May 20 03:21:50 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=95428

--- Comment #4 from Akira TAGOH <akira at tagoh.org> ---
(In reply to gm from comment #2)
> I am also curious as to why it always selects the same font for a
> given WWS. I tried to find the request with FC_DEBUG 4 & 7 but I get
> 80MB logs and I could not understand what was going on. What should I
> look for?

You can figure out what the original request is from the logs before evaluating
test/edit patterns like:
FcConfigSubstitute Pattern has 4 elts (size 16)
        family: "Arno Pro"(s)
        style: "Regular"(s)
        lang: "ja"(w)
        prgname: "fc-match"(s)

"(s)" means the strong binding which is explictly added into the pattern
against the request except "prgname". "(w)" is the weak binding. it could be
also added through API but usually that may means *here* it was added by
fontconfig for the certain reason.
Anyway, please make sure it doesn't appear after "FcConfigSubstitute
donePattern has..." line. otherwise that isn't the one what you are looking
for.

> From fontconfig's point of view, inkscape should list "Bold Caption",
> etc. as subfamilies? (for now it only lists WWS subfamilies: "Bold",
> "Semibold", "Italic"...)

As long as they deal with it properly, no. otherwise yes. anyway, I meant how
applications shows the information from fontconfig depends on their code. they
just did so intentionally. it isn't fontconfig fault.

-- 
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/20160520/cecff967/attachment.html>


More information about the Fontconfig-bugs mailing list