Skip to content

Commit

Permalink
Test deprecated tag fallback in a font
Browse files Browse the repository at this point in the history
The font supports the deprecated tag DHV instead of DIV. "dv" is mapped
to DIV and DHV, in that order. The test specifies `--language=dv`,
demonstrating that if a font does not support the first OpenType tag
mapped to a BCP 47 tag, it will fall back to the next tag.
  • Loading branch information
dscorbett committed Mar 31, 2018
1 parent 738bb99 commit 99d67a3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 0 deletions.
Binary file not shown.
1 change: 1 addition & 0 deletions test/shaping/data/in-house/tests/language-tags.tests
Expand Up @@ -10,3 +10,4 @@
../fonts/6991b13ce889466be6de3f66e891de2bc0f117ee.ttf:--language=zh-HK:U+004A:[gid6=0+1000]
../fonts/6991b13ce889466be6de3f66e891de2bc0f117ee.ttf:--language=zh-mo:U+004A:[gid6=0+1000]
../fonts/6991b13ce889466be6de3f66e891de2bc0f117ee.ttf:--language=zh-Hant-mo:U+004A:[gid6=0+1000]
../fonts/d3129450fafe5e5c98cfc25a4e71809b1b4d2855.ttf:--language=dv --no-glyph-names:U+007C:[2=0+156]

0 comments on commit 99d67a3

Please sign in to comment.