[Fontconfig] Re: Remaining bugs and feature requests before 2.3.94

Mike FABIAN mfabian at suse.de
Tue Feb 21 03:43:09 PST 2006

Mike FABIAN <mfabian at suse.de> さんは書きました:

> Patrick Lam <plam at MIT.EDU> さんは書きました:
>> Patrick Lam wrote:
>>> * fc-cat <dirname> should produce a fonts.cache-1-style listing for the
>>> directory.
>> Ok, I've implemented this feature. I wish I could say where fontconfig
>> was getting this information (e.g. potentially which cache file
>> corresponds to the direcotry), but that would require some more
>> cutting and pasting, and I didn't feel like doing that.  In any case,
>> e.g.
>> fc-cat /usr/share/fonts/truetype/ttf-bitstream-vera
>> should produce the same output as the fonts.cache-1 file in that
>> directory, as generated by old fontconfig.
> Well, it doesn't:
> mfabian at magellan:~$ fc-cat /usr/X11R6/lib/X11/fonts/truetype
> セグメンテーション違反です (core dumped)
> mfabian at magellan:~$ fc-cat /usr/X11R6/lib/X11/fonts/Type1
> セグメンテーション違反です (core dumped)
> mfabian at magellan:~$
> (with today's CVS snapshot).

The attached patch seems to fix it.

See also:


-------------- next part --------------
A non-text attachment was scrubbed...
Name: fc-cat-crash.patch
Type: text/x-patch
Size: 1244 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/fontconfig/attachments/20060221/72a32923/fc-cat-crash.bin
-------------- next part --------------

Mike FABIAN   <mfabian at suse.de>   http://www.suse.de/~mfabian

More information about the Fontconfig mailing list