<div dir="ltr"><div class="gmail_extra"><div><div class="gmail_signature">2015-06-30 12:45 GMT+03: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 Konstantin,<br>
<br>
Sorry to open this topic again.<br>
<span class=""><br>
On Mon, Mar 2, 2015 at 7:19 PM, Konstantin Ritt <<a href="mailto:ritt.ks@gmail.com">ritt.ks@gmail.com</a>> wrote:<br>
> 2015-03-02 21:52 GMT+04:00 Vignesh Raman <<a href="mailto:rvignesh.raman@gmail.com">rvignesh.raman@gmail.com</a>>:<br>
>><br>
>> I checked this thai font issue on a board with Qt 4.7.4 libs and this<br>
>> happens with one particular font DejaVuSans.ttf.<br>
>> When I tried DejaVuSansCondensed.ttf font the issue is not seen. I<br>
>> wonder any of the harfbuzz-thai calls are not invoked for DejaVuSans<br>
>> font?<br>
><br>
><br>
> Might be a font issue. I already seen bugs related to an incorrect metrics<br>
> in DejaVu fonts.<br>
<br>
</span>How to check if the font has incorrect metrics?<br></blockquote><div><br></div><div>Not with Qt itself. Try i.e. FontForge.</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"><span class="">><br>
>><br>
>> Does font make a difference in harfbuzz bundled code<br>
>> (src/3rdpart/hafbuzz) in Qt.<br>
><br>
><br>
> Sure it does. Try inspecting the font's tables and metrics.<br>
<br>
</span>Is there a way to tell that the font ascent, descent values are incorrect?<br>
Is there a ratio between ascent and descent that Qt expects to render<br>
font correctly?<br></blockquote><div><br></div><div>Nope.</div><div><br></div><div><br></div><div>Regards,<br>Konstantin<br></div></div></div></div>