Title: abiword-0.99.3: font path problem on hp-ux 11.x

Hi,

fontpath problem at abiword startup

if I set the debug flag (ABI_OPT_DEBUG=1), the following message is shown at startup:
...
DEBUG: XDisplay [prounix:0.0], current X font path count 17, AW path count 1, subdircount 5
DEBUG: found non-directory entry in existing fontpath [tcp/:7000]

Window pops up with the message: Abiword was not able to add its fonts to the X font path ....

DEBUG: File says 68 fonts should follow...
DEBUG: Read 68 fonts from directory [/usr/local/AbiSuite/fonts/].
DEBUG: Cannot open [/usr/local/AbiSuite/fonts/de/fonts.dir] to read fonts list.
DEBUG: Cannot open [/usr/local/AbiSuite/fonts/iso88591/fonts.dir] to read fonts list.
DEBUG: Cannot open [/usr/local/AbiSuite/fonts/de-DE/fonts.dir] to read fonts list.
DEBUG: Cannot open [/usr/local/AbiSuite/fonts/de-DE.iso88591/fonts.dir] to read fonts list.
...


these directories and files are missing:
               /usr/local/AbiSuite/fonts/de
               /usr/local/AbiSuite/fonts/iso88591/fonts.dir
               /usr/local/AbiSuite/fonts/de-DE/fonts.dir
               /usr/local/AbiSuite/fonts/de-DE.iso88591/fonts.dir

and I think that in each fontpath a file fonts.dir must exist.


entry in:
#/etc/X11/fs/config:

# font server configuration file
# $XConsortium: config.cpp,v 1.7 91/08/22 11:39:59 rws Exp $

rasterizers = /usr/lib/X11/fs/ufstrast.sl,/usr/lib/X11/fs/iforast.sl,/usr/lib/X11/fs/fwrast.sl

clone-self = on
use-syslog = on
catalogue = /usr/lib/X11/fonts/ttf.st,/usr/lib/X11/fonts/ifo.st,/usr/lib/X11/fonts/type1.st,/usr/lib
/X11/fonts/hp_roman8/75dpi/,/usr/lib/X11/fonts/iso_8859.1/100dpi/,/usr/lib/X11/fonts/iso_8859.1/75dp
i/,/usr/lib/X11/fonts/hp_kana8/,/usr/lib/X11/fonts/hp_japanese/100dpi/,/usr/lib/X11/fonts/hp_japanes
e/75dpi/,/usr/lib/X11/fonts/hp_korean/75dpi/,/usr/lib/X11/fonts/hp_chinese_s/75dpi/,/usr/lib/X11/fon
ts/hp_chinese_t/75dpi/,/usr/lib/X11/fonts/iso_8859.2/75dpi/,/usr/lib/X11/fonts/iso_8859.5/75dpi/,/us
r/lib/X11/fonts/iso_8859.6/75dpi/,/usr/lib/X11/fonts/iso_8859.7/75dpi/,/usr/lib/X11/fonts/iso_8859.8
/75dpi/,/usr/lib/X11/fonts/iso_8859.9/75dpi/,/usr/lib/X11/fonts/fontwave/fwd,/usr/lib/X11/fonts/ifoj
pn.st,/usr/lib/X11/fonts/misc/,/usr/local/AbiSuite/fonts
# in decipoints
default-point-size = 120
default-resolutions = 75,75,100,100

# ll /usr/local/AbiSuite/fonts/fonts.*
-rw-rw-r--   1 root       sys           5251 Mar 25 10:24 /usr/local/AbiSuite/fonts/fonts.dir
-rw-rw-r--   1 root       sys           5467 Mar 25 10:24 /usr/local/AbiSuite/fonts/fonts.scale

# xset fp+ /usr/local/AbiSuite/fonts
xset:  bad font path element (#42), possible causes are:
    Directory does not exist or has wrong permissions
    Directory missing fonts.dir
    Incorrect font server address or syntax


prounix_root:/ # xset fp+ /usr/local/AbiSuite/fonts
xset:  bad font path element (#42), possible causes are:
    Directory does not exist or has wrong permissions
    Directory missing fonts.dir
    Incorrect font server address or syntax


# xset fp rehash
# xset q |grep abi
# xset q
Keyboard Control:
  auto repeat:  on    key click percent:  0    LED mask:  00000000
  auto repeating keys:  fffffff3fbffffff
                        fbfffffff9ffffff
                        ffff8fffffffffff
                        ffffffffffffffff
  bell percent:  50    bell pitch:  400    bell duration:  100
Pointer Control:
  acceleration:  2/1    threshold:  4
Screen Saver:
  prefer blanking:  yes    allow exposures:  yes
  timeout:  600    cycle:  180
Colors:
  default colormap:  0x28    BlackPixel:  0    WhitePixel:  1
DPMS (Display Power Managment Signaling) is Disabled
Font Path:
  tcp/:7000,/usr/lib/X11/fonts/hp_roman8/75dpi/,/usr/lib/X11/fonts/iso_8859.1/100dpi/,/usr/lib/X11/f
onts/iso_8859.1/75dpi/,/usr/lib/X11/fonts/hp_kana8/,/usr/lib/X11/fonts/iso_8859.2/75dpi/,/usr/lib/X1
1/fonts/iso_8859.5/75dpi/,/usr/lib/X11/fonts/iso_8859.6/75dpi/,/usr/lib/X11/fonts/iso_8859.7/75dpi/,
/usr/lib/X11/fonts/iso_8859.8/75dpi/,/usr/lib/X11/fonts/iso_8859.9/75dpi/,/usr/lib/X11/fonts/misc/,/
opt/graphics/PEX5/fonts/usascii/stroke,/opt/graphics/PEX5/fonts/hp_japanese/stroke,/opt/graphics/PEX
5/fonts/ascii/stroke,/usr/dt/config/xfonts/C,/usr/lib/X11/fonts/iso_8859.15/75dpi
Bug Mode: compatibility mode is disabled


# xset fp+ tcp/`hostname`:7000

the abiword font path will not be added by xset

but I don�t know how to solve this.

thanks Martin

Reply via email to