Apache OpenOffice (AOO) Bugzilla – Issue 124121
CoreText: Emulate italic for fonts that do not provide italic themselves
Last modified: 2022-10-28 12:54:34 UTC
A couple of fonts don't provide italic typefaces themselves. Slanting their regular version doesn't provide it either but it gives an approximation and it allows to distinguish texts that only differ in their "italic" attribute.
On our Unix platforms we have been using the matrix (1, 3/8, 0, 1) for over a decade now for the italic-emulation, so we should do something similar for our CoreText based platforms.
Created attachment 82411 [details] test-document with Andale Mono that doesn't provide Italic/Oblique styles
"hdu" committed SVN revision 1562051 into trunk: #i124121# emulate oblique/italic for CoreText fonts without such styles
Fixed with the commit above.
"hdu" committed SVN revision 1562064 into trunk: #i124121# prevent oblique/italic emulation with ITALIC_DONTKNOW fonts