Not sure exactly why this fixed things, but I thought I'd mention it here in 
case someone else was having the same drama.

HISTORY:
No matter what user or Xserver I used (local/remote) any open-office program 
would result in an "Aborted" message.  Stack traces didn't reveal anything 
that made sense, but it WAS a hard error and happened every time.

However, running /usr/lib/openoffice/program/soffice would bring up OOwriter 
where otherwise it would fail using the /usr/bin/openoffice wrapper.  So it 
seemed there was a bug in /usr/bin/openoffice.  Good thing that the 
/usr/bin/oo* wrapper is well documented! - kudos to the packaging peoples!!

THE FIX:
Anyway I wont bore you with the details, but it seems there was a mis-match 
with the font paths specified in /etc/X11/XF86config-4 and 
/usr/bin/openoffice setting the fonts for OOo.  Specifically this section 
from "/usr/bin/openoffice":

# Default font path.  This is used if SAL_FONTPATH_USER is not defined.
DEBOO_FONTPATH="/usr/lib/X11/fonts/misc/;/usr/lib/X11/fonts/cyrillic/;\
/usr/lib/X11/fonts/100dpi/:unscaled;/usr/lib/X11/fonts/75dpi/:unscaled;\
/usr/lib/X11/fonts/Type1/;/usr/lib/X11/fonts/CID;/usr/lib/X11/fonts/Speedo/;\
/usr/lib/X11/fonts/100dpi/;/usr/lib/X11/fonts/75dpi/;\
/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType;\
/usr/lib/X11/fonts/TrueType;\
/usr/share/fonts/truetype/kochi;\
/usr/lib/X11/fonts/TrueType/larabie-straight;\
/usr/lib/X11/fonts/TrueType/larabie-uncommon"

SAL_FONTPATH_USER=${SAL_FONTPATH_USER:-"$DEBOO_FONTPATH"}
export SAL_FONTPATH_USER

See the line with "/usr/lib/X11/fonts/TrueType"?  Well I have (had) the 
non-symlinked paths in XF86config, ie "/usr/X11R6/lib/X11/fonts/TrueType"!  
I did a bit of confirmation using "xset +fp ..." and "xset fp rehash" etc.  
Once I had the X font path and the /usr/bin/openoffice font paths in sync 
-BINGO!!  I could launch with "oowriter" from an xterm or using the menu 
items in KDE.

I edited /usr/X11/XF86config-4 so the font paths used the symlinked 
/usr/lib/X11/fonts/???? to match the OOo wrapper (/usr/bin/openoffice) and 
did a reboot (I use KDM so wanted to make sure it wasn't going to choke on 
reboot).  After everything came back up (phew!) all my OpenOffice packages 
worked again!! YAY!!  Both command line and menu options are working.

Hope this helps someone :P

Cheers,

James
__________________________

A random quote of nothing:

Perilous to all of us are the devices of an art deeper than we ourselves
possess.
                -- Gandalf the Grey [J.R.R. Tolkien, "Lord of the Rings"]

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to