Problem: Kerning my QFont
has no affect on the font's kerning as displayed in my QApplication
.
- In Qt, kerning is applied to a
QFont
by default - Tried
QFont.setKerning(True)
unsuccessfully QFont.setKerning(False)
also has no affect on font display- Font is OpenType (
.otf
) andQFont.kerning()
returnsTrue
- Kerning this font in other applications e.g., Microsoft Word is successful
- Other
QFont
methods, such asQFont.setLetterSpacing
work successfully on this font - Font is Idler, filename is
Idler-Inner.otf
Apparently no one else is having this problem. Can't find anything on this topic.
Update
This seems related to the font type. I'm able to kern ttf fonts and am unable to kern other otf fonts in Qt. While otf>ttf conversion is a solution for some fonts- for others like mine it seems to destroy the font.
It's surprising that Qt isn't supporting kerning of a major font type. Otherwise the only solution I can think of is hacking the font (converting to ttx and somehow manually converting to ttf in a way that doesn't deprecate it).
Too much work for a font; at least for a developer for a font.