W3C home > Mailing lists > Public > www-amaya@w3.org > October to December 2006

Re: Displaying Chinese characters: some of them becomes to a block

From: liu.yan 刘研 <liu.yan@china-motion.com>
Date: Wed, 6 Dec 2006 19:05:15 +0800
To: "Martin Duerst" <duerst@it.aoyama.ac.jp>, "Peter Kerr" <p.kerr@auckland.ac.nz>, "christopher@cechinatrans.demon.c" <christopher@cechinatrans.demon.co.uk>
Cc: "www-amaya" <www-amaya@w3.org>
Message-ID: <200612061905137036674@china-motion.com>

The font most widely used in Windows CHS version is "宋体"(SongTi), 
It's the default font on Windows95 CHS to WindowsXP CHS, it's located at %WINDIR%\Fonts\simsun.ttc.
IE also use "宋体" as the default font to display web pages.

But Windows Vista CHS and IE7 for Vista are using "微软雅黑"(MS_YaHei) as the default font now.
MS_YaHei font will displayed better with ClearType enabled.

In Amaya, I can't find an option to choose the default font to display HTML documents.

The sample word "链接"(links) I mentioned before is also a menu name of Amaya (the 5th menu after File--Edit--XHTML--XML).
The sample word "链接"(links) is displayed ok when it's a menu name, 
but the first character of it is displayed as a hollow block/rectangle/gap.

This situation occurs not only when displaying Simplified Chinese, but also when displaying Traditional Chinese.
You can visit Microsoft website to test this issue.
** Notes **
    1. Microsoft website use UTF-8 as the charset encoding of pages.
    2. Amaya may cause a 100% CPU usage and memory usage continuous increasing issue when visiting the following Microsoft website.

// for simplified chinese, visit:

// for traditional chinese, visit:

When I visit http://www.microsoft.com/hk/chinese/ , the word "產品"(Products) in the left navigation area will displayed as "□品".

发件人:Martin Duerst
发送日期:2006-12-06 14:20:40
收件人:Peter Kerr; christopher@cechinatrans.demon.co.uk
抄送:www-amaya; liu.yan@china-motion.com
主题:Re: Displaying Chinese characters: some of them becomes to a block

At 04:40 06/12/06, Peter Kerr wrote:
>On 6/12/2006, at 5:03 AM, Christopher Evans wrote:
>> The characters Mr Liu mentions and a number of others are in the  
>> standard Chinese GB18030-compatible fonts supplied with Chinese and  
>> English Windows XP. Is there a way to link into them?
>Amaya will try to follow w3c and Unicode standards.
>How does GB18030, and MSWindowsXP map to this?

Windows XP will use Unicode internally for accessing the
glyphs in the fonts, at least as long as they are TrueType
or OpenType fonts. Actually, fonts were one of the first
technologies where Unicode was introduced in Windows,
as early as Windows 3.0. Saying that the fonts are
GB18030-compatible may refer to specific glyph shapes
(as preferred in China), it may refer to the coverage
(the font contains glyphs for all characters in GB18030),
or it may just be a marketing label.

Btw, what's the name of the font?

Regards,    Martin.

#-#-#  Martin J. Du"rst, Assoc. Professor, Aoyama Gakuin University
#-#-#  http://www.sw.it.aoyama.ac.jp       mailto:duerst@it.aoyama.ac.jp     
Received on Wednesday, 6 December 2006 11:05:51 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:30:52 UTC