Bug 64784 - Problem w/ Abiword package and non-default fonts
Summary: Problem w/ Abiword package and non-default fonts
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: abiword
Version: 7.3
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact: Aaron Brown
URL: N/A
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-05-10 21:27 UTC by Travis Saling
Modified: 2007-04-18 16:42 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2002-07-08 06:00:06 UTC
Embargoed:


Attachments (Terms of Use)

Description Travis Saling 2002-05-10 21:27:47 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.2.1 (X11; Linux i686; U;) Gecko/20020417

Description of problem:
When Abiword first runs, it looks for certain font files (I believe they are
font metrics files), such as times.afm.  If the file does not exist, Abiword
attempts to run a script that will generate these files from the existing
TrueType file. In the current version of your package (abiword-0.99.5-1) this
won't work for two reasons.

First, the script Abiword calls to build times.afm looks for a program in the
path /usr/share/AbiSuite/bin, when the actual installed path is
/usr/lib/AbiSuite/bin. This was easily resolved by adding a softlink in
/usr/share/AbiSuite.

Second, since only root has write access to Abiword's font directory, execution
will fail unless Abiword is run as root (of course this only needs to be done once).

This is only an issue if a user is replacing the default fonts with something
else that includes its own Times font.


Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Move the original font directory out of the way
2. Make a new font directory
3. Copy (or soft-link) Windows TrueType fonts into this font directory. The
"Times" font needs to be part of the set.
4. Restart XFS (to build fonts.scale and fonts.dir)
5. Run abiword
	

Actual Results:  Abiword reports that times.afm is missing, and it can't get the
font metrics info from the X server. Then it shuts itself down.

Expected Results:  Abiword should run. :-)

More specifically, Abiword is supposed to be able to build times.afm itself.

Additional info:

Comment 1 Jeremy Katz 2002-07-18 04:45:42 UTC
This should be fixed once abiword moves to using Xft for their font backend, but
this isn't planned for the 1.0.x releases.  Until then, adding fonts has to be
done manually by the system administrator.


Note You need to log in before you can comment on or make changes to this bug.