I tested the openoffice-6.0.41-1mdk rpm last night, and had the 
following issues:

1)None of the drakfont TTF's available
OO.o supports anti-aliased true-type fonts, but the RPM does not support 
that.

According to the OO.o mailing list, OO.o is supposed to check font paths 
using the output of /usr/sbin/chkfontpath or chkfontpath (which 
apparently gives all the xfs font paths under Redhat). This appears not 
to work. (I haven't been able to test this myself)

A work-around is to modify the /usr/lib/openoffice/soffice startup 
script to tell it about more font paths (obviously the chkfontpath 
solution would be preferred). See the attached patch for how to get the 
drakfont ttfs working.

Here is a screenshot after having done this and imported some MS fonts:
http://ranger.dnsalias.com/openoffice_mdk_ttf.png

While trying to test this, I found drakfont had not setup fonts.dir and 
fonts.scale for /usr/lib/X11/fonts/drakfont/ttf. I tried mkttfdir, but 
it segfaulted. mkttfdir -d segfaulted, but only after one pass throught 
the directory (I think).

2)Spell checking is broken
OO.o should support spell-cheching in en_US out the box. Attempting 
spell checking results in all words being marked as incorrectly spelt, 
and the following error message:

Error - could not open dictionary description file
Failure loading dictionary list
Hash Manager Error : 1
Error - could not open affix description file
/home/bgmilne/.openoffice/user/wordbook/en_US.aff
Failure loading aff file /home/bgmilne/.openoffice/user/wordbook/en_US.aff
Error - could not open dictionary description file
Failure loading dictionary list
Error - could not open dictionary description file
Failure loading dictionary list

I believe the files should be copied from 
/usr/lib/openoffice/share/wordbook/english/ to 
~/.openoffice/user/wordbook during setup, but in the rpm, the only files 
supplied are:

[bgmilne bgmilne]$ ls /usr/lib/openoffice/share/wordbook/english/
soffice.dic  sun.dic  th_en_US.dat*  th_en_US.idx*
[bgmilne bgmilne]$

(My windows box has those plus en_US.aff and en_US.dic, the affix file 
and dictionary respectively)

Additional languages (from 
http://whiteboard.openoffice.org/lingucomponent/download_dictionary.html) 
could be supported also

Note that the spell checking affix files and word lists can be converted 
from the ispell format, and will be used in future versions of 
aspell/pspell. For more info see 
http://whiteboard.openoffice.org/lingucomponent/dictionary.html

3)Wrapper script fails if user had used OO.o 641 before

If the user has previously installed OO.o 641, there will be a file 
$HOME/.sversionrc containing something like this:
OpenOffice.0rg 641=file:///<path_to_directory>
This will cause the setup operation to fail, so if the user had 
previously installed to anything but ~/.openoffice (the OO.o default is 
~/OpenOffice.org641), the installation will fail, and 
~/.openoffice/soffice will also obviously fail, so it seems to the user 
it does not work at all.

I have modified the ooffice wrapper script to try and take this into 
account, but it is not working as expected (but at least it will lanuch 
OO.o, however having tried to needlessly run setup) ... see attachment.


Otherwise, it works very well. Some issues introduced with the official 
OO.o build with gcc-3.0.3 have been solved (probably due to using 
gcc-3.0.4), such as the Insert->Frame problem.

If these 3 issues can be addresses, OpenOffice.org and Mandrake 8.2 will 
be a winning combination.

Regards,
Buchan

-- 
|----------------Registered Linux User #182071-----------------|
Buchan Milne                Mechanical Engineer, Network Manager
Cellphone * Work            +27 82 472 2231 * +27 21 8828820x202
Stellenbosch Automotive Engineering         http://www.cae.co.za
GPG Key                       http://ranger.dnsalias.com/gpg.key
--- soffice.orig        Sat Feb 23 07:00:00 2002
+++ soffice     Fri Mar  1 00:22:05 2002
@@ -179,7 +179,8 @@
 
 # misc. environment variables
 SAL_FONTPATH="$sd_fonts/75dpi:unscaled;$sd_fonts/75dpi"
-SAL_FONTPATH_PRIVATE="$sd_fonts/truetype;$sd_fonts/type1;$sd_fonts/serverfonts;$userinst/user/fonts"
+SAL_FONTPATH_PRIVATE="$sd_fonts/truetype;$sd_fonts/type1;$sd_fonts/serverfonts;$userinst/user/fonts;/usr/lib/X11/fonts/drakfont/ttf;/usr/lib/X11/fonts/TTF"
+echo "SAL_FONTPATH_PRIVATE: $SAL_FONTPATH_PRIVATE"
 XPPATH="$sd_inst/share/xp3"
 MOZILLA_FIVE_HOME="$sd_inst/program"
 
#!/bin/sh

# Wrapper script for OpenOffice.org
# Check for existing .sversoinrc, and if it is setup for current version:
if [ -f $HOME/.sversionrc ]; then
  OOFFICE_HOME=$(grep "^OpenOffice.org 641" $HOME/.sversionrc \
  |cut -d'=' -f2|sed -e 's#file://##')
else OOFFICE_HOME=$HOME/.openoffice
fi      

if [ ! -d $OOFFICE_HOME ]; then
  echo "Running setup, office home is $OOFFICE_HOME"
  /usr/lib/openoffice/program/setup -R:/etc/openoffice/autoresponse.conf
fi
exec $HOME/.openoffice/soffice "$@"

Reply via email to