Don't use
fontName: fontName size: fontSize
as it only creates StrikeFont font, where the max size is 24 (I think).

This works ....
    font := LogicalFont familyName: 'Open Sans' pointSize: 70.
    tMorph := StringMorph new.
    tMorph
        contents: 'Hello World';
        font: font;
        emphasis: TextEmphasis bold emphasisCode.
    bMorph := Morph new
        color: Color red;
        addMorphBack: tMorph.
        bMorph bounds:(tMorph fullBounds).

    bMorph openInHand

... but it seems we have a problem with the free type fonts (again).
Since Pharo 40195 I can not select any other fonts in Settings, only
Bitmap DejaVu Sans.





2014-09-04 22:04 GMT+02:00 Alexandre Bergel <alexandre.ber...@me.com>:

> No idea :-)
>
> Alexandre
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
> On Sep 4, 2014, at 12:18 PM, Tim Mackinnon <tim@testit.works> wrote:
>
> I’m still curious how you do it in Morphic?
>
>
>

Reply via email to