Sorry it felt under radar...

yes, this does work!

however I managed to encounter two more bugs along the way

Pharo space: everything is underlined/bold as expected

Bloc space: no styling (this is same behavior both before and after loading Free Type)

������

And second thing (that may not be so obvious from the screenshot) is jaggedness of the font in Bloc (that's why I was messing with fonts in the first place).

I suspected that Font Hinting (Settings > Appearance > Use Free Type ... > Advanced Features > Hinting) was incorrectly configured,
however when I tried to change it it had no effect.

So my conclusion that fonts are not yet fully implemented or something else is missing? Or is my system/configuration wrong? (The image is Bloc build #609 from pharo-contribution).
I actually have the very same problem in text rendered in Roassal (Athens canvas), so I blame Athens. Is there a solution for this?

Thanks,
Peter

On Mon, Jul 27, 2015 at 8:20 PM, Nicolai Hess <nicolaihess@web.de> wrote:


2015-07-05 17:33 GMT+02:00 Nicolai Hess <nicolaihess@web.de>:


2015-07-05 12:16 GMT+02:00 Peter Uhn��k <i.uhnak@gmail.com>:
Hi,

when reloading FreeType (Settings > Use free type:)

This is an Athens issues. Athens only "officially" supports vector fonts.
Drawing with bitmap fonts is a hack (and that happens during disable/enable freetype).

fixed in athens repository:

Name: Athens-Cairo-NicolaiHess.89
Author: NicolaiHess
Time: 5 July 2015, 5:31:21.319671 pm
UUID: f2a202d8-67fb-984c-a75a-21820d8fa9d4
Ancestors: Athens-Cairo-Nicolaihess.88
convert text string to utf8 converted buffer for
cairos cairo_show_text method

@peter
Did you try it, does it work for you ?
��