Do not use StrikeFont with athens

Am 20.07.2016 7:49 nachm. schrieb "J.F. Rick" <[email protected]>:

> It seems that emphasis is also not respected in Athens. If I try the
> following, it works in BitBlt, but both are rendered as plain inside Athens.
>
> | font boldFont |
> font := StrikeFont familyName: 'Arial' pointSize: 18.
> boldFont := StrikeFont familyName: 'Arial' pointSize: 18 emphasized:
> TextEmphasis bold emphasisCode.
> TextMorph new
> contents: (Text initialFont: font stringOrText: 'test'), (Text
> initialFont: boldFont stringOrText: 'this');
> openInHand
>
>>

Reply via email to