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

Unified Diff: third_party/WebKit/LayoutTests/fast/text/variable-fonts/variable-gpos-m2b.html

Issue 2850743002: Test Variations GPOS mark to base placement (Closed)
Patch Set: Change to not using component glyphs, but fixed mark offsets Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/text/variable-fonts/variable-gpos-m2b-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/text/variable-fonts/variable-gpos-m2b.html
diff --git a/third_party/WebKit/LayoutTests/fast/text/variable-fonts/variable-gpos-m2b.html b/third_party/WebKit/LayoutTests/fast/text/variable-fonts/variable-gpos-m2b.html
new file mode 100644
index 0000000000000000000000000000000000000000..cb49b8acc483d5b54988e49c4a2b7bad3c60b6eb
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/text/variable-fonts/variable-gpos-m2b.html
@@ -0,0 +1,36 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<style>
+ @font-face {
+ font-family: variabletest_box;
+ src: url(../../../http/tests/resources/variabletest_box.ttf);
+ }
+
+ body {
+ font-family: variabletest_box, sans-serif;
+ sans-serif;
+ font-size: 100px;
+ }
+
+ .gpos_m2b_left {
+ font-variation-settings: "VM2B" 0;
+ }
+
+ .gpos_m2b_middle {
+ font-variation-settings: "VM2B" 500;
+ }
+
+ .gpos_m2b_right {
+ font-variation-settings: "VM2B" 1000;
+ }
+</style>
+<!-- The variabletest_box font has an M glyph saying "m2b pos" that combines
+ with the combining box below. And it has a glyph for combining box below
+ whose mark anchor can be shifted horizontally using the VM2B axis. The font
+ also has N and O glyphs which have fixed shifted base anchor points at the
+ middle and at the right position. In this ref test we compare whether
+ applying the VM2B axis works as expected and shifts the mark anchor point
+ left so that the combining mark is placed correctly at the middle and at
+ the right position. The VM2B rendering must be identical to the
+ conventional rendering with the fixed base anchor points. -->
+<span class="gpos_m2b_left">M&#x033B;</span> <span class="gpos_m2b_middle">M&#x033B;</span> <span class="gpos_m2b_right">M&#x033B;</span>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/text/variable-fonts/variable-gpos-m2b-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698