Test deprecated tag fallback in a font
authorDavid Corbett <corbett.dav@husky.neu.edu>
Thu, 18 Jan 2018 21:33:39 +0000 (16:33 -0500)
committerBehdad Esfahbod <behdad@behdad.org>
Thu, 11 Oct 2018 17:54:28 +0000 (13:54 -0400)
commit65d01f77552a5102ee114d9917fd2ecf091a35c3
tree4dd33ecd5b405866e602e4b5bb74150932375b01
parent7c7cb2a98907d99ca86bdbfca0bf9c48bfa4ed49
Test deprecated tag fallback in a font

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.
test/shaping/data/in-house/fonts/d3129450fafe5e5c98cfc25a4e71809b1b4d2855.ttf [new file with mode: 0644]
test/shaping/data/in-house/tests/language-tags.tests