[HarfBuzz] How to increase harfbuzz numerical precision

Kelvin Ma kelvinsthirteen at gmail.com
Tue Jun 28 22:40:32 UTC 2016


> From: Simon Cozens <simon at simon-cozens.org>
> To: harfbuzz at lists.freedesktop.org
> Subject: Re: [HarfBuzz] How to increase harfbuzz numerical precision
> Message-ID: <c27719a7-c461-926f-af28-809a47d6df89 at simon-cozens.org>
> Content-Type: text/plain; charset=utf-8
>
> On 29/06/2016 06:57, Kelvin Ma wrote:
> > How do I get harfbuzz to preserve the floats?
>
> There are no floats. Fonts are designed in integer units. What upem are
> you using?
>

Not true. OTF fonts can and are in floats, the integer thing is just a
recommendation. Also the upem is in the face, I’m talking about fonts that
you get from hb.font_create(hb_face). The scaling is baked into the font
with hb.font_set_scale(hb_font, k, k).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/harfbuzz/attachments/20160628/5c3f0437/attachment.html>


More information about the HarfBuzz mailing list