Red Hat Bugzilla – Bug 158923
which font is used for ASCII depends on environment
Last modified: 2007-11-30 17:11:06 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050517 Firefox/0.8 StumbleUpon/1.999 (Debian package 1.0.4-2)
Description of problem:
This happens on zh_CN and zh_TW locale. when I run OOo without $HOME/.openoffice.org2.0 or after running on ja_JP locale say, Times New Roman is a default font for ASCII. but SunBatang becomes a default font after running it on ko_KR locale.
Version-Release number of selected component (if applicable):
openoffice.org-*-1.9.104-2 + test lib.
Steps to Reproduce:
1.rm ~/.openoffice.org2.0 and run oowriter on zh_CN.UTF-8 and type something like ASCII say
2.run oowriter on ko_KR.UTF-8 and type something and quit then. try step 1 again.
3.compare font names.
Actual Results: 1. Times New Roman is used
2. SunBatang is used.
Expected Results: in which case, same font should be used.
It's not "ASCII", but the font for western language. Incorrectly when
korean/japanese is the locale one portion of code is not detecting those as CJK
languages and is setting the *western* language to be korean/japanese which thus
sets the western (ASCII) font to an incorrect CJK font.
Will be fixed in next respin.