Re: [fontconfig] proportional sans oxygen font not available

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Sun, Aug 23, 2015 at 12:08 PM, Khaled Hosny <khaledhosny@xxxxxxxxx> wrote:
On Sat, Aug 22, 2015 at 10:48:01PM -0400, Felix Miata wrote:
> What's the secret in any version of Fedora (e.g. 22) or openSUSE (e.g.
> Tumbleweed) or *buntu (e.g. 14.10 or 15.04) to getting any "Oxygen"
> (proportional regular sans, not mono, not bold) font to show up anyplace
> except a KDE font configuration or installation panel or KDE's UI? I tried in
> several versions of these three distros on multiple machines, and always
> nothing from fc-match or anything else (helpful from) fontconfig. Trying to
> get a locally installed (non-bold, non-mono sans, by whatever name; either
> via package manager or placing the ttf files in /usr/local/share/fonts/)
> Oxygen ttf font to show up on a web page styled to use Oxygen (sans) never
> makes it happen, always falling back to some other font family.

It looks like the hyphen in the font name is the culprit, so this will
not work:
$ fc-match 'Oxygen-Sans'

But if you escape the hyphen it will work:
$ fc-match 'Oxygen\-Sans'

I don’t know if this is FontConfig bug, but the font is also named
inconsistently:


The hyphen is used for a delimiter to recognize the size and this limitation is only applied to FcNameParse() that those tools relies on. otherwise no need to escape it. that's why it just works on the font configuration etc.
this isn't a bug.

--
Akira TAGOH
_______________________________________________
Fontconfig mailing list
Fontconfig@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/fontconfig

[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux