[Pharo-dev] [Moose-dev] Re: Re: Re: Fwd: Font problem is still there

Igor Stasenko siguctua at gmail.com
Thu Apr 3 12:02:05 EDT 2014


Okay. One more time.

This is interference between Cairo and Freetype plugin..

if you using same font as rest of pharo (drawn outside of Athens)
and then the very same font for rendering with Athens,
then you will get weird font artifacts,
because in-image freetype code uses different scale units for fonts than
cairo..
which results in that different glyphs of same font size will be rendered
at different scale..

the recipe is simple:
 - pick your favorite font, and never, ever use it outside of Athens in
pharo ui.
(prevent it from being used by default freetype font renderer for morphic
canvas)

-- 
Best regards,
Igor Stasenko.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20140403/4ddd3fad/attachment-0002.html>


More information about the Pharo-dev mailing list