<div dir="ltr"><div class="gmail_extra"><div><div class="gmail_signature">2015-02-24 13:58 GMT+04:00 Vignesh Raman <span dir="ltr"><<a href="mailto:rvignesh.raman@gmail.com" target="_blank">rvignesh.raman@gmail.com</a>></span>:<br></div></div><div class="gmail_quote"><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">Hi,<br>
<br>
In one of the test using qt harfbuzz the font "ซ้ำ" is rendered as<br>
<a href="http://postimg.org/image/77eo3ekbb/bfc768ce/" target="_blank">http://postimg.org/image/77eo3ekbb/bfc768ce/</a><br>
<br>
There was a similar issue reported in<br>
<a href="https://bugreports.qt.io/browse/QTBUG-21206" target="_blank">https://bugreports.qt.io/browse/QTBUG-21206</a>.<br>
<br>
I applied the harfbuzz thai patches from,<br>
<a href="http://linux.thai.net/websvn/wsvn/software.qt/trunk/qt-everywhere-opensource-4.7.0/?#ad73b806583aa98bb601f6b456fa92491" target="_blank">http://linux.thai.net/websvn/wsvn/software.qt/trunk/qt-everywhere-opensource-4.7.0/?#ad73b806583aa98bb601f6b456fa92491</a><br>
<br>
Also I applied the patch,<br>
Fix isolated Thai SARA AM handling - 44f415aafaf7eec56b31468a58e0ca768bbc082d<br>
<br>
But the issue was still not resolved.<br>
<br>
I checked in harfbuzz-0.9.38,<br>
./hb-view --annotate Tahoma.ttf "ซ้ำ" > thai1.png<br>
<br>
The text rendered properly (There is no overlap of vocal as shown in<br>
previous image)<br>
<a href="http://postimg.org/image/h62uhsu29/dab679e6/" target="_blank">http://postimg.org/image/h62uhsu29/dab679e6/</a><br>
<br></blockquote><div><br></div><div>You need Qt 5.5 (where HB-NG is the preferred shaper engine) or Qt 5.4 configured with -qt-harfbuzz.<div>Plz re-open <a href="https://bugreports.qt.io/browse/QTBUG-21206" target="_blank" style="font-size:12.8000001907349px">QTBUG-21206</a><span style="font-size:12.8000001907349px"> if the issue still reproducible with 5.5.</span></div></div><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">
<br>
My questions<br>
1) From above two test can we confirm that harfbuzz-0.9.38 renders the<br>
thai text correctly and qt harfbuzz is not rendering correctly?<br></blockquote><div><br></div><div>yes</div><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">
2) Is there a way to test thai characters/text with<br>
qt-everywhere-opensource-src-4.7.4/src/3rdparty/harfbuzz ?<br></blockquote><div><br></div><div>no. use Qt>=5.4</div><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">
3) Is this a know issue with qt harfbuzz ?<br></blockquote><div><br></div><div>didn't you just point to <a href="https://bugreports.qt.io/browse/QTBUG-21206" target="_blank" style="font-size:12.8000001907349px">QTBUG-21206</a>? so I'd say it is a known issue for old Qt.</div><div> </div><div><br></div><div>Regards,<br>Konstantin<br></div></div><br></div></div>