<div dir="ltr"><div dir="ltr">On Tue, May 28, 2019 at 3:02 PM Eli Zaretskii <<a href="mailto:eliz@gnu.org">eliz@gnu.org</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">> From: Behdad Esfahbod <<a href="mailto:behdad@behdad.org" target="_blank">behdad@behdad.org</a>><br>
> Date: Tue, 28 May 2019 14:46:45 -0400<br>
> Cc: "<a href="mailto:harfbuzz@lists.freedesktop.org" target="_blank">harfbuzz@lists.freedesktop.org</a>" <<a href="mailto:harfbuzz@lists.freedesktop.org" target="_blank">harfbuzz@lists.freedesktop.org</a>><br>
> <br>
> You pick what value you want to represent one pixel as. Say, you choose 1024. Then if you want to render at<br>
> "16px" font size, you set scale to 16*1024. That's all. <br>
<br>
And then the values of hb_glyph_position_t should be divided by 1024<br>
to produce pixels when using this hb_font_t object?<br>
</blockquote></div><div><br></div>Yes.<br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature">behdad<br><a href="http://behdad.org/" target="_blank">http://behdad.org/</a></div></div>