import/export cleanup

This commit is contained in:
be5invis 2021-07-28 20:13:04 -07:00
parent ead4159c55
commit 82913e9d7a
48 changed files with 195 additions and 234 deletions

View file

@ -2,16 +2,15 @@
const TypoGeom = require("typo-geom");
const Geom = require("../../support/geometry/index");
const Point = require("../../support/geometry/point");
const Transform = require("../../support/geometry/transform");
const { Point } = require("../../support/geometry/point");
const { Transform } = require("../../support/geometry/transform");
const CurveUtil = require("../../support/geometry/curve-util");
module.exports = finalizeGlyphs;
function finalizeGlyphs(cache, para, glyphStore) {
exports.finalizeGlyphs = function finalizeGlyphs(cache, para, glyphStore) {
const skew = Math.tan(((para.slopeAngle || 0) / 180) * Math.PI);
regulateGlyphStore(cache, skew, glyphStore);
return glyphStore;
}
};
///////////////////////////////////////////////////////////////////////////////////////////////////