On 03/29/2008 03:49 AM, NDR(ES) Office wrote:

> 
> Thank you very much  NoOp
> I solved the problem following your advice .........
> 
> 
> Tried the above - 
> fc-cache -f -v 
> it picked up - /usr/share/fonts/(and its
> subdirectories); /usr/share/X11/fonts/; cached these
> /usr/local/share/fonts/ & ~/.fonts/ had no fonts.
> cache succeeded 
> 
> OOo2.4 was still showing incorrect screen fonts - even though thorndale
> font is in both OOo2.4/share/fonts/truetype/ and
> ~/.openoffice.org2/user/fonts/ directories
> (I assume that fonts listed in application directories are not picked up
> by fc-cache)
> 
> Noticed that the system font cache was looking for ~/.font
> I copied the ttf fonts that I use into ~/.fonts

If you place the fonts into ~/.fonts they will be picked up even without
without fc-cache. I do this as well. However, they will only be
available for the username that is logged in and uses that home
directory. You can test this by removing a unique font from ~/.fonts
(one that is not in /usr/shar/fonts), open any application (OOo will
work) and see that the font is no longer available. Then put it back,
reopen OOo and see that it is now available.

If you want to make them system wide for any user that logs into the
system you need to put them in the /usr/share/fonts directory and then
run fc-cache to update the system font caches.

> 
> QUESTION
> why change the way OOo looks for fonts between 2.3 and 2.4?
> Fonts are stored in 
> /opt/openoffice.org2.x/share/fonts/truetype/
> ~/.openoffice.org2/user/fonts/

Don't know. By all rights it should, but in order to do so I think that
you need to run spadmin, add the fonts, and then they should work. For
that reason I've just never bothered with the
~/.openoffice.org2/user/fonts/ directory and instead just put them in
~/.fonts if I am testing a font, and then add the font to
/usr/share/fonts if I want to have it available to any user that logs in.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to