Pass through unknown ISO 639-3 language tags to OpenType engine
authorBehdad Esfahbod <behdad@behdad.org>
Fri, 2 Sep 2011 17:31:19 +0000 (13:31 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Fri, 2 Sep 2011 17:31:19 +0000 (13:31 -0400)
commit738d096a06822e63b3894bd817ecb90e5fb94f73
tree4467dccf3e8d158e388408d776331e1d4bd99137
parentea02cbf03c084b3ead6e9e4c9af07b3b47608d5b
Pass through unknown ISO 639-3 language tags to OpenType engine

In hb_ot_tag_from_language(), if first component of an unknown
language is three letters long, use it directly as OpenType language
tag (after case conversion and padding).
src/hb-ot-tag.cc
test/test-ot-tag.c