|
From: Erwin W. <wat...@xs...> - 2012-11-22 19:57:52
|
Op 22-11-2012 15:16, Yongwei Wu schreef: > On 22 November 2012 16:07, waterlan <wat...@xs... > <mailto:wat...@xs...>> wrote: > > Maximus5 schreef op 2012-11-22 07:54: > > waterlan <waterlan@...> writes: > > > > > > > >> Is 新宋体 (Simsun) the standard ttf font in the Console in a > Chinese > > > >> Windows? If yes, why can't I select it in the Console when Windows > >> is > > > >> switched to English? Is it also impossible to select Lucida Console > >> when > > > >> Windows is switched to Chinese? > > > > > > > > Hi, > > > > > > > > The list of available fonts changes when you change codepage :) > > > > For example (on Chinese Windows versions) "chcp 936" enables Simsun, > > > > while "chcp 1250" enables Lucida Console. Can't remember, whats > > hapens > > > > on "chcp 65001". Hm, but each Chinese codepage (437? not sure) has > > > > its own font containing required glyphes. > > > > > > > > just for information > > > > Hi Maximus, > > Thanks! That is useful information. Yesterday I downloaded Windows 7 > Enterprise Evaluation and installed it in a Virtual Box. I added the > Chinese language package. I'm going to try and let you know. > > best regards, > > > Late to this thread.... However, I believe you do not need the > language pack, unless you need to change the interface language. I do > not have any language packs installed, but I can type and display Chinese. > > For the font, you can check the existence of > C:\Windows\Fonts\simsun.ttc (in the default path). This is the default > Chinese font. > > Modern GUI applications should not care about the system locale, but > it can still matter for old applications and/or applications that do > not support globalization well. You may need to set Chinese as the > default system locale in those cases. To do that, you need to go to > Control Panel > Region and Language > Administrative > Change system > locale. It does have some side-effects for a typical Western user, but > mostly cosmetic in daily use. > > Hi Yongwei, You are right. I just discovered that it works that way. When I change the system locale in the Control Panel to Chinese I can select the Simsun font in the Console. I cannot select Lucida Console or Consolas with a Chinese system locale. It appears that the fonts that you can select in the Console depend on the system locale. It doesn't require an Ultimate or Enterprise Windows edition, I can do it also in a Home Premium edition of Windows. The system locale is important for console applications, because of this issue, also for modern Console applications that support Unicode. I would be nicer if you could select any mono spaced font in the Console, like in GUI applications. I was afraid that changing the system locale to Chinese would change all text to Chinese and I could not use my Windows any more, but that was not the case. The "display language" is a different setting and can stay Dutch (or English) with a Chinese system locale. best regards, -- Erwin Waterlander http://waterlan.home.xs4all.nl/ |