> From: Simon Cozens <[email protected]> > To: [email protected] > Subject: Re: [HarfBuzz] How to increase harfbuzz numerical precision > Message-ID: <[email protected]> > 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).
_______________________________________________ HarfBuzz mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/harfbuzz
