* Re: [gentoo-user] Open Office 2.0.4 and fonts
@ 2007-02-08 4:46 99% ` Vladimir G. Ivanovic
0 siblings, 0 replies; 1+ results
From: Vladimir G. Ivanovic @ 2007-02-08 4:46 UTC (permalink / raw
To: gentoo-user
Adrian wrote:
> Greetings;
>
> I just upgraded Open Office from 2.0.3 to 2.0.4 (yes, I'm behind).
>
> Now, I can't use any of the fonts other than the ones which come with
> Open Office. All my existing fonts which I added were being substituted
> with other fonts.
Have you tried deleting ~/ooo-2.0/user/psprint/pspfontcache and then
restarting OOO?
It's been a while since I fooled around with OOO fonts, so my memory
is fuzzy. I seem to have convinced OOO to pick up 2745 fonts, judging
from the length of pspfontcache. (More than ~3000 fonts and the
startup times become unbearably long.)
I converted all my OpenType fonts to TrueType with the following script:
#! /bin/env fontforge
# Quick and dirty hack: converts a font to truetype (.ttf), works only
# with one font.
# Use in a bash loop like this:
# for font in *.otf ; do
# fontforge -script otf2ttf $font
# done
#
Print("Opening "+$1);
Open($1);
Print("Saving "+$1:r+".ttf");
Generate($1:r+".ttf");
Quit(0);
I believe that this script works with Type 1 (PostScript) fonts as
well, despite what the comments say. (You'll have to change bash loop,
though to pick up *.pfb or *.pfa??? files.)
Hope this helps...
--- Vladimir
media-gfx/fontforge
Available versions: 20050502 (~)20050624 (~)20060406
(~)20060408 (~)20060703 20060703-r1 (~)20060822 (~)20061014
(~)20061014-r1 (~)20061025 (~)20061220
Installed versions: Version: 20061220
Date: 01:16:42 12/26/06
USE: X gif jpeg png svg -tiff truetype
unicode
Best versions/slot: (~)20061220
Homepage: http://fontforge.sourceforge.net/
Description: postscript font editor and converter
License: BSD
--
Vladimir G. Ivanovic
+1 650 678 8014
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2007-02-06 22:14 [gentoo-user] Open Office 2.0.4 and fonts Adrian
2007-02-08 4:46 99% ` Vladimir G. Ivanovic
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox