There exists a issue for it: https://pharo.fogbugz.com/f/cases/12777/Athens-font-cacheing-bug Doru On Wed, Mar 19, 2014 at 9:23 PM, Tudor Girba <tudor@tudorgirba.com> wrote:
Does it mean that we should add the workaround back?
At this moment, to get the Moose image to work, we load an older version of Athens manually.
Cheers, Doru
On Wed, Mar 19, 2014 at 3:07 PM, Igor Stasenko <siguctua@gmail.com> wrote:
On 19 March 2014 13:43, Alexandre Bergel <alexandre.bergel@me.com> wrote:
Hi!
We have had experience a problem with font when using Athens to display text.
Apparently, this is due to some recent version of Athens. We have to load the following packages to not experience the problem:
Name: Athens-Core-MarcusDenker.34 Author: MarcusDenker Time: 5 July 2013, 10:59:47.206954 am UUID: e844b2d4-b091-42a4-9be0-17101dcdbd30 Ancestors: Athens-Core-MarcusDenker.33, Athens-Core-ErwanDouaille.33
Name: Athens-Cairo-MarcusDenker.51 Author: MarcusDenker Time: 26 August 2013, 4:03:06.190096 pm UUID: 9e1bfddb-67f7-4a36-864d-11060b8b6881 Ancestors: Athens-Cairo-SebastianTleye.50
This is a _major_ problem to us and apparently there is no simple solution. These kind of problem may force us to move to seek for an alternative to Athens.
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.
Alexandre
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
-- Best regards, Igor Stasenko.
-- www.tudorgirba.com
"Every thing has its own flow"
-- www.tudorgirba.com "Every thing has its own flow"