Actually this happens with Pharo 1.4 too, at least the example with
rendering text :P
Vanessa.
On 11/28/2012 04:01 PM, Vanessa Peña Araya 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:
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.
I'm particularly interesting in the one with rendering text.
Thanks,
Vanessa.
On 11/28/2012 03:51 PM, Stéphane Ducasse wrote:
Vanessa
Now I suggest to work on pharo 2.0.
Stef
On Nov 28, 2012, at 7:39 PM, Vanessa Peña Araya wrote:
I had the same problem yesterday in Linux, My libcairo.so was on
another folder. I created a symlink of
/usr/lib/libcairo.so
and worked perfect without changing anything on Athens :)
On 11/28/2012 03:19 PM, Casimiro de Almeida Barreto wrote:
On 28-11-2012 14:34, Igor Stasenko wrote:
Try:
CairoLibraryLoader getLibraryHandle
also check what
CairoLibraryLoader getLibraryPath
had to change to /usr/lib/libcairo.so.1
Path is hard coded... not the best of worlds...
But problems remainded...
I'll have to take some time to see what's going on.
answers and if the cairo library exists under that path.
If not, change the implementation to point to right location of
library.
--
Best regards,
Igor Stasenko.