On 22 March 2014 15:11, Pharo4Stef <pharo4Stef@free.fr> wrote:
Just for the record, do you realise that this is between two C libraries (easy to debug)?

I didn't tried to debug it, i can't bet it would be easy (need to build a debug version of cairo first)
but it worth trying.
Meanwhile i will put workaround back.
��
> Hi!
>
>> there's some kind of caching interference either in cairo or between cairo and freetype,
>> when using identity transformation matrix and integral (integer) font sizes.
>> and there is a simple workaround:
>>
>> canvas pathTransform restoreAfter: [
>> canvas pathTransform scaleBy: 1.00001.
>> "draw text here"
>>
>> ]
>>
>> this workaround was in font-rendering code, but then i removed it, because i thought problem was solved.
>
> Can we add this back please?
> This font problem is quite serious. It makes people laugh at Pharo...




--
Best regards,
Igor Stasenko.