[HarfBuzz] Thai below-base normalization

Theppitak Karoonboonyanan thep at linux.thai.net
Mon Jan 20 19:27:21 PST 2014


Some typo fix: Phinthu is U+0E3A, not U+0E39.
And in case you asked for the font I use, I've attached it with this mail.

Regards,
-Thep.
-- 
Theppitak Karoonboonyanan
http://linux.thai.net/~thep/


On Tue, Jan 21, 2014 at 10:20 AM, Theppitak Karoonboonyanan
<thep at linux.thai.net> wrote:
> Hi,
>
> I'm trying to typeset Patani Malay text using Thai script as guided by
> the Royal Institute, and I have some problems with Phinthu-modified
> consonants with below-base vowel combined.
>
> See the attached  patani-sample-marked.jpg for the sample text
> (also attached as testbv.txt). With Harfbuzz 0.9.25, I get Phinthu
> (U+0E39), the consonant modifier, below the vowel, not right below
> the consonant. (See the attached 20140121-patani-bv-before.png.)
>
> In hb-unicode-private.hh, the combining class for U+0E39 is
> modified from 103 to 3. I believe there must be some reason
> behind this, but it prevents some ethnic languages from being
> properly rendered. AFAIK, there are some other languages that
> create new consonants with such modification.
>
> I try reverting this (with the attached 01_thai-ccc.patch) and get
> the proper rendering (20140121-patani-bv-after.png).
>
> Is the change reasonable?
>
> Regards,
> -Thep.
> --
> Theppitak Karoonboonyanan
> http://linux.thai.net/~thep/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TTFGaruda.ttf
Type: application/x-font-ttf
Size: 75556 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/harfbuzz/attachments/20140121/194a0905/attachment-0001.bin>


More information about the HarfBuzz mailing list