3.10 - Mac OS X Leopard - accent chars and keyboard input

Bert Freudenberg bert at freudenbergs.de
Fri Feb 8 08:41:42 UTC 2008


On Feb 7, 2008, at 22:44 , John M McIntosh wrote:

>
> On Feb 7, 2008, at 12:53 PM, Petr Fischer wrote:
>
>> I tested Sophie (latest dev) bundle on Mac OS X Leopard and czech  
>> characters.
>>
>> If I change font in sophie text area to Helvetica or Verdana, all  
>> czech characters are ok (keyboard input and even characters  
>> display is ok) - look at attached screenshot. This works only with  
>> Sophie.image - standard 3.9 or 3.10 image doesn't work (input &  
>> display).
>>
>> pf
>
>
> To clarify the Sophie.app uses a 3.8.18beta2U VM. Which is the same  
> as the 3.8.18beta1U VM (with a change to the locale plugin).
> So the fact it does not work properly with a 3.9 or 3.10 image is  
> not a VM issue, it's an issue in the image code.
>
> One has to pull the data from the unicode event field, and use a  
> font that will display unicode characters.
> I cannot speak for 3.10 but older images would pull the keyboard  
> data from the macroman event field
> and display that using fonts mapping to the macroman character set.
>
> If you try to use characters that do not map into that limited set,  
> then it won't work.

This is only half the story why it does work. The other half is that  
Sophie uses the Freetype plugin for rendering system fonts. The fonts  
shipped in Squeak are only 8 bit and thus do not cover the Unicode  
range.

- Bert -




More information about the Squeak-dev mailing list