From f408bf847a250f2d914a50de151cd63650601be5 Mon Sep 17 00:00:00 2001 From: Raph Levien Date: Fri, 30 Nov 2012 15:59:18 -0800 Subject: 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 --- data/fonts/DroidSansThai.ttf | Bin 35584 -> 35480 bytes 1 file changed, 0 insertions(+), 0 deletions(-) (limited to 'data') diff --git a/data/fonts/DroidSansThai.ttf b/data/fonts/DroidSansThai.ttf index c078be0..15b00c2 100644 Binary files a/data/fonts/DroidSansThai.ttf and b/data/fonts/DroidSansThai.ttf differ -- cgit v1.1