Skip to content

Rendering issues due to font-hinting #281

@bbc131

Description

@bbc131

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions