Re: [gentoo-user] Open Office 2.0.4 and fonts

2007-02-10 Thread Adrian
On Wed, 07 Feb 2007 20:46:04 -0800
Vladimir G. Ivanovic [EMAIL PROTECTED] wrote the words:

 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?


I did try that.  No effect.  I removed 2.0.4 and installed
openoffice-bin (2.1) and the fonts work fine with that release.  I
think for the moment I'm going to call that the solution and run with
it.  Thanks for the help.

Adrian



-- 
On The Fly Photography -:- Creation From Chaos

On The Fly Photography:  http://204EastSouth.com
Purchase from On The Fly:  http://204EastSouth.com/OTFStore.htm
The Cynical Libertarian Society:  http://www.204EastSouth.com/cls
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Open Office 2.0.4 and fonts

2007-02-07 Thread Vladimir G. Ivanovic

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



[gentoo-user] Open Office 2.0.4 and fonts

2007-02-06 Thread Adrian

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.  I emptied the directory 

/usr/lib/openoffice/share/fonts/truetype

and tried to reinstall, as root and then as user (using spadmin).  Still
doesn't work.

I tried copying the fonts over manually.  Doesn't work.

I deleted ~/.ooo-2.0.  Doesn't work.

I tried running as root.  Doesn't work.

I tried all of this on my other computer, which I just upgraded as
well.  Doesn't work there either.

I tried searching the bug list and the gentoo forum.  Couldn't find
anything relevant . . . 

My USE flags (on this box at least) are:

 root $  emerge -pv openoffice

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] app-office/openoffice-2.0.4  USE=cairo cups dbus
firefox gnome gstreamer gtk java kde ldap pam -binfilter -branding
-debug -eds -odk -sound -webdav LINGUAS=en_GB en_US -af -ar -be_BY
-bg -bn -bs -ca -cs -cy -da -de -el -en -en_ZA -es -et -fa -fi -fr
-gu_IN -he -hi_IN -hr -hu -it -ja -km -ko -lt -lv -mk -nb -nl -nn -nr
-ns -pa_IN -pl -pt -pt_BR -ru -rw -sh_YU -sk -sl -sr_CS -st -sv -sw_TZ
-th -tn -tr -ts -vi -xh -zh_CN -zh_TW -zu 0 kB 


Yea.  Any suggestions?  Thanks so very much.

Adrian


-- 
On The Fly Photography -:- Creation From Chaos

On The Fly Photography:  http://204EastSouth.com
Purchase from On The Fly:  http://204EastSouth.com/OTFStore.htm
The Cynical Libertarian Society:  http://www.204EastSouth.com/cls
-- 
gentoo-user@gentoo.org mailing list