[Fontconfig] Installed 2.1.94 - dependencies, fails to read win\fonts and local.conf

Keith Packard keithp at keithp.com
Sun Apr 20 02:40:19 EST 2003


Around 19 o'clock on Apr 18, "sean darcy" wrote:

> 1. the fontconfig.spec file should have a Requires for freetype-2.1.4.

I've patched the code to run with earlier versions.

> 2. The present spec file overwrites local.conf. I thought local.conf was 
> where we put  system-wide stuff that wouldn't be overwritten like 
> fonts.conf.

Oops.  I've only tested in my environment, can you figure out why this 
happened?  It should test to see if the file already exists before 
installing a new version.

> 3. the local.conf that is put there is odd.

It's supposed to be an example so that people can see how the file is 
structured; the included match/edit rule shouldn't be enabled by default.

> fc-cache: ".": skipping, 240 fonts, 0 dirs
> fc-cache: succeeded
> 
> Which appears to mean it skipped all the fonts. I realize some ( maybe 
> 10-15) are not truetype, but should it skip them all?

Ah.  Misleading comment -- 'skipping' really means that it believes the 
fonts.cache-1 file already contains the correct information about all of 
those fonts.

> [root at amd1900 Fonts]# fc-cache -v -f /win/ddrive/Winnt/Fonts
> fc-cache: "/win/ddrive/Winnt/Fonts": Segmentation fault

FreeType has a bug that causes this crash when looking at .fon fonts.  I've
put a work-around in fontconfig to avoid it.

Thanks for your comments; can you check out the local.conf issue above?

-keith






More information about the Fontconfig mailing list