I'm really surprised how little we need to make TextMorph work with basic bitmap fonts: TAbleToRotate StrikeFont->#readFromStrike2: StrikeFont->#readFromStrike2Stream: StrikeFont->#displayLine:at: StrikeFont->#characters:in:displayAt:clippedBy:rule:fillColor:kernDelta:on: StrikeFont->#height StrikeFont->#ascent StrikeFont->#descent StrikeFont->#installOn:foregroundColor:backgroundColor: BitBlt->#installStrikeFont:foregroundColor:backgroundColor: StrikeFont->#glyphs StrikeFont->#displayString:on:from:to:at:kern: StrikeFont->#characterToGlyphMap StrikeFont->#createCharacterToGlyphMap StrikeFont->#xTable String->#asMorph StringMorph class->#contents: StringMorph class->#contents:font: StringMorph class->#contents:font:emphasis: StringMorph->#initialize StringMorph->#initWithContents:font:emphasis: StringMorph->#contents: StringMorph->#privateSetContents: StringMorph->#fitContents StringMorph->#measureContents StringMorph->#fontToUse AbstractFont->#widthOfString: AbstractFont->#widthOfString:from:to: StrikeFont->#widthOf: StringMorph->#minimumWidth StringMorph->#fullBounds StringMorph->#contents StringMorph->#areasRemainingToFill: StringMorph->#drawOn: StringMorph->#handlesMouseDown: StringMorph->#isEditable: StringMorph class->#editableStringMorph StringMorph->#isTranslucentButNotTransparent WorldMorph->#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