saji8k
Topic Author
Posts: 21
Joined: 07 Jul 2023, 08:35

Sharper Text Corners with Multi-Channel Signed Distance Fields

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.
<Grid xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
HorizontalAlignment="Center" VerticalAlignment="Center" TextElement.FontSize="600">
<TextBlock Text="Hello"/>
</Grid>
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

 
User avatar
jsantos
Site Admin
Posts: 3925
Joined: 20 Jan 2012, 17:18
Contact:

Re: Sharper Text Corners with Multi-Channel Signed Distance Fields

02 Jan 2024, 14:27

Yes, we have plans for this. Could you please create a ticket to track this feature? Thanks!
 
saji8k
Topic Author
Posts: 21
Joined: 07 Jul 2023, 08:35

Re: Sharper Text Corners with Multi-Channel Signed Distance Fields

03 Jan 2024, 07:50

Who is online

Users browsing this forum: No registered users and 5 guests