WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
Bug 130840
Add Support for Glyph-level mirroring
https://bugs.webkit.org/show_bug.cgi?id=130840
Summary
Add Support for Glyph-level mirroring
Frédéric Wang (:fredw)
Reported
2014-03-27 08:37:49 PDT
Created
attachment 227948
[details]
testcase Currently, Font::glyphDataForCharacter accepts a mirror boolean to apply Character-level mirroring. However it does not allow to apply Glyph-level mirroring. See
http://www.microsoft.com/typography/OTSPEC/TTOCHAP1.htm#ltrrtl
This is needed for MathML operators such as integrals or sums, that don't have character-level mirroring defined in Unicode. In Blink & Gecko with the XITS fonts installed, the attached testcase shows mirroring of the bracket (character-level) and sum (glyph-level). The latter relies on the 'rtlm' feature of the XITS. Note that for MathML purpose, all what is needed is a way for Font::glyphDataForCharacter to use the rtlm substitution table, not to implement the font-feature-settings CSS property.
Attachments
testcase
(278 bytes, text/html)
2014-03-27 08:37 PDT
,
Frédéric Wang (:fredw)
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug