Hi Wayne, hi Christof,

you seem to have font related problems and I'd like to help. I need much more background info though:

I guess you are talking about Office on Solaris? Can you confirm this? Is this a recent version of Office? If it is recent enough the deeper integration with libfontconfig comes into play. What version of Solaris are we talking about? If the libfontconfig there is too old some functionality has to be disabled to prevent crashes. If libfontconfig font substitution comes into play the result of the fc-match command is interesting.

Anyway, I strongly recommend against using "Tools -> Options -> StarOffice -> Fonts". It is just there for backward compatibility. One of the reasons why it is obsolete are the per-entry-checkboxes "replace always" and "replace screen-only". I don't know whoever invented this completely illogical and thus almost unmaintainable functionality. The sooner I can get rid of it the better.

Christof Pintaske wrote:
Hello Wayne,

W. Wayne Liauh wrote:
[...]
(2) > what is sans in your configuration? there is probably
a broken font in this alias.

I didn't change anything to the sans config; everything is from the
default.  The pertinent portion of the /etc/fonts/font.conf file
relating to sans/sans-serif is pasted below:

<!-- Sans-serif faces --> <alias> <family>Arial</family> <family>DejaVu Sans</family> <family>Bitstream Vera Sans</family> <family>Helvetica</family> <family>Arial</family> <family>Verdana</family> <family>Albany AMT</family> <family>Nimbus Sans L</family> <family>Luxi Sans</family> <family>HG-PGothicB-Sun</family> <family>HG-GothicB-Sun</family> <family>FZSongTi</family> <family>FZMingTi</family> <family>KacstQurn</family> <family>SunDotum</family> <family>AR PL KaitiM GB</family> <family>AR PL KaitiM Big5</family> <family>MS ゴ シック </family> <family>Baekmuk Dotum</family> <family>SimSun</family> <family>FreeSans</family> <default><family>sans-serif</family></default> </alias>

Do you see anything there that might have caused the problem?

nope, looks innocent. Does it work ok if you remove all fonts from the list that precede FZSongTi ? If that's the case you can probably find the culprit by try and error (removing half of the fonts and see if the problem persists ...).

An alternate approach to achieve the same thing is to use the font replacement trick described below for these fonts (Replace all Arial, DejaVu, Helvetica, ... with FZSongti). That way you don't need to edit the file back and forth but just need to check on and off the replacements (and restart SO in between).

My wild guess would be: HG-PGothicB-Sun and HG-GothicB-Sun


(3) > > Is there any way to specify Application font only
for StarOffice or
OpenOffice.org?  Thanks.
go to "Tools -> Options -> StarOffice -> View", Uncheck "Use system
font for user interface".

That way StarOffice will use the fonts specified in share/registry/data/org/openoffice/VCL.xcu, from the section
UI_SANS. You can add your preferred font there. In case you are not
using the English version you need to find your language in the list, search for oor:name="ja" for example for Japanese. Again you need to get the UI_SANS section.

An alternative popular trick is to override "Andale Sans UI" in
"Tools -> Options -> StarOffice -> Fonts". Check "Apply replacement
table", Fill in "Andale Sans UI" into "Font" and "FZMingTi" into
"Replace with". Click on the green Checkmark and then "Screen only"
 in the list. Please note that "Andale Sans UI" does not need to
exist on your system. It's just the first entry in the VCL.xcu
mentioned above.


I used the second approach, and now the garbling problem is solved.
However, as I mentioned in my original post, this also caused the
English fonts to look ugly.  But at least it is now limited to
StarOffice/OpenOffice.org .

(4)  > Of course you can also make your life easier by using
StarSuite instead of StarOffice.


As I mentioned in separate threads, the same problem was observed in
StarSuite.

In StarSuite it should be able to fix the problem by simply unchecking the "Use system font ..."


I have been gawking about this issue in this forum for probably more
than half a dozen times.  However, again, I think many will not argue
with me that the OpenOffice.org family of office suites are an
integral part of a Solaris desktop.  I have always been wondering
whether I am the only person on earth who is using
StarOffice/StarSuite/OpenOffice.org to create formatted
Chinese-languaged documents on Solaris Express.  If so, I am really
going to be royally pissed.  :-(

StarOffice may be an integral part of Solaris, however it's basically a standalone product. And even a complex one. It's unfortunately very likely that nobody here on the list has the knowhow to answer your question when it comes to OpenOffice.org problems.

I keep my fingers crossed

best regards
Christof

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to