Hi,<br><br>Any help in this regard?<br><br>Thanks,<br>Sami<br><br><div class="gmail_quote">On Fri, Jul 13, 2012 at 1:00 AM, Samiullah Khawaja <span dir="ltr"><<a href="mailto:sami.khawaja@gmail.com" target="_blank">sami.khawaja@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<div><br></div><div>glyphPos[count].x_offset and y_offset is always 0 in my case for all glyphs, I debugged through the harfbuzz code found that the GPOS is not getting applied on the positions in any glyph.</div>
<div><br>
</div><div>Regards,</div><div>Sami<div><div class="h5"><br><br><div class="gmail_quote">On Fri, Jul 13, 2012 at 12:17 AM, Behdad Esfahbod <span dir="ltr"><<a href="mailto:behdad@behdad.org" target="_blank">behdad@behdad.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>On 07/12/2012 05:06 AM, Samiullah Khawaja wrote:<br>
><br>
> // render glyph at dst_x + glyph_bitmap->left<br>
> renderGlyph(ft_glyph, dst_x + glyph_bitmap->left);<br>
<br>
</div>You should also add glyphPos[count].x_offset here.<br>
And you seem to totally ignore vertical positioning.<br>
<span><font color="#888888"><br>
behdad<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div></div></div><div class="im">-- <br>Samiullah Khawaja<br>Software Engineer<br>email: <a href="mailto:sami.khawaja@gmail.com" target="_blank">sami.khawaja@gmail.com</a><br>
voice: <a href="tel:%2B%2892%29%200321-4184324" value="+923214184324" target="_blank">+(92) 0321-4184324</a><br>
</div></div>
</blockquote></div><br><br clear="all"><br>-- <br>Samiullah Khawaja<br>Software Engineer<br>email: <a href="mailto:sami.khawaja@gmail.com">sami.khawaja@gmail.com</a><br>voice: +(92) 0321-4184324<br>