I'm really surprised how little we need to make TextMorph work with basic bitmap fonts:TAbleToRotateStrikeFont->#readFromStrike2:StrikeFont->#readFromStrike2Stream:StrikeFont->#displayLine:at:StrikeFont->#characters:in:displayAt:clippedBy:rule:fillColor:kernDelta:on:StrikeFont->#heightStrikeFont->#ascentStrikeFont->#descentStrikeFont->#installOn:foregroundColor:backgroundColor:BitBlt->#installStrikeFont:foregroundColor:backgroundColor:StrikeFont->#glyphsStrikeFont->#displayString:on:from:to:at:kern:StrikeFont->#characterToGlyphMapStrikeFont->#createCharacterToGlyphMapStrikeFont->#xTableString->#asMorphStringMorph class->#contents:StringMorph class->#contents:font:StringMorph class->#contents:font:emphasis:StringMorph->#initializeStringMorph->#initWithContents:font:emphasis:StringMorph->#contents:StringMorph->#privateSetContents:StringMorph->#fitContentsStringMorph->#measureContentsStringMorph->#fontToUseAbstractFont->#widthOfString:AbstractFont->#widthOfString:from:to:StrikeFont->#widthOf:StringMorph->#minimumWidthStringMorph->#fullBoundsStringMorph->#contentsStringMorph->#areasRemainingToFill:StringMorph->#drawOn:StringMorph->#handlesMouseDown:StringMorph->#isEditable:StringMorph class->#editableStringMorphStringMorph->#isTranslucentButNotTransparentWorldMorph->#acceptDroppingMorph:event:Morph->#justDroppedInto:event:StringMorph->#imageForm:forRectangle:
2014-06-03 15:54 GMT+02:00 stepharo <stepharo@free.fr>:Nice!
Alain restarted to work on Bloc and the result looks nice. I'm trying to get some influence and rewrite clean what I see that
can be cleaned.
Stef
Hi,
I created a job that bootstraps MorphicCore - an image that contains runable subset of Morphic that is able only to display a simple morph and handle mouse and keyboard events on it. Please, try to test the image on Mac.
https://ci.inria.fr/pharo/view/4.0-Bootstrap/job/Pharo-4.0-Bootstrap-Step-3.0-ConfigurationOfMorphicCore/
Cheers,
-- Pavel