[Welcome to Sensei's Library!]

StartingPoints
ReferenceSection
About


Referenced by
KGSTheKiseidoGoSe...

Homepages
CBlue

 

Asian Fonts
   

CBlue: For those who use CGoban2 client to play on KGS and who only see some squares instead of asian fonts, here is a solution (Tested on Windows 2000 Pro SP4, probably works similar for Linux. I'm not sure about very old Windows versions like 95.)

NO WARRANTY IS GIVEN FOR ANY OF THESE SUGGESTIONS. IF SOMETHING DOESN'T WORK ON YOUR PC I DON'T TAKE RESPONSIBILITY.

-Go here, and download the Cyberbit.ZIP file (Cyber Bitstream Font which contains all Unicode characters of those three languages) [ext] ftp://ftp.netscape.com/pub/communicator/extras/fonts/windows/ Move the font into your system's font folder. (for example C:\WinNT\Fonts)

-Search your Java installation for a file called 'font.properties', make a backup (just in case..) and replace it with this one: [ext] http://www.c-blue.de/tmp/font.properties.zip (You might not be able to replace the file while Java is running, in that case close CGoban2 first.)

  • glue: this is not needed with [ext] java 5.0 ; fonts are displayed automatically for windows users. For linux ones, there is still something to do.

Pampalini?: sorry, but i just installed java 5.0 and still only boxes .. other apps display japanese fonts correctly, only java has this problem
windows version : win98SE english
the strange thing is japanese (and all other) characters are displayed correctly in every other application (IE,Opera,Word etc.) except Java (both 1.4 and 1.5)
I've tried a lot of things, with no result. (like using font.properties.ja instead of font.properties, the above cyberbitstream fonts - i've installed both the font and the font.properties file - uninstalling and reinstalling the java runtimes, checking windows update if i am maybe missing some windows component ...)

  • ookaminote?: I think I have something that is bound to work (it worked repeatedly in w98 anyway) :

-install the IME method
-the fonts ms gothic and msmincho both in the windows fonts files and in the directory of java where you find other fonts, in the directory lib i think but can't remember right now, be sure to rename them in .ttf (not ttc)
(you can find all this there : [ext] http://kanji.free.fr/download.php
-redo the swap of font.properties.ja into font.properties (don't forget to make a back up in a different directory)
- and relaunch KGS ^_^
before all this I suggest to reinstall java because you seem to have change a lot of settings

  • glue: what is your windows version? I've heard there may be problems for windows 32 (98, Me). For now, I have no solution for those users. If someone knows one... feel free to tell me :-)
  • Zarlan: Windows 32? XP, 2k and 2k3 aren't 64-bit as far as I know. 95, 98 and ME can be called 9x though.
  • glue: ok let's say on some windows systems. I'm 30k at windows anyway :-)
  • Zarlan: Well XP shouldn't have any problems, whatever language it is. The same goes for win 2003 I assume (haven't had the chance to try that OS out myself). I'm not quite as sure about 2000, but it shouldn't have any problems either. The win 9x OSes (95, 98 and ME) on the other hand... They don't have the same language support. It might still work though. For any windows I assume that you have set up windows to be able to read the language in question.

-Restart CGoban2 and you're settled.

(KGS help page about fonts is [ext] http://kgs.kiseido.com/en_US/fonts.html)

Maybe someone who has tried similar for different operating systems can contribute his/her results here.


MacOS X

These instructions are straight from KGS's font help page, with a small exception.

1. Right-click (or control-click) on the CGoban app icon and choose "Show Package Contents".

2. Open the "Contents" folder.

3. Double-click on the "Info.plist" file.

There are two possibilities here.

If the file opens in Property List Editor:

4a. Expand the "Root" list. (Click the triangle to the left of the word.)

5a. Find "CFBundleDevelopmentRegion". The string to the right should say "English". Double-click this and replace "English" with the name of the language you want to use. ("Japanese" works for Asian languages, to my knowledge.)

If MacOS asks which application you want to open the file with, and Property List Editor is not available, choose TextEdit, and:

4b. Find the string "CFBundleDevelopmentRegion" in the file.

5b. In the <string> element immediately following that line, replace "English" with the language you wish to use ("Japanese", for example).

6. Save and quit.

There is a side effect to this, however: the Apple menu and the stub CGoban menu in the menu bar appear in Japanese. To access the Apple menu, simply switch to a different app temporarily.


Malweth - This worked great for me on Windows 2000 with no Admin access (no Admin access means you can only install Java up to version 1.3.1 and cannot install the MS IMEs). Weiqi.tom.com is going to be a lot nicer looking now :)



This is a copy of the living page "Asian Fonts" at Sensei's Library.
(OC) 2004 the Authors, published under the OpenContent License V1.0.