Sharper Text Corners with Multi-Channel Signed Distance Fields
Posted: 02 Jan 2024, 03:50
When displaying text with NoesisGUI, the corners of the text are rounded and are not sharp. This is very evident at large font sizes.
The reason these rounded corners are appearing is because text is rendered using (Single-Channel) Signed Distance Fields. I am guessing this is done for performance reasons rather than tessellating all text.
Are there any plans to support text rendering using Multi-Channel Signed Distance Fields? This would allow for sharp corners while still maintaining good performance.
Pretty much every bespoke engine uses MSDF these days
Godot - https://docs.godotengine.org/en/stable/ ... fonts.html
Evergine - https://evergine.com/new-font-and-text-feature/
Hazel - https://github.com/TheCherno/Hazel
Code: Select all
<Grid xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
HorizontalAlignment="Center" VerticalAlignment="Center" TextElement.FontSize="600">
<TextBlock Text="Hello"/>
</Grid>Are there any plans to support text rendering using Multi-Channel Signed Distance Fields? This would allow for sharp corners while still maintaining good performance.
Pretty much every bespoke engine uses MSDF these days
Godot - https://docs.godotengine.org/en/stable/ ... fonts.html
Evergine - https://evergine.com/new-font-and-text-feature/
Hazel - https://github.com/TheCherno/Hazel