Issue 124121 - CoreText: Emulate italic for fonts that do not provide italic themselves
Summary: CoreText: Emulate italic for fonts that do not provide italic themselves
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: 4.1.0-dev
Hardware: Mac Mac OS X, all
: P3 Normal (vote)
Target Milestone: 4.1.0
Assignee: hdu@apache.org
QA Contact:
URL:
Keywords:
Depends on: 123951
Blocks:
  Show dependency tree
 
Reported: 2014-01-27 13:50 UTC by hdu@apache.org
Modified: 2022-10-28 12:54 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
test-document with Andale Mono that doesn't provide Italic/Oblique styles (16.99 KB, application/vnd.oasis.opendocument.text)
2014-01-28 11:56 UTC, hdu@apache.org
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description hdu@apache.org 2014-01-27 13:50:33 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.
Comment 1 hdu@apache.org 2014-01-27 14:03:21 UTC
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.
Comment 2 hdu@apache.org 2014-01-28 11:56:11 UTC
Created attachment 82411 [details]
test-document with Andale Mono that doesn't provide Italic/Oblique styles
Comment 3 SVN Robot 2014-01-28 12:41:54 UTC
"hdu" committed SVN revision 1562051 into trunk:
#i124121# emulate oblique/italic for CoreText fonts without such styles
Comment 4 hdu@apache.org 2014-01-28 12:43:05 UTC
Fixed with the commit above.
Comment 5 SVN Robot 2014-01-28 13:31:31 UTC
"hdu" committed SVN revision 1562064 into trunk:
#i124121# prevent oblique/italic emulation with ITALIC_DONTKNOW fonts