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<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 class="im">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 class="HOEnZb"><font color="#888888"><br>
behdad<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <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>

</div>