Hi, On Thu, Jun 7, 2012 at 10:05 AM, Stéphane Ducasse <[email protected]> wrote: > > On Jun 7, 2012, at 9:54 AM, Tudor Girba wrote: > >> Hi, >> >> I would like to get Athens for Balloon loaded by default in a Moose >> image. > > good > >> The idea would be to make it easy for people to migrate to this >> interface, to make the code ready for Cairo. > > normally you will not have to migrate except if you want to break the > layering of athens and/or > if you want to use cairo hyper specific features. > > Again Athens provides an API and Morphs should be migrated to use this API. > so as a transition period each morph should get its drawOn: method rewritten > as a drawOnAthens: > > Then you as a Morph user you do not have to change anything.
I know what Athens is :). I meant to say that the client code needs to me migrated (EyeSee, Roassal) to the new Canvas. Once this is ready we will be prepared to use Cairo which technically right now requires extra things: install Cairo, use another VM. >> In the process of testing it, I noticed that the text examples do not >> work with StrikeFont. Please note that we are using Pharo 1.4. > > In general the font model has to be totally rewritten. Ok, but until the text will work with Balloon Athens we cannot do much because both EyeSee and Mondrian need that API. Cheers, Doru >> >> I tried it by doing the followings: >> Gofer new >> squeaksource: 'Athens'; >> package: 'ConfigurationOfAthens'; >> load. >> ((Smalltalk at: #ConfigurationOfAthens) project version: #development) >> load: 'Athens-Morphic'. >> >> And then: >> AthensTextRenderTest test1. >> >> The problem seems to be caused by a missing method: >> StrikeFont>>getPreciseAscent >> >> @Igor: Is this a missing method, or is it something else? Would it be >> difficult to fix this? >> >> Cheers, >> Doru >> >> -- >> www.tudorgirba.com >> >> "Every thing has its own flow" >> > > -- www.tudorgirba.com "Every thing has its own flow"
