Tuesday, 27 May 2008

Issue:Square boxes as text characters Solution:Add fonts

Chinese characters in Linux see Debian Chinese How To [1] basically:
  1. create a jre/lib/fonts/fallback directory if necessary and
  2. copy or link the fonts files into this directory. (On my Linux system: /usr/share/fonts/truetype/arphic/gbsn00lp.ttf )
  3. I will install Japanese fonts when the business need arises.


Turloch O'Tierney said...

1/If the Japanese characters are square boxes it means the font is not available. http://totierne.blogspot.com/2008/05/issuesquare-boxes-as-text-characters.html

2/If they are question marks (or upside down question marks?) a conversion between character sets has not been found and been defaulted to question mark characters

3/Other issues which unfortunately are likely to have to be fixed individually by development

Turloch O'Tierney said...

Added Japanese chacater set after:
forum post

on reading:

installed Japanese ttf fonts, and linked them into the fallback directory:

ln -s /usr/share/fonts/truetype/kochi/kochi-gothic-subst.ttf .
506 ln -s /usr/share/fonts/truetype/kochi/kochi-gothic.ttf .
507 ln -s /usr/share/fonts/truetype/kochi/kochi-mincho-subst.ttf .
508 ln -s /usr/share/fonts/truetype/kochi/kochi-mincho.ttf .

...jre/lib/fonts/fallback# pwd

Turloch O'Tierney said...

Note that Japanese and Chinese can clash allegedly with difference characters for the same unicode point.

Turloch O'Tierney said...

For windows example see:


basically fonts are in /WINDOWS/Fonts..