From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1HF1FB-0000Qn-ON for garchives@archives.gentoo.org; Thu, 08 Feb 2007 04:50:50 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l184nZel020117; Thu, 8 Feb 2007 04:49:35 GMT Received: from alnrmhc13.comcast.net (alnrmhc13.comcast.net [204.127.225.93]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l184jO60015473 for ; Thu, 8 Feb 2007 04:45:25 GMT Received: from [192.168.18.11] (c-71-202-97-79.hsd1.ca.comcast.net[71.202.97.79]) by comcast.net (alnrmhc13) with ESMTP id <20070208044523b1300a22a4e>; Thu, 8 Feb 2007 04:45:23 +0000 Message-ID: <45CAAB0C.6080709@comcast.net> Date: Wed, 07 Feb 2007 20:46:04 -0800 From: "Vladimir G. Ivanovic" User-Agent: Thunderbird 1.5.0.9 (X11/20061226) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Open Office 2.0.4 and fonts References: <20070206151458.18bd0479@gentoo-01> In-Reply-To: <20070206151458.18bd0479@gentoo-01> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 4ba51d24-0fc1-4e36-b32a-2706c7669be0 X-Archives-Hash: a81db9bdbabfd5ba63d65e465f33d577 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