Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@ot-builder/rectify

Package Overview
Dependencies
Maintainers
1
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ot-builder/rectify - npm Package Compare versions

Comparing version
1.1.0
to
1.1.1
+16
-1
CHANGELOG.json

@@ -5,3 +5,18 @@ {

{
"date": "Sun, 18 Jul 2021 02:11:53 GMT",
"date": "Sat, 11 Sep 2021 01:06:55 GMT",
"tag": "@ot-builder/rectify_v1.1.1",
"version": "1.1.1",
"comments": {
"patch": [
{
"author": "otbbuilder-dev@users.noreply.github.com",
"package": "@ot-builder/rectify",
"commit": "28bc4c48910f10dcabb090ab68e610ce499caa95",
"comment": "Bump @ot-builder/rectify to v1.1.1"
}
]
}
},
{
"date": "Sun, 18 Jul 2021 02:14:19 GMT",
"tag": "@ot-builder/rectify_v1.1.0",

@@ -8,0 +23,0 @@ "version": "1.1.0",

# Change Log - @ot-builder/rectify
This log was last generated on Sun, 18 Jul 2021 02:11:53 GMT and should not be manually modified.
This log was last generated on Sat, 11 Sep 2021 01:06:55 GMT and should not be manually modified.
<!-- Start content -->
## 1.1.1
Sat, 11 Sep 2021 01:06:55 GMT
### Patches
- Bump @ot-builder/rectify to v1.1.1 (otbbuilder-dev@users.noreply.github.com)
## 1.1.0
Sun, 18 Jul 2021 02:11:53 GMT
Sun, 18 Jul 2021 02:14:19 GMT

@@ -11,0 +19,0 @@ ### Minor changes

+1
-1

@@ -5,3 +5,3 @@ "use strict";

const tslib_1 = require("tslib");
tslib_1.__exportStar(require("./interface"), exports);
(0, tslib_1.__exportStar)(require("./interface"), exports);
// Font rectification

@@ -8,0 +8,0 @@ var rectify_font_1 = require("./procs/rectify-font");

@@ -22,7 +22,7 @@ "use strict";

const alg = new rectify_1.RectifyGsubGlyphCoordAlg(recGlyphs, recCoord, recPA);
const lookupCorrespondence = rectify_1.rectifyLookupList(table.lookups, alg, fnApplyGsubLookup);
const newTable = cleanup_1.cleanupGsubGposData(table, new Ot.Gsub.Table(), lookupCorrespondence, fnGsubLookupRemovable);
const lookupCorrespondence = (0, rectify_1.rectifyLookupList)(table.lookups, alg, fnApplyGsubLookup);
const newTable = (0, cleanup_1.cleanupGsubGposData)(table, new Ot.Gsub.Table(), lookupCorrespondence, fnGsubLookupRemovable);
if (newTable && newTable.featureVariations) {
for (const fv of newTable.featureVariations)
cleanup_1.axesRectifyFeatureVariation(recAxes, fv);
(0, cleanup_1.axesRectifyFeatureVariation)(recAxes, fv);
}

@@ -34,7 +34,7 @@ return newTable;

const alg = new rectify_1.RectifyGposGlyphCoordAlg(recGlyphs, recCoord, recPA);
const lookupCorrespondence = rectify_1.rectifyLookupList(table.lookups, alg, fnApplyGposLookup);
const newTable = cleanup_1.cleanupGsubGposData(table, new Ot.Gpos.Table(), lookupCorrespondence, fnGposLookupRemovable);
const lookupCorrespondence = (0, rectify_1.rectifyLookupList)(table.lookups, alg, fnApplyGposLookup);
const newTable = (0, cleanup_1.cleanupGsubGposData)(table, new Ot.Gpos.Table(), lookupCorrespondence, fnGposLookupRemovable);
if (newTable && newTable.featureVariations) {
for (const fv of newTable.featureVariations)
cleanup_1.axesRectifyFeatureVariation(recAxes, fv);
(0, cleanup_1.axesRectifyFeatureVariation)(recAxes, fv);
}

@@ -41,0 +41,0 @@ return newTable;

@@ -7,9 +7,9 @@ "use strict";

function inPlaceRectifyFontAxes(recAxes, font) {
return rectify_font_1.inPlaceRectifyFont(interface_1.IdGlyphRefRectifier, recAxes, interface_1.IdCoordRectifier, interface_1.IdPointAttachmentRectifier, font);
return (0, rectify_font_1.inPlaceRectifyFont)(interface_1.IdGlyphRefRectifier, recAxes, interface_1.IdCoordRectifier, interface_1.IdPointAttachmentRectifier, font);
}
exports.inPlaceRectifyFontAxes = inPlaceRectifyFontAxes;
function inPlaceRectifyFontCoords(recCoord, recPA, font) {
return rectify_font_1.inPlaceRectifyFont(interface_1.IdGlyphRefRectifier, interface_1.IdAxisRectifier, recCoord, recPA, font);
return (0, rectify_font_1.inPlaceRectifyFont)(interface_1.IdGlyphRefRectifier, interface_1.IdAxisRectifier, recCoord, recPA, font);
}
exports.inPlaceRectifyFontCoords = inPlaceRectifyFontCoords;
//# sourceMappingURL=rectify-coords.js.map

@@ -29,6 +29,6 @@ "use strict";

if (font.cmap) {
font.cmap = encoding_1.rectifyCmapTable(recGlyphRef, font.cmap);
font.cmap = (0, encoding_1.rectifyCmapTable)(recGlyphRef, font.cmap);
}
if (font.xPrv) {
font.xPrv = encoding_1.rectifyExtPrivateTable(recGlyphRef, font.xPrv);
font.xPrv = (0, encoding_1.rectifyExtPrivateTable)(recGlyphRef, font.xPrv);
}

@@ -38,26 +38,26 @@ }

if (font.fvar)
font.fvar = fvar_1.rectifyFvarTable(recAxes, font.fvar);
font.fvar = (0, fvar_1.rectifyFvarTable)(recAxes, font.fvar);
if (font.avar)
font.avar = avar_1.rectifyAvarTable(recAxes, font.avar);
font.avar = (0, avar_1.rectifyAvarTable)(recAxes, font.avar);
if (font.hhea)
font.hhea = hhea_vhea_1.rectifyHheaTable(recCoord, font.hhea);
font.hhea = (0, hhea_vhea_1.rectifyHheaTable)(recCoord, font.hhea);
if (font.vhea)
font.vhea = hhea_vhea_1.rectifyVheaTable(recCoord, font.vhea);
font.vhea = (0, hhea_vhea_1.rectifyVheaTable)(recCoord, font.vhea);
if (font.post)
font.post = post_1.rectifyPostTable(recCoord, font.post);
font.post = (0, post_1.rectifyPostTable)(recCoord, font.post);
if (font.os2)
font.os2 = os2_1.rectifyOs2Table(recCoord, font.os2);
font.os2 = (0, os2_1.rectifyOs2Table)(recCoord, font.os2);
if (font.gasp)
font.gasp = gasp_1.rectifyGaspTable(recCoord, font.gasp);
font.gasp = (0, gasp_1.rectifyGaspTable)(recCoord, font.gasp);
}
function rectifyGlyphs(recGlyphRef, recCoord, recPA, font) {
glyph_1.inPlaceRectifyGlyphStore(recGlyphRef, recCoord, recPA, font.glyphs);
(0, glyph_1.inPlaceRectifyGlyphStore)(recGlyphRef, recCoord, recPA, font.glyphs);
}
function rectifyCoGlyphs(recGlyphRef, recCoord, font) {
if (Ot.Font.isCff(font)) {
font.cff = cff_1.rectifyCffTable(recGlyphRef, recCoord, font.cff);
font.cff = (0, cff_1.rectifyCffTable)(recGlyphRef, recCoord, font.cff);
}
else {
if (font.cvt)
font.cvt = cvt_1.rectifyCvtTable(recCoord, font.cvt);
font.cvt = (0, cvt_1.rectifyCvtTable)(recCoord, font.cvt);
}

@@ -67,17 +67,17 @@ }

if (font.gdef) {
font.gdef = gdef_1.rectifyGdefTable(recGlyphRef, recCoord, recPA, font.gdef);
font.gdef = (0, gdef_1.rectifyGdefTable)(recGlyphRef, recCoord, recPA, font.gdef);
}
if (font.gsub) {
font.gsub = gsub_gpos_1.rectifyGsubTable(recGlyphRef, recAxes, recCoord, recPA, font.gsub);
font.gsub = (0, gsub_gpos_1.rectifyGsubTable)(recGlyphRef, recAxes, recCoord, recPA, font.gsub);
}
if (font.gpos) {
font.gpos = gsub_gpos_1.rectifyGposTable(recGlyphRef, recAxes, recCoord, recPA, font.gpos);
font.gpos = (0, gsub_gpos_1.rectifyGposTable)(recGlyphRef, recAxes, recCoord, recPA, font.gpos);
}
if (font.base) {
font.base = base_1.rectifyBaseTable(recGlyphRef, recCoord, recPA, font.base);
font.base = (0, base_1.rectifyBaseTable)(recGlyphRef, recCoord, recPA, font.base);
}
if (font.math) {
font.math = math_1.rectifyMathTable(recGlyphRef, recCoord, font.math);
font.math = (0, math_1.rectifyMathTable)(recGlyphRef, recCoord, font.math);
}
}
//# sourceMappingURL=rectify-font.js.map

@@ -7,5 +7,5 @@ "use strict";

function inPlaceRectifyFontGlyphReferences(rec, font) {
return rectify_font_1.inPlaceRectifyFont(rec, interface_1.IdAxisRectifier, interface_1.IdCoordRectifier, interface_1.IdPointAttachmentRectifier, font);
return (0, rectify_font_1.inPlaceRectifyFont)(rec, interface_1.IdAxisRectifier, interface_1.IdCoordRectifier, interface_1.IdPointAttachmentRectifier, font);
}
exports.inPlaceRectifyFontGlyphReferences = inPlaceRectifyFontGlyphReferences;
//# sourceMappingURL=rectify-glyphs.js.map
{
"name": "@ot-builder/rectify",
"version": "1.1.0",
"version": "1.1.1",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/ot-builder/monorepo.git",
"directory": "packages/rectify"
},
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
"files": [
"lib/**/*.js",
"lib/**/*.json",
"lib/**/*.d.ts"
],
"scripts": {

@@ -16,8 +26,8 @@ "build": "tsc -b ./tsconfig.package.json",

"dependencies": {
"@ot-builder/ot": "1.1.0",
"@ot-builder/common-impl": "1.1.0",
"@ot-builder/ot-glyphs": "1.1.0",
"@ot-builder/ot-metadata": "1.1.0",
"@ot-builder/prelude": "1.1.0",
"@ot-builder/variance": "1.1.0",
"@ot-builder/ot": "1.1.1",
"@ot-builder/common-impl": "1.1.1",
"@ot-builder/ot-glyphs": "1.1.1",
"@ot-builder/ot-metadata": "1.1.1",
"@ot-builder/prelude": "1.1.1",
"@ot-builder/variance": "1.1.1",
"tslib": "^2.0.0"

@@ -24,0 +34,0 @@ },