[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 02:51:48 UTC 2016


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

--- Comment #2 from gm at lyx.org ---
> > == Issues: ==
> > 
> > * The gnome font selector (for instance in the preferences of gedit) shows
> > all the fonts, but they all display the same as Arno Pro Caption, i.e. if
> > one chooses Arno Pro Regular one gets Arno Pro Caption instead.
> 
> I can't say off hand but if "fc-match 'Arno Pro Regular'" returns it as is,
> maybe fontconfig decided it isn't a best font for the certain pattern. I
> can't say more without logs containing what applications actually requested.

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?


> 
> > * Inkscape only lists Arno Pro as a family. One can enter "Arno Pro Display"
> > (and Caption, etc.) by hand, however this produces strange results: the
> > metrics of Arno Pro Display are used, but the glyphs from the initial font
> > are used. I noticed it used to work better in older versions of Inkscape
> > (from Ubuntu 11.04, if my memory serves well).
> 
> That should be the inkscape issue.

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


> 
> >   This is the relevant fontconfig debug output when requesting "Arno Pro" in
> > weight 50 with QFont in lyx:
> > 
> > '''
> > FC_DEBUG=3:
> 
> Well, I can't figure out if that really explain what you say because
> FC_DEBUG=3 doesn't show the original request and hard to estimate it from
> the debugging log, but that looks like lyx doesn't request weight=50 really.
> try FC_DEBUG=4 or =7 instead.

I should have mentioned that the weight in Qt is between 0 and 99 and
50 corresponds (correctly) to 80 in fontconfig. How do I figure out
what is the original request using FC_DEBUG 4 or 7?

-- 
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/587764fb/attachment.html>


More information about the Fontconfig-bugs mailing list