On Tue, May 28, 2019 at 3:02 PM Eli Zaretskii <[email protected]> wrote:

> > From: Behdad Esfahbod <[email protected]>
> > Date: Tue, 28 May 2019 14:46:45 -0400
> > Cc: "[email protected]" <[email protected]>
> >
> > You pick what value you want to represent one pixel as.  Say, you choose
> 1024.  Then if you want to render at
> > "16px" font size, you set scale to 16*1024.  That's all.
>
> And then the values of hb_glyph_position_t should be divided by 1024
> to produce pixels when using this hb_font_t object?
>

Yes.

-- 
behdad
http://behdad.org/
_______________________________________________
HarfBuzz mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/harfbuzz

Reply via email to