[squeak-dev] Re: Unicode strings, benchmarks

tgkuo tgkuo1 at gmail.com
Thu Dec 16 01:13:36 UTC 2010


Hi Yoshiki,

I downloaded the development image from
http://etoys.squeak.org/download/ , run the default image, evaluate the
code, but still can not show the font as expected.

I suppose that it cann't work because what I needed is
TraditionalChineseEnvironment in my WinXP PC.

I explored the system for the class "TraditionalChineseEnvironment:" but
it is missing.
There is only a few environment available in Multilingual-languages
package, how can I make the "TraditionalChineseEnvironment " one, I
currently had no ideas to write the class methods that need to be
changed for TraditionalChineseEnvironment, can you help me to build one?

thanks.

Best regards,

Eno


On 2010/12/15 ¤U¤È 03:27, Yoshiki Ohshima wrote:
> At Thu, 11 Nov 2010 00:16:36 -0800 (PST),
> Eno wrote:
>>
>> Hi Yoshiki
>>
>> I'm a Chinese user, actually traditional Chinese ( using big5 encoding).
>>
>> I'm bothered by it, too, Squeak could not show our fonts in the UI, though
>> there is no problem in the redered web pages by Seaside 3.0. That means the
>> encoding is corrent (UTF-8) but the font is missing. 
>>
>> Why squeak could not display the encoding correctly as others do? is it
>> related it's unique way of interpreting the encoding, not by the OS API.  
>>
>> Some questions want to ask: 
>>
>> How is the file latin2.out made? 
>>
>> Can we just use windows system font instead? 
>>
>> if not, how could we make chinese.out ?
>   Sorry for taking forever to answer this.  I dug up the font files I
> created while ago and uploaded them to:
>
> http://tinlizzie.org/~ohshima/uSimplifiedChineseFont.out
> http://tinlizzie.org/~ohshima/uTraditionalChineseFont.out
>
>   In the Etoys development image, you can load it by evaluating:
>
> StrikeFontSet installExternalFontFileName: 'uSimplifiedChineseFont.out' encoding: SimplifiedChineseEnvironment leadingChar encodingName: #SimplifiedChinese textStyleName: #DefaultMultiStyle.
>
> The trunk image seems to be missing some methods to make it run,
> however.
>
> -- Yoshiki
>
>




More information about the Squeak-dev mailing list