On Apr 18, 2013, at 12:17 PM, Igor Stasenko <siguc...@gmail.com> wrote:

> On 18 April 2013 11:52, Henrik Johansen <henrik.s.johan...@veloxit.no> wrote:
>> 
>> On Apr 18, 2013, at 11:24 AM, kilon wrote:
>> 
>>> Ok resumed  learning of Athens, did look through and experimented with the
>>> steps of the tutorial , I think I understand the basics now.
>>> 
>>> Started from a fresh image reinstalled everything and no longer save my
>>> image with Athens Tutorial open so there is no segfault.But the error
>>> remains.
>>> 
>>> LogicalFont>>glyphRenderOn
>>> 
>>> glyphRendererOn: anAthensBalloonSurface
>>>       ^ self realFont glyphRendererOn: anAthensBalloonSurface
>>> 
>>> full stack can be found here ->  http:// http://pastebin.com/C8itjM2a
>>> <http:// http://pastebin.com/C8itjM2a>
>>> 
>>> freetype is enabled in settings , my ears are open for suggestions :)
>>> 
>>> 
>>> 
>>> --
>>> View this message in context: 
>>> http://forum.world.st/Understanding-Athens-tp4681820p4682265.html
>>> Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
>>> 
>> 
>> Well, the message is sent to a StrikeFont (the legacy bitmap font, sorta 
>> hard to provide a vector-based renderer for), so I guess somewhere, you need 
>> to ensure he font used by AthensViewMorph is a LogicalFont whose realFont is 
>> an actual TrueTypeFont.
>> 
> 
> Yes. Athens using freetype fonts.
> LogicalFont-s work in a way that if it can find a corresponding
> freetype font, it will use it,
> otherwise it will fallback to one which comes with image (strike font).
> 
> If you want to avoid pitfalls with LogicalFont logic, use direct
> FreeTypeFont instances
> (but don't ask me where how to obtain them ;) ).
> 

We should really clean up Fonts…

        Marcus

Reply via email to