public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Open Office 2.0.4 and fonts
@ 2007-02-06 22:14 Adrian
  2007-02-08  4:46 ` Vladimir G. Ivanovic
  0 siblings, 1 reply; 3+ messages in thread
From: Adrian @ 2007-02-06 22:14 UTC (permalink / raw
  To: gentoo-user


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



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] Open Office 2.0.4 and fonts
  2007-02-06 22:14 [gentoo-user] Open Office 2.0.4 and fonts Adrian
@ 2007-02-08  4:46 ` Vladimir G. Ivanovic
  2007-02-10 21:42   ` Adrian
  0 siblings, 1 reply; 3+ messages in thread
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	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] Open Office 2.0.4 and fonts
  2007-02-08  4:46 ` Vladimir G. Ivanovic
@ 2007-02-10 21:42   ` Adrian
  0 siblings, 0 replies; 3+ messages in thread
From: Adrian @ 2007-02-10 21:42 UTC (permalink / raw
  To: gentoo-user

On Wed, 07 Feb 2007 20:46:04 -0800
"Vladimir G. Ivanovic" <vgivanovic@comcast.net> 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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-02-10 21:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-06 22:14 [gentoo-user] Open Office 2.0.4 and fonts Adrian
2007-02-08  4:46 ` Vladimir G. Ivanovic
2007-02-10 21:42   ` Adrian

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox