Description[DirectWrite] Add support for font-stretch suffixes
Add support for font family names with a font-stretch suffix (such as
Condensed, UltaExpanded, Narrow etc). If the full name fails to match an
installed font check for a font-stretch suffix and if so strip it and
set the stretch value according to the suffix.
The current implementation matches IE when it comes to picking or
overriding the stretch value based on the suffix.
The coresponding logic for font-weight suffix matching was implemented
in r181493.
TEST=fast/text/font-stretch-variant.html
BUG=410940
R=cpu@chromium.org, dglazkov@chromium.org
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=182061
Patch Set 1 #Patch Set 2 : removed trailing comma #
Messages
Total messages: 9 (3 generated)
|