<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Nov 15, 2013 at 11:07 PM, Philipp Gesang <span dir="ltr"><<a href="mailto:Philipp.Gesang@alumni.uni-heidelberg.de" target="_blank">Philipp.Gesang@alumni.uni-heidelberg.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">···<date: 2013-11-15, Friday>···<from: Philipp Gesang>···<br>
<div class="im"><br>
> Hi all,<br>
><br>
> there is an inconsistency between the “italicangle” values as<br>
> returned by <a href="http://fontloader.info" target="_blank">fontloader.info</a>() and fontloader.open(). Both read<br>
> from the same field of the splinefont record, but the former<br>
> returns it using lua_pushinteger() whereas the latter uses<br>
> lua_pushnumber().<br>
<br>
</div>Oops, that should have been dump_intfield() and dump_floatfield()<br>
respectively.<br>
<div class="im"><br>
> lua_pushnumber(). Since the manual states that a float can be<br>
> expected in both cases, I suspect a bug.<br>
<br>
</div>Here is an example with a font that has a fractional italicangle:<br>
<br>
    file = "AntykwaTorunska-Italic.otf"<br>
    info = <a href="http://fontloader.info" target="_blank">fontloader.info</a> (file)<br>
    data = fontloader.open (file)<br>
    print(info.italicangle, data.italicangle)<br>
<br>
Output:<br>
<br>
    -9  -9.5<br>
</blockquote></div><br></div><div class="gmail_extra">Can you put on the tracker ?<br clear="all"></div><div class="gmail_extra"><br>-- <br>luigi<br>
</div></div>