On Tue, 15 Mar 2005, Robert Wyatt wrote:

Clemence Magnien wrote:
On Mon, Mar 14, 2005 at 07:30:49PM -0500, Kevin Horton wrote:

A message today about messed up fonts in X11 prompted me to do an experiment.

The original poster reported that his font display was improved by renaming the .fonts/ directory that was in his home directory. I tried renaming it, then launching X11. I could see no difference. So, I quit X11, then moved the directory back to .fonts. I started X11, and now I have bold fonts in Mozilla and Firefox. I tried several different fonts, and the bold worked for all of them, but I did not do an exhaustive test. However I am quite certain that some fonts that would not display in bold now work properly. YMMV.

Kevin Horton


Wow, this is great!

I had tried the same trick of removing the .fonts directory when I
read this same post on the mailing list too. Unfortunately I do not
have a .fonts directory, I only have a .fonts.cache-1 file in my
home directory.
The operation you described does not work for me. Moreover, whatever
I do with this file (remove it or replacing it with an empty file),
it winds up being created again with the exact same content whenever
I lauch X11 (I use Apple's X11).

Would it be possible for you to post the content of your .fonts directory
somewhere, so I could try using the same files you have?

Clemence

Well, if a user moving or renaming it makes a difference and it is installed by some other automated process, then (to me) it sounds like there may be a permissions/ownership issue going on.

It isn't a permissions issue, it really is the contents of the .fonts dir that do the trick. I have gotten it to work on two different macs. On the second mac I didn't have a .fonts dir so I created an empty one. That made no difference. So I copied over the one from the other mac, and it worked.


This is a few lines of what is in there:

0 lrwxr-xr-x 1 viv staff 38 Feb 6 00:18 Papyrus.ttf -> /sw/lib/X11/fonts/applettf/Papyrus.ttf
0 lrwxr-xr-x 1 viv staff 42 Feb 6 00:18 SkiaRegular.ttf -> /sw/lib/X11/fonts/applettf/SkiaRegular.ttf
0 lrwxr-xr-x 1 viv staff 37 Feb 6 00:18 Symbol.ttf -> /sw/lib/X11/fonts/applettf/Symbol.ttf
0 lrwxr-xr-x 1 viv staff 40 Feb 6 00:18 TimesBold.ttf -> /sw/lib/X11/fonts/applettf/TimesBold.ttf


(and many more, about 76 in total don't want to clog up the list). The symlinks on the original mac are at least as old as 7 May 2004. That may be the date I installed 10.3, or it may be the date my home dir moved to a new network disk, I can't remember.

When I started X after adding this dir to the second mac it took a little longer than usual, and the .fonts.chache-1 has grown a bit larger. When I then started mozilla it definitely took a lot longer than usual. What it was doing is adding those fonts to its font list (the one you find when you go to the font area of preferences and use the picking list to change one of them). Only, it did already have all of them listed, so now it has them listed twice! Actually, I think .fonts.cache-1 has the fonts listed twice now too...

So...I don't have all the answers, but I have a lot of clues. Some fink package must have caused that .fonts dir to be created and populated with simlinks. I don't think it is a current version of any package I have installed, since I have the same font-related packages installed on both macs, and the one has it and the other doesn't.

I also don't know what triggers mozilla to rebuild that list of fonts it is aware of, or, where it keeps that list, or, how it relates to how X keeps track of its fonts. I do recall having a lot of trouble getting mozilla to find any fonts at all in the past, so some "feature" of the way in which mozilla does this may be part of the story.

I'm running Xorg BTW, a more or less up to date unstable fink and the following font related packages:

fink list font | grep "^ i"
i applesystemfonts 1.0-17 Make Apple system fonts available to X11R6
i ec-fonts-mftraced 1.0.9-1 Sauter EC PostScript Type1 Fonts
i ghostscript-fonts 8.11-2 Standard fonts for Ghostscript
i gimp-freefonts 0.10-2 Freeware scalable X11 fonts
i gimp-sharefonts 0.10-2 Shareware scalable X11 fonts
i latex-xft-fonts 0.1-11 TTF math fonts for lyx and latex
i msttcorefonts 1.2-12 Microsoft's TrueType core fonts for the web
i x-ghostscript-fonts 20020206-3 Allows ghostscript fonts to be used within X-windows
i xfontpath 0.4-12 X font path manager for fink


cheers,
-- V i applesystemfonts 1.0-17 Make Apple system fonts available to X11R6
i ec-fonts-mftraced 1.0.9-1 Sauter EC PostScript Type1 Fonts
i ghostscript-fonts 8.11-2 Standard fonts for Ghostscript
i gimp-freefonts 0.10-2 Freeware scalable X11 fonts
i gimp-sharefonts 0.10-2 Shareware scalable X11 fonts
i latex-xft-fonts 0.1-11 TTF math fonts for lyx and latex
i msttcorefonts 1.2-12 Microsoft's TrueType core fonts for the web
i x-ghostscript-fonts 20020206-3 Allows ghostscript fonts to be used within X-windows
i xfontpath 0.4-12 X font path manager for fink



cheers, -- Viv ------------------------------------------------ Dr Viv Kendon [EMAIL PROTECTED] Quantum Information tel: 0113 343 3897 Physics & Astronomy University of Leeds


------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Fink-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to