lxgui icon indicating copy to clipboard operation
lxgui copied to clipboard

Inaccurate position of outline text with SFML back-end

Open cschreib opened this issue 4 years ago • 1 comments

In the current latest version of SFML (2.5.1) there is a bug in outline glyph rendering which makes the outline sometimes inaccurate. This is normally fine for regular fonts, but significant for italic of bold. In some regular fonts, certain characters like : or + also have their outline incorrectly positioned. I have opened a PR to fix this in SFML https://github.com/SFML/SFML/pull/1827. When this PR is merged, or if using a custom build of SFML, the outline can be fixed to the right position by defining SFML_HAS_OUTLINE_GLYPH_FIX when building lxgui.

cschreib avatar Oct 09 '21 20:10 cschreib

This has been merged upstream and should be available in SFML 2.6.0.

cschreib avatar Dec 10 '21 09:12 cschreib