[squeak-dev] Re: Problem with TrueTypeFonts

Esteban Lorenzano estebanlm at gmail.com
Thu Jul 9 16:43:21 UTC 2009


On 2009-07-09 13:25:20 -0300, Igor Stasenko <siguctua at gmail.com> said:

> 2009/7/9 Esteban Lorenzano <estebanlm at gmail.com>:
>> Hi list,
>> I'm having a problem when trying to use TrueTypeFonts on latest squeak-de
> v
>> image from damien.
>> 
>> This is the problem: I install TrueTypeFonts from universe, it loads FFI
>> 3.9.1 and itself.
>> Then, I change the code font, like this:
>> 
>> Preferences setDefaultFonts: #(
>>                (setCodeFontTo:
>                 Arial
>>   10)
>>        ).
>> 
>> 
>> (I'm using a Mac, btw)
>> 
>> The fonts change is fine, if I open a class browser now I see the code in
>  a
>> nice new font.
>> Then, I open a workspace... first, I type some characters, like say "hell
> o,
>> world"... everything is ok (workspace shows me the string in arials, and
> in
>> red color as expected).
>> Now I want to type anything in capital letters, let say "Hello, world"...
>> and then I have the following error:
>> 
>> GrafPort(Object)>>primitiveFailed
>> GrafPort(BitBlt)>>copyBitsColor:alpha:gammaTable:ungammaTable:
>> FreeTypeFont>>displayLineGlyphOn:from:to:
>> FreeTypeFont>>displayUnderlineOn:from:to:
>> LogicalFont>>displayUnderlineOn:from:to:
>> MultiDisplayScanner>>displayLine:offset:leftInRun:
>> MultiNewParagraph>>displayOn:using:at:
>> FormCanvas>>paragraph:bounds:color:
>> TextMorphForShout(TextMorph)>>drawOn:
>> 
>> Any idea?
>> 
> 
> It seems you are using old VM which doesn't supports
> #copyBitsColor:alpha:gammaTable:ungammaTable:
> and rule 41.
> I doubt this happens because of invalid input.

I'm using 4.1.1beta2U
It is not the last one?

> 
>> Cheers,
>> Esteban






More information about the Squeak-dev mailing list