[squeak-dev] Problem with TrueTypeFonts

Igor Stasenko siguctua at gmail.com
Thu Jul 9 16:25:20 UTC 2009


2009/7/9 Esteban Lorenzano <estebanlm at gmail.com>:
> Hi list,
> I'm having a problem when trying to use TrueTypeFonts on latest squeak-dev
> 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 "hello,
> 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.

> Cheers,
> Esteban
>
>
>
>



-- 
Best regards,
Igor Stasenko AKA sig.



More information about the Squeak-dev mailing list