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.
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.
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"