2016-07-20 20:46 GMT+02:00 J.F. Rick <self@je77.com>:
Cool. What should I use? Is this useful: http://www.tudorgirba.com/blog/free-font-collection-for-pharo
Any FreeType font, the builtin (Source Sans Pro/ Source Code Pro) or a font from your system (after loading all available fonts). | font boldFont italicFont | font := LogicalFont familyName: 'Source Sans Pro' pointSize: 18. boldFont := (LogicalFont familyName: 'Arial' pointSize: 18) emphasized: TextEmphasis bold emphasisCode. italicFont := (LogicalFont familyName: 'Times New Roman' pointSize: 18) emphasized: TextEmphasis italic emphasisCode. TextMorph new contents: (Text initialFont: font stringOrText: 'normal'), (Text initialFont: boldFont stringOrText: 'bold'), (Text initialFont: italicFont stringOrText: 'italic'); openInSceneView
On Wed, Jul 20, 2016 at 2:16 PM Nicolai Hess <nicolaihess@gmail.com> wrote:
Do not use StrikeFont with athens
Am 20.07.2016 7:49 nachm. schrieb "J.F. Rick" <self@je77.com>:
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