Dax89 / QHexView

A versatile Hexadecimal widget for Qt5
MIT License
321 stars 102 forks source link

StyleHint is not a bit-enum. #47

Closed audetto closed 3 years ago

audetto commented 3 years ago

Values must be compared for equality. On a Pi4 the font comes back as AnyStyle and rendering is all over the place. Moreover, what really fixes it is the family.

audetto commented 3 years ago

This is where it is defined https://github.com/qt/qtbase/blob/e395cbb43d246abb18f9df45cd32c9fbea686076/src/gui/text/qfont.h#L59

Dax89 commented 3 years ago

Merged, thanks a lot!