Issue 19473 - Installation shows squares instead of Chinese characters on Chinese Windows98SE
Summary: Installation shows squares instead of Chinese characters on Chinese Windows98SE
Status: CLOSED FIXED
Alias: None
Product: ui
Classification: Code
Component: code (show other issues)
Version: OOo 1.1 RC4
Hardware: PC Windows 98
: P3 Trivial (vote)
Target Milestone: OOo 1.1
Assignee: stefan.baltzer
QA Contact: issues@ui
URL:
Keywords:
Depends on: 18798
Blocks:
  Show dependency tree
 
Reported: 2003-09-12 02:49 UTC by khirano
Modified: 2003-11-04 16:46 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Chinese WindowsXP fonts list presented by Pui Lam Wong (5.02 KB, text/plain)
2003-09-12 02:57 UTC, khirano
no flags Details
Windows2000 Chinese Traditional's fonts list given by Steven Shiau (4.88 KB, text/plain)
2003-09-12 10:16 UTC, khirano
no flags Details
zh-cn win2k font lisst (7.85 KB, text/plain)
2003-09-14 20:35 UTC, pplwong
no flags Details
Installation on zh-ch Windows 2000. (68.84 KB, image/jpeg)
2003-09-15 09:59 UTC, stephan_schaefer
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description khirano 2003-09-12 02:49:39 UTC
It is reported that 1.1rc4_zh-TW's installation shows squares instead of Chinese
characters on Chinese Windows98SE, and Chinese WindowsMe seems to be OK.

I think, finding out what fonts Chinese WindowsMe has (Chinese Windows98SE
doesn't have) and is used as UI for the ooo installation will help solve the
question.

Information about what they have in c:\windows\fonts also may help.

Call your kind help to collect and analyze them.

Thanks
Comment 1 khirano 2003-09-12 02:57:37 UTC
Created attachment 9226 [details]
Chinese WindowsXP fonts list presented by Pui Lam Wong
Comment 2 Oliver Specht 2003-09-12 06:46:37 UTC
.
Comment 3 khirano 2003-09-12 10:16:18 UTC
Created attachment 9237 [details]
Windows2000 Chinese Traditional's fonts list given by Steven Shiau
Comment 4 khirano 2003-09-12 13:47:46 UTC
#define FALLBACKFONT_UI_SANS_CHINSIM "ZYSong18030;AR PL 
SungtiL GB;AR PL KaitiM GB;Andale Sans UI;Tahoma;Arial Unicode 
MS;Interface User;"
#define FALLBACKFONT_UI_SANS_CHINTRD "AR PL Mingti2L Big5;AR 
PL KaitiM Big5;Andale Sans UI;Tahoma;Arial Unicode MS;Interface User;"

A solution above given by:
http://www.openoffice.org/issues/show_bug.cgi?id=18798
may not solve the problem here with Windows98SE.

I think a proper name for "simsun", which may be "SimSun", should be
added before Andale Sans UI in FALLBACKFONT_UI_SANS_CHINSIM.
And a proper name for "mingliu", (which I don't know), should be added
before Andale Sans UI in FALLBACKFONT_UI_SANS_CHINTRD.

Thanks

Comment 5 stephan_schaefer 2003-09-12 14:48:16 UTC
On trad. chinese Win98SE the UI font is PMingLiU. I have to dig up a
simplified chinese Win98 to test there as well, but simsun seems to be
useful.
Comment 6 stx123 2003-09-12 15:13:34 UTC
Hi, you all seems to agreee that this is a *confirmed* issue.
Stephan could you set the status accordingly.
Thanks, Stefan
Comment 7 stephan_schaefer 2003-09-12 15:19:32 UTC
bookkeeping
Comment 8 stephan_schaefer 2003-09-12 16:56:36 UTC
Now its working on trad. and simpl. chinese Win98SE as well...

Comment 9 stephan_schaefer 2003-09-12 16:57:12 UTC
Please verify in ooo11vclrc5.

Comment 10 khirano 2003-09-14 16:13:32 UTC
I tested them on newly installed Redhat9 with Chinese (HongKong,
Taiwan, P.R.of China).  (Since I am a Japanese and can't read either
Chinese Tranditinal or Chinese Simplified very well), it seems to me
they are fine with displaying Chinese characters during ooo
installation process.

Since I don't have Chinese Windows, I can't test them on it.
Based on Pui Lam Wong's report, Chinese Windows Me, 2000 and XP would
be OK with displaying Chinese characters during rc5 installation.
We have to see what will happen on rc5 zh-CN and zh-TW on Chinese
WINDOWS98SE!! 
Comment 11 khirano 2003-09-14 16:15:48 UTC
I tried ooo11vclrc5 builds of zh-CN and zh-TW on my Japanese
Windows98SE machine. Let me tell you what I did:
1) remove Andale Sans UI and Arial Unicode MS from c:\windows\fonts
2) get and install mingliu.ttc and simsun.ttc into c:\windows\fonts
And tried to install those builds on my machine, and I got the
following screenshots:
http://www.transwift.net/ooo/ooo11vclrc5_zh_cn_confirm.bmp
http://www.transwift.net/ooo/ooo11vclrc5_zh_cn_readme.bmp
http://www.transwift.net/ooo/ooo11vclrc5_zh_tw_confirm.bmp
http://www.transwift.net/ooo/ooo11vclrc5_zh_tw_readme.bmp

