Dotto icon indicating copy to clipboard operation
Dotto copied to clipboard

Font rendering is blurry

Open mak448a opened this issue 2 years ago • 13 comments

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)

mak448a avatar Mar 20 '23 20:03 mak448a

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)

DimensionalSpace avatar May 06 '23 15:05 DimensionalSpace

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.

felipemanga avatar May 06 '23 20:05 felipemanga

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?

DimensionalSpace avatar May 07 '23 16:05 DimensionalSpace

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

mak448a avatar May 08 '23 13:05 mak448a

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

mak448a avatar May 08 '23 13:05 mak448a

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

mak448a avatar May 08 '23 13:05 mak448a

image

hmmm html is the problem

DimensionalSpace avatar May 08 '23 16:05 DimensionalSpace

So it seems like it's these two things:

  • Emscripten/wasm build
  • Fractional Scaling

mak448a avatar May 08 '23 16:05 mak448a

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%

mak448a avatar May 08 '23 20:05 mak448a

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)

DimensionalSpace avatar May 12 '23 16:05 DimensionalSpace

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.

felipemanga avatar May 14 '23 12:05 felipemanga

Its just the font. image

DimensionalSpace avatar May 14 '23 14:05 DimensionalSpace

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

mak448a avatar May 14 '23 20:05 mak448a