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. Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
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.
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"
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"
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... Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Just for the record, do you realise that this is between two C libraries (easy to debug)?
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...
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.
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.
Thanks Igor. Let us know! Alexandre
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.
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Thanks, indeed :) Please keep us informed. Doru On Wed, Mar 26, 2014 at 5:57 PM, Alexandre Bergel <alexandre.bergel@me.com>wrote:
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.
Thanks Igor. Let us know!
Alexandre
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.
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
-- www.tudorgirba.com "Every thing has its own flow"
Btw, guys i need some details: - what platform you using - what default font you using On 26 March 2014 21:27, Tudor Girba <tudor@tudorgirba.com> wrote:
Thanks, indeed :)
Please keep us informed.
Doru
On Wed, Mar 26, 2014 at 5:57 PM, Alexandre Bergel <alexandre.bergel@me.com
wrote:
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.
Thanks Igor. Let us know!
Alexandre
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.
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
-- www.tudorgirba.com
"Every thing has its own flow"
-- Best regards, Igor Stasenko.
Btw, guys i need some details: - what platform you using Windows and Linux (this is the moose image).
- what default font you using
No idea. We will give you the image of nicolas and the image of the contact I got. It happens on windows for her. Apparently people where putting the same image on a different machines and it worked. Nicolas got a problem on linux. May be this is just a stupid use of freetype with the settings but since WE DO NOT understand font the setting should do it right. Stef
Ubuntu (latest) + Arial font (though other fonts have the same problem). Cheers, Jeff On Thu, Mar 27, 2014 at 4:44 PM, Igor Stasenko <siguctua@gmail.com> wrote:
Btw, guys i need some details: - what platform you using - what default font you using
On 26 March 2014 21:27, Tudor Girba <tudor@tudorgirba.com> wrote:
Thanks, indeed :)
Please keep us informed.
Doru
On Wed, Mar 26, 2014 at 5:57 PM, Alexandre Bergel < alexandre.bergel@me.com> wrote:
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.
Thanks Igor. Let us know!
Alexandre
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.
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
-- www.tudorgirba.com
"Every thing has its own flow"
-- Best regards, Igor Stasenko.
-- Jochen "Jeff" Rick, Ph.D. http://www.je77.com/ Skype ID: jochenrick
De : Pharo-dev [mailto:pharo-dev-bounces@lists.pharo.org] De la part de Igor Stasenko Envoyé : jeudi 27 mars 2014 16:45 à : Pharo Development List Objet : Re: [Pharo-dev] Font problem is still there Btw, guys i need some details: - what platform you using The problem appears on both Linux Ubuntu x64 and Windows 7 platforms. - what default font you using We use this code to grab the default font: LogicalFont familyName: StandardFonts defaultFont familyName pointSize: aSize (aSize is the size of the font that we want). On Windows 7 the standard default font is (by printing âStandardFonts defaultFontâ): "a LogicalFont familyName: Source Sans Pro emphasis: nil pointSize: 10 realFont: FreeTypeFont('Source Sans Pro' 'Regular' 10) weight: 400 stretch: 5 slant: 0" On 26 March 2014 21:27, Tudor Girba <tudor@tudorgirba.com<mailto:tudor@tudorgirba.com>> wrote: Thanks, indeed :) Please keep us informed. Doru On Wed, Mar 26, 2014 at 5:57 PM, Alexandre Bergel <alexandre.bergel@me.com<mailto:alexandre.bergel@me.com>> wrote:
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. Thanks Igor. Let us know!
Alexandre
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.
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. -- www.tudorgirba.com<http://www.tudorgirba.com> "Every thing has its own flow" -- Best regards, Igor Stasenko. ________________________________ Ce message et les pièces jointes sont confidentiels et réservés à l'usage exclusif de ses destinataires. Il peut également être protégé par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant être assurée sur Internet, la responsabilité de Worldline ne pourra être recherchée quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne saurait être recherchée pour tout dommage résultant d'un virus transmis. This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Worldline liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.
so, i checked both in 4.9 and 5.0 Moose images on linux... got weird results and sometimes crashes. in 5.0 image the version is: Athens-Cairo-MarcusDenker.51 - this one uses pretty old code, which renders text using 'toy' cairo api for text rendering. in my working image, where i work every day it is: Athens-Cairo-SvenVanCaekenberghe.64 and there's also couple important fixes since .51 as well as different font rendering code which no longer using toy api.. so, guys, if you want me to continue, please try using latest versions and report problems about it, because it makes no sense to find a fix in something which outdated and thrown away many months ago. Load the latest dev version of Athens from smalltalkhub (it is version 2.5) ConfigurationOfAthens loadDevelopment. try it out. Here's what i got on latest fresh vanilla out of the box Pharo 3.0 image on linux system: [image: Inline images 1] P.S. i am not saying that it is *impossible* that there is problems in new version, just asking you to report problems with that version, not one which year(s) old. -- Best regards, Igor Stasenko.
participants (6)
-
Alexandre Bergel -
Blondeau Vincent -
Igor Stasenko -
J.F. Rick -
Pharo4Stef -
Tudor Girba