#17 Scripting: ScaleToEm with single argument is buggy

closed
None
5
2004-04-11
2004-04-10
No

In fontforge-20040321,

ScaleToEm(em-size)

doesn't work (for example, ScaleToEm(1024) may result
in a font with ascend=1024 and descend=1)

However its very simple to fix (see patch attached).

Discussion

  • diff -u scripting.c.bak scripting.c

     
    Attachments
  • Logged In: YES
    user_id=201273

    Thanks, you are quite correct.

    PfaEdit has been renamed FontForge, and the patch has been
    applied to the http://fontforge.sf.net/ cvs tree instead of
    the pfaedit tree.

     
    • assigned_to: nobody --> pfaedit
    • status: open --> closed