I am about to fix some issues related to TextMorphs and fonts:

15402 <https://pharo.fogbugz.com/default.asp?15402>
wrong choose list from TextMorph editor halo

15552 <https://pharo.fogbugz.com/default.asp?15552>
chooseStyle halo from TextMorph lists only one StrikeFont
15553 <https://pharo.fogbugz.com/default.asp?15553>
choose Font halo from TextMorph lists only one StrikeFont

But  I have some questions:

TextStyle and fonts, this is bound to StrikeFonts for now, because only
StrikeFonts
register themself at "TextSharedInformation" and therefore:

TextStyle actualTextStyles  -> only lists the one Font "Bitmap DejaVu Sans".

There are other places that work with TextStyle default / TextStyle ....

Should I add the FreeType fonts to TextStyles TextSharedInformation
or
should I use "LogicalFontManager allFamilies" instead of "TextStyle
actualTextStyles"`?

I would like to remove/cleanup all places where we use some TextStyle
methods
that only work for StrikeFonts, but I don't know what was the idea behind
this
current state, that only works partly. Remove and Replace TextStyle with
LogicalFontManager
or use TextStyle for Strike and FreeType fonts?

thanks in advance

nicolai

Reply via email to