On 11/28/2012 05:11 PM, Igor Stasenko wrote:
On 28 November 2012 20:01, Vanessa Peña Araya <[email protected]> wrote:
Stef
I was trying Athens on Pharo 2.0 today (I really like Pharo 2.0!! <3), but I
had a couple of problems with the examples. I was going to post it later but
I'll add them here:
- exampleDrawText
With AthensCairoSurface StrikeFont does not understand glyphRendererOn:
and it shoudn't.
Make sure you enabled freetype library in settings.
(LogicalFont familyName: 'Arial' pointSize: 20) realFont.
should answer a freetype font, not strike font instance.
I didn't know that, thanks. Works perfect now :)
With AthensBallonSurface does not understand Clear:
If it helps, others examples like example8, exampleDrawForm and
exampleDrawForm2 don't work for me with AthensBallonSurface. And
exampleStrokeRect with AthensCairoSurface only shows a black rectangle.
Sorry, i did not tested balloon surface for a while. That's trivial to
fix though.
The problem with balloon that many features may not work there properly,
because balloon capabilities is very limiting.
Balloon backend will stay there as a 'last resort', when nothing else works.
.. but perhaps i should do a pass on it, to prevent to much bitrotting.
Maybe a comment? I think that's hard to know when I was starting with
Athens, a comment might help choosing the right surface.
Thanks for the help.
I'm particularly interesting in the one with rendering text.
just make sure you don't use strike fonts. freetype should work fine with
balloon backend.
Thanks,
Vanessa.