Quote:
Originally Posted by charleski
So you have separate font files (e.g. Garamond-Regular.otf, Garamond-Italic.otf, Garamond-Bold.otf) all in the same directory? Sounds like they're just relying on the fonts being properly tagged then. This'll work in most cases, but I've come across some fonts (including some rather expensive commercial ones) that aren't.
|
This is true. The Adobe SDK allows us to specify a URL to a font file but Qt doesn't allow us to introspect a TTF/OTF for its font family/weight without difficulty.
The resolution is that fonts should end with -Bold, -BoldItalic, -Italic, or alternatively, b, i, z.