<div dir="ltr">A couple more data points:<div><br></div><div>- The most authoritative book on Thai font design I know of (<a href="http://ftp.opentle.org/pub/national-fonts/FONTBOOK.PDF">http://ftp.opentle.org/pub/national-fonts/FONTBOOK.PDF</a>) addresses this issue on page 83. (The illustration shows their recommended solution, which won't be quite enough for this case, I suspect).  (Also see page 76 for an illustration showing how to deal with PHINTHU below DO CHADA and TO PATAK.)</div><div><br></div><div>- It's common in Thai newspapers headlines (which are set with little leading) to have a vertically compressed DO CHADA and TO PATAK that do not extend below the baseline (e.g. <a href="http://www.thairath.co.th/media/IKbPejy4R5wTSf48k65QNeuVpZN.jpg">http://www.thairath.co.th/media/IKbPejy4R5wTSf48k65QNeuVpZN.jpg</a>) So one reasonable solution would be to use such a glyph with a normal SARA U or UU (similar to what Ed suggested).</div><div><br></div><div>I agree with Martin that the current solution looks bizarre.</div><div><br></div><div>James</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Nov 14, 2014 at 1:37 AM, Jungshik SHIN (신정식) <span dir="ltr"><<a href="mailto:jshin1987@gmail.com" target="_blank">jshin1987@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div>IIRC, what's suggested by Ed was one of options we presented to our Thai speaking reviewers along with what we currently have in Noto Sans Thai UI [1].  Our reviewers preferred the current way of dealing with a vertical metric constraint to what Ed suggested (squishing glyphs).  <div><br></div><div>We'll double check our record.  </div><div><br></div><div>Jungshik </div><div><br></div><div><br></div><div>[1] note that 'Noto Sans Thai' (for body/document) does not have this issue. It's only 'Noto Sans Thai UI' that had to come up with a "novel" solution</div><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Tue, Nov 11, 2014 at 11:00 AM, Roozbeh Pournader <span dir="ltr"><<a href="mailto:roozbeh@google.com" target="_blank">roozbeh@google.com</a>></span> wrote:<br></span><div><div class="h5"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">With the latest HarfBuzz and Noto Sans Thai, I'm seeing the result I'm attaching, which appears correct to me (and the same as Android Kitkat result you've attached).<div><br></div><div>But I see the same as what you are seeing on Android Lollipop. So this appears to be a bug somewhere in Android rather than HarfBuzz or Noto Sans.</div><div><br></div><div>Please file a bug at <a href="https://source.android.com/source/report-bugs.html" target="_blank">https://source.android.com/source/report-bugs.html</a> and send us a link to it. Thanks.</div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 11, 2014 at 8:59 AM, Ed Trager <span dir="ltr"><<a href="mailto:ed.trager@gmail.com" target="_blank">ed.trager@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>To the best of my knowledge, it seems extremely unlikely that U+0E0E THAI CHARACTER DO CHADA would have U+0E39 THAI CHARACTER SARA UU ( or U+0E38 THAI CHARACTER SARA U for that matter ) appear below it.</div><div><br></div><div>I can't think of any Central Thai words that would have that kind of spelling; and it seems even more unlikely that any of the minority languages would use DO CHADA at all.</div><div><br></div><div>Therefore, it seems very likely that the font designers did not specify an anchoring position point for SARA U or SARA UU appearing below consonants such as DO CHADA or U+0E0F THAI CHARACTER TO PATAK.</div><div><br></div><div>- Ed</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Mon, Nov 10, 2014 at 10:16 PM, Nguyễn Đức An <span dir="ltr"><<a href="mailto:annd1985@gmail.com" target="_blank">annd1985@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div><p dir="ltr">Dear Harfbuzz developers,<br>
We have an issue with Thai text render in Android L. When input U+0E0E and U+0E39, it displays wrong (please see the attach screen).<br>
I checked Thai Noto font (Google font) and Samsung Thai (Samsung font), issue happens with both of them.<br>
As i read the source of Harfbuzz, Thai reshaping only does separate SARA AM to NIKHAHIT & SARAA. So maybe the problem is not came from Harfbuzz.<br>
Any help is welcome.<br>
Thank you.</p>
<br></div></div>_______________________________________________<br>
HarfBuzz mailing list<br>
<a href="mailto:HarfBuzz@lists.freedesktop.org" target="_blank">HarfBuzz@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/harfbuzz" target="_blank">http://lists.freedesktop.org/mailman/listinfo/harfbuzz</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
HarfBuzz mailing list<br>
<a href="mailto:HarfBuzz@lists.freedesktop.org" target="_blank">HarfBuzz@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/harfbuzz" target="_blank">http://lists.freedesktop.org/mailman/listinfo/harfbuzz</a><br>
<br></blockquote></div><br></div></div></div></div>
<br>_______________________________________________<br>
HarfBuzz mailing list<br>
<a href="mailto:HarfBuzz@lists.freedesktop.org" target="_blank">HarfBuzz@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/harfbuzz" target="_blank">http://lists.freedesktop.org/mailman/listinfo/harfbuzz</a><br>
<br></blockquote></div></div></div><br></div></div>
<br>_______________________________________________<br>
HarfBuzz mailing list<br>
<a href="mailto:HarfBuzz@lists.freedesktop.org">HarfBuzz@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/harfbuzz" target="_blank">http://lists.freedesktop.org/mailman/listinfo/harfbuzz</a><br>
<br></blockquote></div><br></div>