Skip to content

Commit

Permalink
Small fixes
Browse files Browse the repository at this point in the history
The change from .genlib to .core should have no effect,
but helps the library to use more up-to-date code.

The other change fixes a typo.
  • Loading branch information
devosb committed Feb 21, 2017
1 parent bdaeb63 commit db1a26d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/examples/fontforge/FFcopyGlyphs.py
Expand Up @@ -5,7 +5,7 @@
__license__ = 'Released under the MIT License (http://opensource.org/licenses/MIT)'
__author__ = 'Martin Hosken'

from silfont.genlib import execute
from silfont.core import execute
import psMat

argspec = [
Expand Down Expand Up @@ -41,7 +41,7 @@ def copyglyph(font, infont, g, u, args) :
for r in g.references :
t = psMat.compose(r[1], scale)
newt = psMat.compose(psMat.identity(), psMat.translate(t[4], t[5]))
glyph.addreference(r[0], newt)
glyph.addReference(r[0], newt)
extras.add(r[0])
glyph.width = g.width * scale[0]
if args.anchors :
Expand Down

0 comments on commit db1a26d

Please sign in to comment.