On Nov 28, 2012, at 9:11 PM, Igor Stasenko wrote:
On 28 November 2012 20:01, Vanessa Peña Araya <van.c.pena@gmail.com> 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 shouldn't.
may be we should have a check for that.
Make sure you enabled freetype library in settings.
(LogicalFont familyName: 'Arial' pointSize: 20) realFont.
should answer a freetype font, not strike font instance.
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 bit rotting.
can you add that to your todo? :)
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.
-- Best regards, Igor Stasenko.