<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
From: Simon Cozens <<a href="mailto:simon@simon-cozens.org">simon@simon-cozens.org</a>><br>
To: <a href="mailto:harfbuzz@lists.freedesktop.org">harfbuzz@lists.freedesktop.org</a><br>
Subject: Re: [HarfBuzz] How to increase harfbuzz numerical precision<br>
Message-ID: <<a href="mailto:c27719a7-c461-926f-af28-809a47d6df89@simon-cozens.org">c27719a7-c461-926f-af28-809a47d6df89@simon-cozens.org</a>><br>
Content-Type: text/plain; charset=utf-8<br>
<br>
On 29/06/2016 06:57, Kelvin Ma wrote:<br>
> How do I get harfbuzz to preserve the floats?<br>
<br>
There are no floats. Fonts are designed in integer units. What upem are<br>
you using?<br></blockquote><div><br></div><div>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 <span style="font-family:monospace,monospace">hb.font_create(hb_face)</span>. The scaling is baked into the font with <span style="font-family:monospace,monospace">hb.font_set_scale(hb_font, k, k)</span>. <br></div></div></div></div>