pharo-graphics / Roassal

The Roassal Visualization Engine
MIT License
14 stars 8 forks source link

Italic and bold emphasis do not work on linux #71

Open JanBliznicenko opened 1 week ago

JanBliznicenko commented 1 week ago

Setting RSLabel font as italic or bold does not have any effect on linux. It works fine on Windows (except of https://github.com/pharo-graphics/Roassal/issues/64)

Screenshot - Ubuntu on the left, Windows on the right:

linux-vs-win

It can also be seen in RSBasicShapeExamples new example06BasicLabels open where the labels should alternate between normal and bold font - it does on Windows, not on Linux.

RSSVGExporter exports the emphasis correctly (even if it is not visually shown), but RSSVGCairoExported has the same issue.

Tested in Pharo 11 and 12 (Pharo 12 commit aa50f9c), Tried version of Roassal included in Pharo 12 and the full version loaded via the menu. Tested on Ubuntu 24 and Windows 11.