If all Chinese Windows such as 98SE, Me, NT, 2000 and XP have got
"mingliu" and "simsun" commonly and originally, ooo11vclrc5 would be a
solution for the Chinese Squares Problem during Installation. 
Comment 12 khirano 2003-09-14 16:19:25 UTC
  +   #define FALLBACKFONT_UI_SANS_CHINSIM "Andale Sans UI;Arial
Unicode MS;ZYSong18030;AR PL SungtiL GB;AR PL KaitiM GB;SimSun;Lucida
Sans Unicode;Fangsong;Hei;Song;Kai;Ming;gnu-unifont;Interface User;"
      #define FALLBACKFONT_UI_SANS_CHINTRD "Andale Sans UI;Arial
Unicode MS;AR PL Mingti2L Big5;AR PL KaitiM
Big5;Kai;PMingLiU;MingLiU;Ming;Lucida Sans
Unicode;gnu-unifont;Interface User;"

In the recent fontcfg.cxx above, can you tell me why Andale Sans UI
and Arial Unicode MS come to the top of the list?
Comment 13 pplwong 2003-09-14 20:32:50 UTC
I would suggest PMingLiu instead of MingLiu as it's "proportional"
ming liu.

Anyways, I get square problem reports from zh_cn windows2000

please look at zh-cn_win2k_fonts.txt for ref
Comment 14 pplwong 2003-09-14 20:35:31 UTC
Created attachment 9307 [details]
zh-cn win2k font lisst
Comment 15 pplwong 2003-09-14 20:36:28 UTC
zh_tw Win98SE seems OK.
Comment 16 pplwong 2003-09-14 20:42:19 UTC
khirano,

Don't need to test for hk fonts. Just GB (zh_cn) and BIG5 (zh_tw) is
enough.

The hk font set is based totally on BIG5 (zh_tw), and just added some
cantonese speicfic words on top of it. Many people in hk actually just
use BIG5 (zh_tw) instead of the one enhanced by hk government (i.e. hk
font).
Comment 17 khirano 2003-09-15 00:12:22 UTC
Paul Wong,
Thanks for your information on hk fonts.

Now zh-CN Windows2000!!
I can see simsun.ttc in the list of zh-cn_win2k_fonts.txt.
So the ooo11vclrc5's FALLBACKFONT_UI_SANS_CHINSIM should work for the
reporter's zh-CN Windows2000 with simsun.ttc.

Can you please make sure again with the reporter if she/he have
simsun.ttc with her/his zh-CN Windows2000, and use the ooo11vclrc5
zh-CN build, and still see squares during its installation?
 
Comment 18 stephan_schaefer 2003-09-15 09:45:30 UTC
Khirano,

>In the recent fontcfg.cxx above, can you tell me why
> Andale Sans UI and Arial Unicode MS come to the
> top of the list?

Andale Sans UI is the font we're shipping with StarSuite, thus it has
to be the first in the list to make sure we don't run with
StarSuite/StarOffice into the same trouble this issue here is about.
Our code does not distinguish between OOo and StarSuite, thus we have
to use the same lists for both.

But the real problem is that we have two Andale Sans UI fonts, one
with western and one with asian glyphs that cannot be distinguished by
the font selection API. Both fonts have the same name and reside in a
file called soui.ttf. So if you have the western version installed it
will be taken although it does not contain the required glyphs. We
still have to find a proper solution here.

Comment 19 stephan_schaefer 2003-09-15 09:55:05 UTC
Paul Wong,

>I would suggest PMingLiu instead of MingLiu as 
> it's "proportional" ming liu.

Actually PMingLiU is before MingLiU in the list already, thus it will
be taken if it is available. Windows is also using this font as UI
font, so I moved it before MingLiU.

> Anyways, I get square problem reports from zh_cn windows2000
> please look at zh-cn_win2k_fonts.txt for ref

From your font list I seee the same problem I just wrote to khirano:
there is a western Andale Sans UI installed on your system (278,368
soui.ttf). Unfortunately this font is chosen although it does not
contain chinese glyphs. Please deinstall this font and if this does
not work reboot your machine - we sometimes faced this problem already
but have no solution yet to make sure a font deinstallation  always
works on Windows. May be you are running StarOffice in the background
? Then this font cannot be uninstalled unless you quit the quickstarter.

I just checked ooo11vclrc5 on simplified chinese Windows2K and SimSun
was correctly chosen as you can see in the attachment.

So I consider this issued as being fixed and verified.
Comment 20 stephan_schaefer 2003-09-15 09:59:09 UTC
Created attachment 9324 [details]
Installation on zh-ch Windows 2000.
Comment 21 pplwong 2003-09-15 12:47:10 UTC
OK, thanks
Comment 22 stefan.baltzer 2003-09-16 12:03:55 UTC
SBA: Installation of CWS ooo11vclrc5 looks good on Win200 and (native
chinese) Win98. Set to fixed.
Comment 23 stefan.baltzer 2003-09-16 12:04:17 UTC
SBA: Set to verified.
Comment 24 pplwong 2003-09-16 14:08:19 UTC
Wait, please wait.
I suddenly get some protential problems from win98/win2k users' reports.
Comment 25 pplwong 2003-09-17 22:37:25 UTC
There is no problem for now.
Sorry for stopping.
Comment 26 stefan.baltzer 2003-11-04 16:46:09 UTC
SBA: Closed.