diff options
author | Raph Levien <raph@google.com> | 2012-11-30 15:59:18 -0800 |
---|---|---|
committer | Raph Levien <raph@google.com> | 2012-11-30 15:59:18 -0800 |
commit | f408bf847a250f2d914a50de151cd63650601be5 (patch) | |
tree | b8aab44a09e66f09dc2efdbb83412ca28e1c47f8 | |
parent | 0a40f2d4d28d99a6cd1216f3aa47cb10d6b905cc (diff) | |
download | frameworks_base-f408bf847a250f2d914a50de151cd63650601be5.zip frameworks_base-f408bf847a250f2d914a50de151cd63650601be5.tar.gz frameworks_base-f408bf847a250f2d914a50de151cd63650601be5.tar.bz2 |
Reorder tone mark and nikhahit in DroidSansThai.ttf
Fix for bug 6630331.
This is a workaround for a shortcoming in the Thai shaper in Harfbuzz.
De facto (but not documented) shaping rules dictate that a tone mark
followed by a SARA AM should be rendered with the NIKHAHIT below the
tone mark, rather than above it as would be indicated by a
straightforward interpretation of the GSUB and GPOS rules. This patch
adds an additional substitution of the form MAI THO + SARA AM ->
NIKHAHIT + MAI THO + SARA AA. The three tone marks affected are MAI EK,
MAI THO, and MAI CHATTAWA, based on an usage analysis of the Thai
dictioary included in ICU.
When we upgrade to harfbuzz-ng, we can revert this workaround.
Change-Id: I209ed094e7c89ea7f6fd6e983d37e396c6da1f64
-rw-r--r-- | data/fonts/DroidSansThai.ttf | bin | 35584 -> 35480 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/data/fonts/DroidSansThai.ttf b/data/fonts/DroidSansThai.ttf Binary files differindex c078be0..15b00c2 100644 --- a/data/fonts/DroidSansThai.ttf +++ b/data/fonts/DroidSansThai.ttf |