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

Font rendering is blurry #42

Open
mak448a opened this issue Mar 20, 2023 · 13 comments
Open

Font rendering is blurry #42

mak448a opened this issue Mar 20, 2023 · 13 comments

Comments

@mak448a
Copy link
Contributor

mak448a commented Mar 20, 2023

Describe the bug
When opening up Dotto, the fonts look blurry.

To Reproduce
Steps to reproduce the behavior:

  1. Go to the Dotto online page
  2. Set fractional scaling on your desktop environment to 125%
  3. Look at the fonts being blurry

Expected behavior
The fonts should be clear.

Screenshots
Screenshot_20230320_151258

Desktop

  • OS: Fedora Linux 38
  • Scaling Factor: 125%
  • Desktop Environment: KDE Plasma
  • Display Server: Wayland
  • Browser: Firefox 112.0.2 (64-bit)
@DimensionalSpace
Copy link
Contributor

DimensionalSpace commented May 6, 2023

I think it's because the font is thin and shrunken down to a small size making it blurry

Solution: Use a bold variant (I have no idea where the font is called)

@felipemanga
Copy link
Collaborator

I'm pretty sure there isn't an issue with the font itself (otherwise we'd see the same blurriness elsewhere). I haven't been able to replicate the issue at all on my end, so it has been hard to pinpoint.

@DimensionalSpace
Copy link
Contributor

DimensionalSpace commented May 7, 2023

I'm pretty sure there isn't an issue with the font itself (otherwise we'd see the same blurriness elsewhere). I haven't been able to replicate the issue at all on my end, so it has been hard to pinpoint.

Ah see it is a problem that can only be replicated in html since I kind of had the same issue a while back where the font became blurry and hard to read or it just didn't render so maybe that is what's happening here?

@mak448a
Copy link
Contributor Author

mak448a commented May 8, 2023

It might have to do with fractional scaling. I have 125% scaling enabled on my desktop environment.

@mak448a
Copy link
Contributor Author

mak448a commented May 8, 2023

I'm going to try to build the source code and see if I get the same result running native.

@mak448a
Copy link
Contributor Author

mak448a commented May 8, 2023

The problem is either non-existent or less bad on native. I'm not sure which it is.
Screenshot_20230508_085654

@DimensionalSpace
Copy link
Contributor

DimensionalSpace commented May 8, 2023

image

hmmm html is the problem

@mak448a
Copy link
Contributor Author

mak448a commented May 8, 2023

So it seems like it's these two things:

  • Emscripten/wasm build
  • Fractional Scaling

@mak448a
Copy link
Contributor Author

mak448a commented May 8, 2023

I'm pretty sure there isn't an issue with the font itself (otherwise we'd see the same blurriness elsewhere). I haven't been able to replicate the issue at all on my end, so it has been hard to pinpoint.

Try setting fractional scaling to 125%

@DimensionalSpace
Copy link
Contributor

I'm pretty sure there isn't an issue with the font itself (otherwise we'd see the same blurriness elsewhere). I haven't been able to replicate the issue at all on my end, so it has been hard to pinpoint.

Try setting fractional scaling to 125%

Umm it did the same thing (for me)

@felipemanga
Copy link
Collaborator

Sounds like fractional rendering is simply stretching the rendered UI. If you draw something, does it appear blurry as well?
If that's the case, there's nothing we can do about it.

@DimensionalSpace
Copy link
Contributor

DimensionalSpace commented May 14, 2023

Its just the font.
image

@mak448a
Copy link
Contributor Author

mak448a commented May 14, 2023

Sounds like fractional rendering is simply stretching the rendered UI. If you draw something, does it appear blurry as well? If that's the case, there's nothing we can do about it.

It's a little blurry, yes. I guess there's nothing we can do about it then.
Screenshot_20230514_155524
Screenshot_20230514_155517

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants