Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bad text rendering? #6298

Open
0x14307 opened this issue Sep 24, 2024 · 2 comments
Open

Bad text rendering? #6298

0x14307 opened this issue Sep 24, 2024 · 2 comments
Labels
a:renderer-femtovg Femtovg renderer (mS) bug Something isn't working

Comments

@0x14307
Copy link

0x14307 commented Sep 24, 2024

Hi there!

I was working on a small personal project of mine (Rust, Windows x86_64) and noticed that text rendering is sort of botched where it just doesn't render properly and looks to have some artifacts with the actual executable itself whilst the Slint preview works just fine.

image

This is using the default font that is provided to Slint by the system (so no font-families here) and will show up no-matter the application style (Fluent, Cupertino, etc.)

@tronical tronical added bug Something isn't working a:renderer-femtovg Femtovg renderer (mS) labels Sep 25, 2024
@tronical
Copy link
Member

I think this is a consequence of #5177 :-(, as it emphasises the quality of the glyph rasterisation even more. Best path forward would probably be to move to cosmic-text, if even just for femtovg to start with.

@qarmin
Copy link

qarmin commented Oct 6, 2024

I also found that when using VerticalBox, but is quite strange the problem happens only when scrollbar is at the end/start, otherwise text is quite good

simplescreenrecorder-2024-10-06_11.57.50.mp4

Screenshot from 2024-10-06 12-16-23
Screenshot from 2024-10-06 12-16-37

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a:renderer-femtovg Femtovg renderer (mS) bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants