Re: Gnome build of 0.9.4.1 only prints in Charter


Subject: Re: Gnome build of 0.9.4.1 only prints in Charter
From: Mark A. Garland (magarland@nettally.com)
Date: Sat Dec 08 2001 - 20:45:49 CST


Okay, in case anyone ever has this problem, I solved it by Google
searching and RTFMs in the /usr/share/doc/libgnomeprint-data
directory.

The Gnome build of AbiWord uses gnome-print for printing and print
preview. Gnome-print must be able to find standard Postscript font
names like Helvetica, Times, Courier, using XML files called fontmaps.
However, it does not recognize the Abiword font names as standard
Postscript names.

The file /usr/share/fonts/adobe-urw.font, installed by gnome-print,
maps URW fonts (like Nimbus Roman, Nimbus Sans), installed on my
system as part of the Ghostscript package, to corresponding Adobe
Postscript font names (like Times, Helvetica), but gnome-print has to
be told to use this alias file. This hadn't been done on my
system. (The Debian libgnomeprint packages don't do
it during installation. Why not? Dunno.)

So I did, as root:

gnome-font-install --clean --recursive --static \
--target=/usr/share/gnome/fonts/gnome-print.fontmap \
--aliases=/usr/share/fonts/adobe-urw.font \
/usr/share/fonts /usr/X11R6/lib/X11/fonts

This created a fontmap file with pointers to the Ghostscript
fonts and got the Gnome-enabled build of AbiWord 0.9.4.1 to (1)
display the basic AbiWord fonts correctly in print preview and (2)
print them.

Apologies for the basic level of this post.

Mark Garland
Tallahassee, Florida
U.S.A.

On Tue, Nov 13, 2001 at 02:08:15AM -0500, mark wrote:
> I'm running Debian testing ("Woody") with XFree86 4.1 and (non-Ximian)
> Gnome 1.4. I downloaded the AbiWord 0.9.4.1 tar file today and
> compiled it both with Gnome support (ABI_OPT_GNOME=1) and without,
> following the directions on the download page.
>
> The build with Gnome support prints all files in the Bitstream
> Charter font. Files display with proper fonts, but print (either to a
> printer or to PDF) in Bitstream Charter with peculiar letter
> spacing. (The print preview also clearly shows the document as being
> in badly spaced Bitstream Charter, too.) I'm using the default
> AbiWord Type 1 fonts only.
>
> The build without Gnome support prints these same files properly,
> using the correct fonts.
>
> I guessed this might be a gnome-print problem, but as an ignorant user
> I haven't been able to remedy the situation. I played around with
> "gnome-font-install" and created a gnome-print.fontmap file
> in /usr/share/gnome/fonts that listed the AbiWord fonts, but this
> didn't change anything. I have gnome-print 0.31.
>
> Any suggestions? The non-Gnome build is fine, but I like the
> print preview and pdf capabilities of the Gnome version.
>
> Mark Garland
> Tallahassee, Florida
> U.S.A.

-----------------------------------------------
To unsubscribe from this list, send a message to
abiword-user-request@abisource.com with the word
unsubscribe in the message body.



This archive was generated by hypermail 2b25 : Sat Dec 08 2001 - 20:45:59 CST