Keith Packard
2005-Nov-21 08:50 UTC
[Fontconfig] Installed 2.1.94 - dependencies, fails to read win\fonts and local.conf
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@amd1900 Fonts]# fc-cache -v -f /win/ddrive/Winnt/Fonts > fc-cache: "/win/ddrive/Winnt/Fonts": Segmentation faultFreeType 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
sean darcy
2005-Nov-21 08:50 UTC
[Fontconfig] Installed 2.1.94 - dependencies, fails to read win\fonts and local.conf
I''ve installed 2.1.94. Sure makes the new Bitstream fonts look great. Some suggestions - questions: 1. the fontconfig.spec file should have a Requires for freetype-2.1.4. 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. 3. the local.conf that is put there is odd. <fontconfig> <!-- Enable sub-pixel rendering <match target="font"> <test qual="all" name="rgba"> <const>unknown</const> </test> <edit name="rgba" mode="assign"><const>rgb</const></edit> </match> --> </fontconfig> I don''t know much - any - XML, but isn''t it all commented out? Should it be uncommented? Shouldn''t it be in fonts.conf? 4. I have a dual boot machine. i''d like to use all the ttf fonts I have in the windows font directory. But when I run fc-cache I get: [root@amd1900 Fonts]# fc-cache -v . 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? I then tried: [root@amd1900 Fonts]# fc-cache -v -f /win/ddrive/Winnt/Fonts fc-cache: "/win/ddrive/Winnt/Fonts": Segmentation fault Any thoughts? sean _________________________________________________________________ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail