Re: Bug with fc-match

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

 



Patrick Lam <plam@xxxxxxx> さんは書きました:

> Mike FABIAN wrote:
>> mfabian@magellan:~$ fc-list  "Bitstream Charter:style=Regular" file scalable outline
>> /usr/X11R6/lib/X11/fonts/Type1/c0648bt_.pfb: :outline=True:scalable=True
>> /usr/X11R6/lib/X11/fonts/75dpi/charR18.pcf.gz: :outline=False:scalable=False
>> /usr/X11R6/lib/X11/fonts/75dpi/charR08.pcf.gz: :outline=False:scalable=False
>> /usr/X11R6/lib/X11/fonts/75dpi/charR10.pcf.gz: :outline=False:scalable=False
>> /usr/X11R6/lib/X11/fonts/75dpi/charR12.pcf.gz: :outline=False:scalable=False
>> /usr/share/ghostscript/fonts/bchr.pfa: :outline=True:scalable=True
>> /usr/X11R6/lib/X11/fonts/75dpi/charR14.pcf.gz: :outline=False:scalable=False
>> /usr/X11R6/lib/X11/fonts/75dpi/charR24.pcf.gz: :outline=False:scalable=False
>> mfabian@magellan:~$
>
> Hmm.  I wonder why I only get one font in fc-list on two different systems:
>
> plam@mp:~/hacks/fontconfig$ fc-list/fc-list  "Bitstream
> Charter:style=Regular" file scalable outline
> /usr/X11R6/lib/X11/fonts/Type1/c0648bt_.pfb: :outline=True:scalable=True
>
> Ah, charR12.pcf.gz is called 'Charter' on my system:

Ah, yes. sorry. That difference in the names of the bitmap fonts is
caused by a patch I apply to the freetype2 package in SuSE Linux.

My patch prepends the foundry name plus a space to the family name in
case of bitmap fonts. Without that, there are many fonts just called
"Fixed" which look completely different and which have nothing to do
with each other and when selecting "Fixed" in KDE or Gnome one gets
results which appear rather random, the style changes often if one
changes the size and one cannot select some fonts at all.

With my patch, the fonts are called "Sony Fixed", "Misc Fixed", "ETL
Fixed", ...

Then they can be easily distinguished and the desired fonts can
be selected without problems in KDE and Gnome.

> plam@mp:/etc/fonts$ fc-list  "Charter:style=Regular" file scalable
> outline /usr/X11R6/lib/X11/fonts/100dpi/charR18.pcf.gz:
> :outline=False:scalable=False
> /usr/X11R6/lib/X11/fonts/100dpi/charR08.pcf.gz:
> :outline=False:scalable=False
> /usr/X11R6/lib/X11/fonts/100dpi/charR10.pcf.gz:
> :outline=False:scalable=False
> /usr/X11R6/lib/X11/fonts/100dpi/charR12.pcf.gz:
> :outline=False:scalable=False
> /usr/X11R6/lib/X11/fonts/100dpi/charR14.pcf.gz:
> :outline=False:scalable=False
> /usr/X11R6/lib/X11/fonts/100dpi/charR24.pcf.gz:
> :outline=False:scalable=False
>
> I'll take a look at it.

Thank you.

-- 
Mike FABIAN   <mfabian@xxxxxxx>   http://www.suse.de/~mfabian
睡眠不足はいい仕事の敵だ。

_______________________________________________
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