new m17n built

Yoshiki Ohshima Yoshiki.Ohshima at acm.org
Wed Aug 4 10:35:51 UTC 2004


  Alex,

> TTCFontReader encodingTag: Latin1Environment leadingChar.
> TTCFontSet newTextStyleFromTTFile: 'C:\WINDOWS\Fonts\arial.TTF'.
> s := (MultiCharacter leadingChar: 1 code: 16r107) asString.
> Display getCanvas drawString: s at: 120 at 120 font:((TextStyle named: 'MultiArial') fontOfSize: 36) color: Color black.
> 
> Now that's fun! HOORAY! :)

  encoding tag "1" is reserved for backward compatibility for old
version of Japanese Squeak.  The right thing is to have one entry in
fontArray of TTCFontSet for Arial for now (until Arabic or Russian is
officially supported) and create a character with

  MultiCharacter leadingChar: 0 code: 16r107.

(#leadingChar:code: should be at Character.)

> Thanks for your hard work on m17n, Yoshiki!

  Thank you for saying this!  Still long way to go.

-- Yoshiki



More information about the Squeak-dev mailing list