On Tue, Mar 15, 2005 at 09:49:48PM +0000, Viv Kendon wrote:
> 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
> >>
> >>
> 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...
> 

This works for me too! :)
(but not for all fonts)

I created a .fonts dir and populated it with symlinks using:
$ mkdir .fonts
$  for i in /sw/lib/X11/fonts/applettf/*; do ln -s $i . ; done

This has created 128 links.
I didn't even have to relaunch X11, I just quit mozilla and started it
again. It took a very long time to launch, compared to usual, and now
some fonts, but not all, display bold correctly.
I didn't do an extensive check, but I can say that Courier New and 
Helevetica Neue work, while Helvetica and Times New Roman don't.

I can't see any relation between the fonts that work and not and the
content of my .fonts directory.
If anyone is interested, I can do an extensive check to see which
fonts work and which don't.

A huge thanks to everybody who helped solve this!

Cheers,
Clemence



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