Skip to content

Rendering issues due to font-hinting #281

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

Open
bbc131 opened this issue Mar 13, 2025 · 0 comments
Open

Rendering issues due to font-hinting #281

bbc131 opened this issue Mar 13, 2025 · 0 comments

Comments

@bbc131
Copy link

bbc131 commented Mar 13, 2025

Because of font-hinting, icons sometimes are rendered not very nice.

See the two screenshots below, the left screenshot is the default situation, whereas for the right screenshot I disabled font-hinting
It shows four different icons in a toolbar and pushbuttons.

The extend of the problem and its visual appearance varies with the kind of icon and its size.
In my mwe for example,

  • the distance between the bars of the fa5s.bars icon appear not equally in both versions,
  • the bottom bar of mdi6.menu for the toolbar size is considerably thinner than the other two bars and
  • the fa5.plus-square in the pushbutton is not really appealing.

All those issues are definitely mitigated with font-hinting disabled, as you can see in the right screenshot.

I saw #203 and do wonder why this isn't set by default, but only for animations?

I think, at least, this would be worth an option.

Image Image

I created this on Windows 11 with PySide6.

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

1 participant