diff --git a/font-src/gen/build-font.js b/font-src/gen/build-font.js index 3a9a505d8..2c6eb43ec 100644 --- a/font-src/gen/build-font.js +++ b/font-src/gen/build-font.js @@ -1,7 +1,7 @@ "use strict"; const EmptyFont = require("./empty-font"); -const buildGlyphs = require("../glyphs/index"); +const { buildGlyphs } = require("../glyphs/index"); const finalizeFont = require("./finalize/index"); const convertOtd = require("./otd-conv/index"); const Caching = require("./caching/index"); diff --git a/font-src/glyphs/index.ptl b/font-src/glyphs/index.ptl index 37fdfffb5..9465df568 100644 --- a/font-src/glyphs/index.ptl +++ b/font-src/glyphs/index.ptl @@ -20,7 +20,7 @@ define [$NamedParameterPair$ l r] : begin define [$donothing$] nothing -export all : define [buildGlyphs para recursive recursiveCodes] : begin +export : define [buildGlyphs para recursive recursiveCodes] : begin local glyphStore : new GlyphStore define metrics : calculateMetrics para diff --git a/font-src/meta/macros.ptl b/font-src/meta/macros.ptl index adfc06ae5..3155040ba 100644 --- a/font-src/meta/macros.ptl +++ b/font-src/meta/macros.ptl @@ -122,7 +122,7 @@ define-macro glyph-module : syntax-rules ] define-macro run-glyph-module : syntax-rules - `[run-glyph-module @path] : dirty `[[import @path].apply.call $$Capture$$] + `[run-glyph-module @{'.quote' path}] : dirty `[@{'.import' [formOf path]}.apply.call $$Capture$$] define-macro glyph-block-import : syntax-rules `[glyph-block-import @_blockName] : begin diff --git a/package.json b/package.json index ad61212a7..c4b31d5b0 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "fs-extra": "^10.0.0", "ot-builder": "^1.0.6", "otb-ttc-bundle": "^1.0.4", - "patel": "^0.34.0", + "patel": "^0.35.0", "semver": "^7.3.5", "spiro": "^3.0.0", "stylus": "^0.54.8",