[te@matematik.su.se: Can't access http://bugzilla.abisource.com/ + bug with solution]


Subject: [te@matematik.su.se: Can't access http://bugzilla.abisource.com/ + bug with solution]
From: Sam TH (sam@uchicago.edu)
Date: Sat Sep 01 2001 - 08:14:59 CDT


           
sam th --- sam@uchicago.edu --- http://www.abisource.com/~sam/
OpenPGP Key: CABD33FC --- http://samth.dyndns.org/key
DeCSS: http://samth.dynds.org/decss

attached mail follows:


Hi,

I can't access http://bugzilla.abisource.com/ . I have to wait minutes for
responces from the server.

Therefore I mail you a bug report including a solution to that problem.

Product: abiword-gtk-RH7.1-0.9.2-1.i386.rpm
Platform: RedHat 7.1 Linux 2.4.3-12 i686

Problem: When running "/usr/bin/abiword" i get a popup-windows complaining
about missing fonts. When clicking "ok" AbiWord closes down.

The problem is in the /usr/bin/abiword wrapper. This line generates the
error:

$ xset fp+ /usr/share/AbiSuite/fonts
X Error of failed request: 86
  Major opcode of failed request: 51 (X_SetFontPath)
  Serial number of failed request: 9
  Current serial number in output stream: 11

Solution:

Add the line "/usr/share/AbiSuite/fonts" to /etc/X11/fs/config in
"catalogue = ".

Restart xfs:
# service xfs restart

Comment out the "xset"-line in /usr/bin/abiword :

# diff /usr/bin/abiword /usr/bin/abiword.orig
48,51c48,51
< #if [ -d $ABISUITE_FONT_HOME ]
< #then
< # xset fp+ $ABISUITE_FONT_PATH 1>/dev/null 2>/dev/null
< #fi

---
> if [ -d $ABISUITE_FONT_HOME ]
> then
>     xset fp+ $ABISUITE_FONT_PATH 1>/dev/null 2>/dev/null
> fi

Now there are no problems to run AbiWord.

Best regards,

Tomas Ericsson te@matematik.su.se




This archive was generated by hypermail 2b25 : Sat Sep 01 2001 - 08:15:00 CDT