Login  Register

Re: Chinese Character Data

Posted by Peter Uhnak on Aug 18, 2015; 7:02am
URL: https://forum.world.st/Chinese-Character-Data-tp4843635p4843658.html

Good questions!
Does FreeType manages fonts? Selecting an alternate font when the asked
glyph is absent?
No idea, and I am curious to know how it is managed  at the OS level.

On Linux this is managed system-wide with fontconfig, however I have no idea how it is actually implemented (and thus if Pharo could reuse it or if it would have to implement it on its own).
 

For DrGeo, at startup time, I load different font depending on the
language of the OS host, about copy pasting chinese text it does not
work for me. I got unicode values: \u81fa\u5317\u5e02 and not 臺北市. 
But may be a problem of my host.
 
What OS? Because Linux VM by default is NOT set to Unicode, which does cause issues.

in any case,

default font:

CJK-friendly font:

Peter