Bug with fc-match

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

 



Mike FABIAN <mfabian@xxxxxxx> さんは書きました:

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

>> I'm a bit worried, because both Takashi's patch and what I committed
>> seem to drop |en| from two fonts which *do* have the Euro symbol,
>> Bitstream Charter and Courier 10 Pitch.
>
> No, these fonts definitely do *not* have the Euro symbol.

While checking again whether these fonts have an Euro symbol,
I noticed a bug with fc-match:

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:~$

I.e. there are both outline and bitmap versions of "Bitstream Charter"
available. fc-list works fine, but trying to match the outline
versions with fc-match doesn't work, it always matches the bitmap
versions:

mfabian@magellan:~$ fc-match  "Bitstream Charter:style=Regular:outline=true"
charR12.pcf.gz: "Bitstream Charter" "Regular"
mfabian@magellan:~$ fc-match  "Bitstream Charter:style=Regular:scalable=true"
charR12.pcf.gz: "Bitstream Charter" "Regular"
mfabian@magellan:~$

This worked correctly with fontconfig-2.3.2.20050721:

mike@nozomi:~$ 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/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/charR18.pcf.gz: :outline=False:scalable=False
/usr/X11R6/lib/X11/fonts/URW/bchr.pfa: :outline=True:scalable=True
/usr/X11R6/lib/X11/fonts/75dpi/charR12.pcf.gz: :outline=False:scalable=False
/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
mike@nozomi:~$ fc-match  "Bitstream Charter:style=Regular:scalable=true"
c0648bt_.pfb: "Bitstream Charter" "Regular"
mike@nozomi:~$ fc-match  "Bitstream Charter:style=Regular:outline=true"
c0648bt_.pfb: "Bitstream Charter" "Regular"
mike@nozomi:~$ rpm -q fontconfig
fontconfig-2.3.2.20050721-10.3
mike@nozomi:~$

I.e. it seems to be a bug introduced recently in fontconfig.

Anyway, neither the bitmap nor the outline versions have an Euro symbol.

-- 
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