Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(569)

Issue 2845953002: Test OpenType rvrn Required Variation Alternates (Closed)

Created:
3 years, 7 months ago by drott
Modified:
3 years, 7 months ago
CC:
blink-reviews, chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Test OpenType rvrn Required Variation Alternates The rvrn feature [1] and the FeatureVariations part of GSUB describe single glyph substitutions dependent on variation axis values. In order to add test coverage for this, the variabletest_box.ttf font was extended to have two new glyphs for r and R respectively displaying "rvrn base" and "rvrn subst" (for "substituted"). When a new axis 'fvtt', ranging from 0 to 10, is set to >= 5, the rvrn_base glyph is replaced with the rvrn_subst glyph. This enables creating a reftest of where a lowercase r with font-variation-settings: "fvtt" 10; must match the uppercase R, which selects the "rvrn_subst" glyph explicitly. [1] https://www.microsoft.com/typography/OTSpec/features_pt.htm#rvrn BUG=715900 Review-Url: https://codereview.chromium.org/2845953002 Cr-Commit-Position: refs/heads/master@{#467621} Committed: https://chromium.googlesource.com/chromium/src/+/8ff4d2836039766ef72205144bb5f538d2712116

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -6 lines) Patch
M third_party/WebKit/LayoutTests/NeverFixTests View 1 chunk +1 line, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/text/variable-fonts/variable-gsub.html View 1 chunk +27 lines, -0 lines 0 comments Download
A + third_party/WebKit/LayoutTests/fast/text/variable-fonts/variable-gsub-expected.html View 1 chunk +5 lines, -6 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/resources/variabletest_box.ttf View Binary file 0 comments Download

Messages

Total messages: 15 (9 generated)
drott
3 years, 7 months ago (2017-04-27 07:31:21 UTC) #4
kojii
lgtm, this is great!
3 years, 7 months ago (2017-04-27 07:43:32 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2845953002/1
3 years, 7 months ago (2017-04-27 08:37:51 UTC) #9
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://chromium.googlesource.com/chromium/src/+/8ff4d2836039766ef72205144bb5f538d2712116
3 years, 7 months ago (2017-04-27 08:41:55 UTC) #12
behdad_google
My only comment is that axis tags with lowercase letters are reserved for standard axes. ...
3 years, 7 months ago (2017-04-27 21:35:23 UTC) #14
drott
3 years, 7 months ago (2017-04-28 08:21:44 UTC) #15
Message was sent while issue was closed.
On 2017/04/27 at 21:35:23, behdad wrote:
> My only comment is that axis tags with lowercase letters are reserved for
standard axes.  Please use uppercase.

Thanks, true, I'll update this in a subsequent CL.

Powered by Google App Engine
This is Rietveld 408576698