@ot-builder/rectify
Advanced tools
| import * as Ot from "@ot-builder/ot"; | ||
| import { GlyphReferenceRectifier } from "../interface"; | ||
| import type { GlyphReferenceRectifier } from "../interface"; | ||
| export declare function rectifyCmapTable(rec: GlyphReferenceRectifier, table: Ot.Cmap.Table): Ot.Cmap.Table; | ||
| export declare function rectifyExtPrivateTable(rec: GlyphReferenceRectifier, table: Ot.XPrv.Table): Ot.XPrv.Table; | ||
| //# sourceMappingURL=index.d.ts.map |
@@ -5,3 +5,4 @@ "use strict"; | ||
| exports.rectifyExtPrivateTable = rectifyExtPrivateTable; | ||
| const Ot = require("@ot-builder/ot"); | ||
| const tslib_1 = require("tslib"); | ||
| const Ot = tslib_1.__importStar(require("@ot-builder/ot")); | ||
| const shared_1 = require("../shared"); | ||
@@ -8,0 +9,0 @@ function rectifyCmapTable(rec, table) { |
| import * as Ot from "@ot-builder/ot"; | ||
| import { CoordRectifier, GlyphReferenceRectifier } from "../interface"; | ||
| import type { CoordRectifier, GlyphReferenceRectifier } from "../interface"; | ||
| export declare function rectifyCffTable(rg: GlyphReferenceRectifier, rc: CoordRectifier, table: Ot.Cff.Table): Ot.Cff.Table; | ||
| //# sourceMappingURL=cff.d.ts.map |
| "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| exports.rectifyCffTable = rectifyCffTable; | ||
| const Ot = require("@ot-builder/ot"); | ||
| const tslib_1 = require("tslib"); | ||
| const Ot = tslib_1.__importStar(require("@ot-builder/ot")); | ||
| const shared_1 = require("../shared"); | ||
@@ -6,0 +7,0 @@ function rectifyCoordPrivateDict(rec, pd) { |
| import * as Ot from "@ot-builder/ot"; | ||
| import { CoordRectifier } from "../interface"; | ||
| import type { CoordRectifier } from "../interface"; | ||
| export declare function rectifyCvtTable(rec: CoordRectifier, table: Ot.Cvt.Table): Ot.Cvt.Table; | ||
| //# sourceMappingURL=cvt.d.ts.map |
| "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| exports.rectifyCvtTable = rectifyCvtTable; | ||
| const Ot = require("@ot-builder/ot"); | ||
| const tslib_1 = require("tslib"); | ||
| const Ot = tslib_1.__importStar(require("@ot-builder/ot")); | ||
| function rectifyCvtTable(rec, table) { | ||
@@ -6,0 +7,0 @@ return new Ot.Cvt.Table(table.items.map(x => rec.cv(x))); |
| import * as Ot from "@ot-builder/ot"; | ||
| import { CoordRectifier, GlyphReferenceRectifier, PointAttachmentRectifier } from "../interface"; | ||
| import { type CoordRectifier, type GlyphReferenceRectifier, type PointAttachmentRectifier } from "../interface"; | ||
| export declare function inPlaceRectifyGlyphStore<GS extends Ot.GlyphStore>(recGlyphRef: GlyphReferenceRectifier, recCoord: CoordRectifier, recPA: PointAttachmentRectifier, glyphs: GS): void; | ||
| //# sourceMappingURL=index.d.ts.map |
| "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| exports.inPlaceRectifyGlyphStore = inPlaceRectifyGlyphStore; | ||
| const Ot = require("@ot-builder/ot"); | ||
| const tslib_1 = require("tslib"); | ||
| const Ot = tslib_1.__importStar(require("@ot-builder/ot")); | ||
| const interface_1 = require("../interface"); | ||
@@ -6,0 +7,0 @@ const shared_1 = require("../shared"); |
+6
-6
@@ -1,9 +0,6 @@ | ||
| export * from "./interface"; | ||
| export { inPlaceRectifyFont } from "./procs/rectify-font"; | ||
| export { inPlaceRectifyFontGlyphReferences } from "./procs/rectify-glyphs"; | ||
| export { inPlaceRectifyFontAxes, inPlaceRectifyFontCoords } from "./procs/rectify-coords"; | ||
| export { rectifyExtPrivateTable, rectifyCmapTable } from "./encoding"; | ||
| export { rectifyCmapTable, rectifyExtPrivateTable } from "./encoding"; | ||
| export { inPlaceRectifyGlyphStore } from "./glyph"; | ||
| export { rectifyCffTable } from "./glyph-store/cff"; | ||
| export { rectifyCvtTable } from "./glyph-store/cvt"; | ||
| export * from "./interface"; | ||
| export { rectifyBaseTable } from "./layout/base"; | ||
@@ -19,3 +16,6 @@ export { rectifyGdefTable } from "./layout/gdef"; | ||
| export { rectifyPostTable } from "./meta/post"; | ||
| export { rectifyTSI0123Table, rectifyTSI5Table } from "./private/vtt"; | ||
| export { rectifyTSI5Table, rectifyTSI0123Table } from "./private/vtt"; | ||
| export { inPlaceRectifyFontAxes, inPlaceRectifyFontCoords } from "./procs/rectify-coords"; | ||
| export { inPlaceRectifyFont } from "./procs/rectify-font"; | ||
| export { inPlaceRectifyFontGlyphReferences } from "./procs/rectify-glyphs"; | ||
| //# sourceMappingURL=index.d.ts.map |
+12
-12
| "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| exports.rectifyTSI5Table = exports.rectifyTSI0123Table = exports.rectifyPostTable = exports.rectifyOs2Table = exports.rectifyVheaTable = exports.rectifyHheaTable = exports.rectifyGaspTable = exports.rectifyFvarTable = exports.rectifyAvarTable = exports.rectifyMathTable = exports.rectifyGsubTable = exports.rectifyGposTable = exports.rectifyGdefTable = exports.rectifyBaseTable = exports.rectifyCvtTable = exports.rectifyCffTable = exports.inPlaceRectifyGlyphStore = exports.rectifyCmapTable = exports.rectifyExtPrivateTable = exports.inPlaceRectifyFontCoords = exports.inPlaceRectifyFontAxes = exports.inPlaceRectifyFontGlyphReferences = exports.inPlaceRectifyFont = void 0; | ||
| exports.inPlaceRectifyFontGlyphReferences = exports.inPlaceRectifyFont = exports.inPlaceRectifyFontCoords = exports.inPlaceRectifyFontAxes = exports.rectifyTSI0123Table = exports.rectifyTSI5Table = exports.rectifyPostTable = exports.rectifyOs2Table = exports.rectifyVheaTable = exports.rectifyHheaTable = exports.rectifyGaspTable = exports.rectifyFvarTable = exports.rectifyAvarTable = exports.rectifyMathTable = exports.rectifyGsubTable = exports.rectifyGposTable = exports.rectifyGdefTable = exports.rectifyBaseTable = exports.rectifyCvtTable = exports.rectifyCffTable = exports.inPlaceRectifyGlyphStore = exports.rectifyExtPrivateTable = exports.rectifyCmapTable = void 0; | ||
| const tslib_1 = require("tslib"); | ||
| tslib_1.__exportStar(require("./interface"), exports); | ||
| // Font rectification | ||
| var rectify_font_1 = require("./procs/rectify-font"); | ||
| Object.defineProperty(exports, "inPlaceRectifyFont", { enumerable: true, get: function () { return rectify_font_1.inPlaceRectifyFont; } }); | ||
| var rectify_glyphs_1 = require("./procs/rectify-glyphs"); | ||
| Object.defineProperty(exports, "inPlaceRectifyFontGlyphReferences", { enumerable: true, get: function () { return rectify_glyphs_1.inPlaceRectifyFontGlyphReferences; } }); | ||
| var rectify_coords_1 = require("./procs/rectify-coords"); | ||
| Object.defineProperty(exports, "inPlaceRectifyFontAxes", { enumerable: true, get: function () { return rectify_coords_1.inPlaceRectifyFontAxes; } }); | ||
| Object.defineProperty(exports, "inPlaceRectifyFontCoords", { enumerable: true, get: function () { return rectify_coords_1.inPlaceRectifyFontCoords; } }); | ||
| // Single table rectification | ||
| var encoding_1 = require("./encoding"); | ||
| Object.defineProperty(exports, "rectifyCmapTable", { enumerable: true, get: function () { return encoding_1.rectifyCmapTable; } }); | ||
| Object.defineProperty(exports, "rectifyExtPrivateTable", { enumerable: true, get: function () { return encoding_1.rectifyExtPrivateTable; } }); | ||
| Object.defineProperty(exports, "rectifyCmapTable", { enumerable: true, get: function () { return encoding_1.rectifyCmapTable; } }); | ||
| var glyph_1 = require("./glyph"); | ||
@@ -24,2 +15,3 @@ Object.defineProperty(exports, "inPlaceRectifyGlyphStore", { enumerable: true, get: function () { return glyph_1.inPlaceRectifyGlyphStore; } }); | ||
| Object.defineProperty(exports, "rectifyCvtTable", { enumerable: true, get: function () { return cvt_1.rectifyCvtTable; } }); | ||
| tslib_1.__exportStar(require("./interface"), exports); | ||
| var base_1 = require("./layout/base"); | ||
@@ -48,4 +40,12 @@ Object.defineProperty(exports, "rectifyBaseTable", { enumerable: true, get: function () { return base_1.rectifyBaseTable; } }); | ||
| var vtt_1 = require("./private/vtt"); | ||
| Object.defineProperty(exports, "rectifyTSI5Table", { enumerable: true, get: function () { return vtt_1.rectifyTSI5Table; } }); | ||
| Object.defineProperty(exports, "rectifyTSI0123Table", { enumerable: true, get: function () { return vtt_1.rectifyTSI0123Table; } }); | ||
| Object.defineProperty(exports, "rectifyTSI5Table", { enumerable: true, get: function () { return vtt_1.rectifyTSI5Table; } }); | ||
| var rectify_coords_1 = require("./procs/rectify-coords"); | ||
| Object.defineProperty(exports, "inPlaceRectifyFontAxes", { enumerable: true, get: function () { return rectify_coords_1.inPlaceRectifyFontAxes; } }); | ||
| Object.defineProperty(exports, "inPlaceRectifyFontCoords", { enumerable: true, get: function () { return rectify_coords_1.inPlaceRectifyFontCoords; } }); | ||
| // Font rectification | ||
| var rectify_font_1 = require("./procs/rectify-font"); | ||
| Object.defineProperty(exports, "inPlaceRectifyFont", { enumerable: true, get: function () { return rectify_font_1.inPlaceRectifyFont; } }); | ||
| var rectify_glyphs_1 = require("./procs/rectify-glyphs"); | ||
| Object.defineProperty(exports, "inPlaceRectifyFontGlyphReferences", { enumerable: true, get: function () { return rectify_glyphs_1.inPlaceRectifyFontGlyphReferences; } }); | ||
| //# sourceMappingURL=index.js.map |
@@ -1,2 +0,2 @@ | ||
| import * as Ot from "@ot-builder/ot"; | ||
| import type * as Ot from "@ot-builder/ot"; | ||
| export interface GlyphReferenceRectifier { | ||
@@ -3,0 +3,0 @@ glyphRef(from: Ot.Glyph): null | undefined | Ot.Glyph; |
| import * as Ot from "@ot-builder/ot"; | ||
| import { CoordRectifier, GlyphReferenceRectifier, PointAttachmentRectifier } from "../../interface"; | ||
| import { type CoordRectifier, type GlyphReferenceRectifier, type PointAttachmentRectifier } from "../../interface"; | ||
| export declare function rectifyBaseTable(recGlyphRef: GlyphReferenceRectifier, recCoord: CoordRectifier, recPA: PointAttachmentRectifier, at: Ot.Base.Table): Ot.Base.Table; | ||
| //# sourceMappingURL=index.d.ts.map |
| "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| exports.rectifyBaseTable = rectifyBaseTable; | ||
| const Ot = require("@ot-builder/ot"); | ||
| const tslib_1 = require("tslib"); | ||
| const Ot = tslib_1.__importStar(require("@ot-builder/ot")); | ||
| const interface_1 = require("../../interface"); | ||
@@ -6,0 +7,0 @@ const shared_1 = require("../../shared"); |
| import * as Ot from "@ot-builder/ot"; | ||
| import { CoordRectifier, GlyphReferenceRectifier, PointAttachmentRectifier } from "../../interface"; | ||
| import { type CoordRectifier, type GlyphReferenceRectifier, type PointAttachmentRectifier } from "../../interface"; | ||
| export declare function rectifyGdefTable(recGlyphRef: GlyphReferenceRectifier, recCoord: CoordRectifier, recPA: PointAttachmentRectifier, gdef: Ot.Gdef.Table): Ot.Gdef.Table; | ||
| //# sourceMappingURL=index.d.ts.map |
| "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| exports.rectifyGdefTable = rectifyGdefTable; | ||
| const ImpLib = require("@ot-builder/common-impl"); | ||
| const Ot = require("@ot-builder/ot"); | ||
| const tslib_1 = require("tslib"); | ||
| const ImpLib = tslib_1.__importStar(require("@ot-builder/common-impl")); | ||
| const Ot = tslib_1.__importStar(require("@ot-builder/ot")); | ||
| const interface_1 = require("../../interface"); | ||
@@ -7,0 +8,0 @@ const shared_1 = require("../../shared"); |
@@ -1,3 +0,3 @@ | ||
| import * as Ot from "@ot-builder/ot"; | ||
| import { AxisRectifier } from "../../interface"; | ||
| import type * as Ot from "@ot-builder/ot"; | ||
| import type { AxisRectifier } from "../../interface"; | ||
| export interface LookupCleaner<L> { | ||
@@ -4,0 +4,0 @@ lookupRemovable(lookup: L): boolean; |
| import * as Ot from "@ot-builder/ot"; | ||
| import { AxisRectifier, CoordRectifier, GlyphReferenceRectifier, PointAttachmentRectifier } from "../../interface"; | ||
| import type { AxisRectifier, CoordRectifier, GlyphReferenceRectifier, PointAttachmentRectifier } from "../../interface"; | ||
| export declare function rectifyGsubTable(recGlyphs: GlyphReferenceRectifier, recAxes: AxisRectifier, recCoord: CoordRectifier, recPA: PointAttachmentRectifier, table: Ot.Gsub.Table): Ot.Gsub.Table | null; | ||
| export declare function rectifyGposTable(recGlyphs: GlyphReferenceRectifier, recAxes: AxisRectifier, recCoord: CoordRectifier, recPA: PointAttachmentRectifier, table: Ot.Gpos.Table): Ot.Gpos.Table | null; | ||
| //# sourceMappingURL=index.d.ts.map |
@@ -5,3 +5,4 @@ "use strict"; | ||
| exports.rectifyGposTable = rectifyGposTable; | ||
| const Ot = require("@ot-builder/ot"); | ||
| const tslib_1 = require("tslib"); | ||
| const Ot = tslib_1.__importStar(require("@ot-builder/ot")); | ||
| const cleanup_1 = require("./cleanup"); | ||
@@ -17,3 +18,3 @@ const lookup_removable_alg_1 = require("./lookup-removable-alg"); | ||
| }); | ||
| if (newTable && newTable.featureVariations) { | ||
| if (newTable === null || newTable === void 0 ? void 0 : newTable.featureVariations) { | ||
| for (const fv of newTable.featureVariations) | ||
@@ -31,3 +32,3 @@ (0, cleanup_1.axesRectifyFeatureVariation)(recAxes, fv); | ||
| }); | ||
| if (newTable && newTable.featureVariations) { | ||
| if (newTable === null || newTable === void 0 ? void 0 : newTable.featureVariations) { | ||
| for (const fv of newTable.featureVariations) | ||
@@ -34,0 +35,0 @@ (0, cleanup_1.axesRectifyFeatureVariation)(recAxes, fv); |
| "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| exports.RemoveBrokenLinkAlg = exports.CRemoveBrokenLinkAlg = exports.LookupRemovableAlg = exports.CLookupRemovableAlg = void 0; | ||
| const Ot = require("@ot-builder/ot"); | ||
| const tslib_1 = require("tslib"); | ||
| const Ot = tslib_1.__importStar(require("@ot-builder/ot")); | ||
| class CLookupRemovableAlg { | ||
@@ -6,0 +7,0 @@ process(lookup) { |
| import * as Ot from "@ot-builder/ot"; | ||
| import { Data } from "@ot-builder/prelude"; | ||
| import { CoordRectifier, GlyphReferenceRectifier, PointAttachmentRectifier } from "../../interface"; | ||
| import type { Data } from "@ot-builder/prelude"; | ||
| import { type CoordRectifier, type GlyphReferenceRectifier, type PointAttachmentRectifier } from "../../interface"; | ||
| export type RStub<C> = { | ||
@@ -5,0 +5,0 @@ demand: C; |
@@ -6,3 +6,4 @@ "use strict"; | ||
| exports.rectifyLookupList = rectifyLookupList; | ||
| const Ot = require("@ot-builder/ot"); | ||
| const tslib_1 = require("tslib"); | ||
| const Ot = tslib_1.__importStar(require("@ot-builder/ot")); | ||
| const interface_1 = require("../../interface"); | ||
@@ -49,6 +50,6 @@ const shared_1 = require("../../shared"); | ||
| ret.rules = []; | ||
| ProcessRules: for (const rule of props.rules) { | ||
| for (const rule of props.rules) { | ||
| const match1 = shared_1.RectifyImpl.listAllT(this.rg, rule.match, shared_1.RectifyImpl.Glyph.setSome); | ||
| if (!match1 || !this.isValidMatchingSequence(match1)) | ||
| continue ProcessRules; | ||
| continue; | ||
| const applications1 = []; | ||
@@ -55,0 +56,0 @@ for (const app of rule.applications) { |
| import * as Ot from "@ot-builder/ot"; | ||
| import { CoordRectifier, GlyphReferenceRectifier } from "../../interface"; | ||
| import type { CoordRectifier, GlyphReferenceRectifier } from "../../interface"; | ||
| export declare function rectifyMathTable(rg: GlyphReferenceRectifier, rc: CoordRectifier, mt: Ot.Math.Table): Ot.Math.Table; | ||
| //# sourceMappingURL=index.d.ts.map |
| "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| exports.rectifyMathTable = rectifyMathTable; | ||
| const Ot = require("@ot-builder/ot"); | ||
| const tslib_1 = require("tslib"); | ||
| const Ot = tslib_1.__importStar(require("@ot-builder/ot")); | ||
| const shared_1 = require("../../shared"); | ||
@@ -6,0 +7,0 @@ function rectifyMathTable(rg, rc, mt) { |
| import * as Ot from "@ot-builder/ot"; | ||
| import { AxisRectifier } from "../interface"; | ||
| import type { AxisRectifier } from "../interface"; | ||
| export declare function rectifyAvarTable(rec: AxisRectifier, avar: Ot.Avar.Table): Ot.Avar.Table; | ||
| //# sourceMappingURL=avar.d.ts.map |
+2
-1
| "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| exports.rectifyAvarTable = rectifyAvarTable; | ||
| const Ot = require("@ot-builder/ot"); | ||
| const tslib_1 = require("tslib"); | ||
| const Ot = tslib_1.__importStar(require("@ot-builder/ot")); | ||
| function rectifyAvarTable(rec, avar) { | ||
@@ -6,0 +7,0 @@ const maps1 = new Map(); |
| import * as Ot from "@ot-builder/ot"; | ||
| import { AxisRectifier } from "../interface"; | ||
| import type { AxisRectifier } from "../interface"; | ||
| export declare function rectifyFvarTable(rec: AxisRectifier, fvar: Ot.Fvar.Table): Ot.Fvar.Table; | ||
| //# sourceMappingURL=fvar.d.ts.map |
+2
-1
| "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| exports.rectifyFvarTable = rectifyFvarTable; | ||
| const Ot = require("@ot-builder/ot"); | ||
| const tslib_1 = require("tslib"); | ||
| const Ot = tslib_1.__importStar(require("@ot-builder/ot")); | ||
| function rectifyFvarTable(rec, fvar) { | ||
@@ -6,0 +7,0 @@ const axes = rectifyAxesImpl(rec, fvar); |
| import * as Ot from "@ot-builder/ot"; | ||
| import { CoordRectifier } from "../interface"; | ||
| import type { CoordRectifier } from "../interface"; | ||
| export declare function rectifyGaspTable(rec: CoordRectifier, table: Ot.Gasp.Table): Ot.Gasp.Table; | ||
| //# sourceMappingURL=gasp.d.ts.map |
+2
-1
| "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| exports.rectifyGaspTable = rectifyGaspTable; | ||
| const Ot = require("@ot-builder/ot"); | ||
| const tslib_1 = require("tslib"); | ||
| const Ot = tslib_1.__importStar(require("@ot-builder/ot")); | ||
| function rectifyGaspTable(rec, table) { | ||
@@ -6,0 +7,0 @@ return new Ot.Gasp.Table(table.ranges.map(range => new Ot.Gasp.Range(rec.cv(range.maxPPEM), range.behavior))); |
| import * as Ot from "@ot-builder/ot"; | ||
| import { CoordRectifier } from "../interface"; | ||
| import type { CoordRectifier } from "../interface"; | ||
| export declare function rectifyHheaTable(rec: CoordRectifier, table: Ot.MetricHead.Table): Ot.MetricHead.Hhea; | ||
| export declare function rectifyVheaTable(rec: CoordRectifier, table: Ot.MetricHead.Table): Ot.MetricHead.Vhea; | ||
| //# sourceMappingURL=hhea-vhea.d.ts.map |
@@ -5,3 +5,4 @@ "use strict"; | ||
| exports.rectifyVheaTable = rectifyVheaTable; | ||
| const Ot = require("@ot-builder/ot"); | ||
| const tslib_1 = require("tslib"); | ||
| const Ot = tslib_1.__importStar(require("@ot-builder/ot")); | ||
| function inPlaceRectifyHheaVheaTable(rec, newTable, table) { | ||
@@ -8,0 +9,0 @@ newTable.advanceMax = table.advanceMax; |
| import * as Ot from "@ot-builder/ot"; | ||
| import { CoordRectifier } from "../interface"; | ||
| import type { CoordRectifier } from "../interface"; | ||
| export declare function rectifyOs2Table(rec: CoordRectifier, table: Ot.Os2.Table): Ot.Os2.Table; | ||
| //# sourceMappingURL=os2.d.ts.map |
+2
-1
| "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| exports.rectifyOs2Table = rectifyOs2Table; | ||
| const Ot = require("@ot-builder/ot"); | ||
| const tslib_1 = require("tslib"); | ||
| const Ot = tslib_1.__importStar(require("@ot-builder/ot")); | ||
| function rectifyOs2Table(rec, table) { | ||
@@ -6,0 +7,0 @@ const newTable = new Ot.Os2.Table(table.version); |
| import * as Ot from "@ot-builder/ot"; | ||
| import { CoordRectifier } from "../interface"; | ||
| import type { CoordRectifier } from "../interface"; | ||
| export declare function rectifyPostTable(rec: CoordRectifier, table: Ot.Post.Table): Ot.Post.Table; | ||
| //# sourceMappingURL=post.d.ts.map |
+2
-1
| "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| exports.rectifyPostTable = rectifyPostTable; | ||
| const Ot = require("@ot-builder/ot"); | ||
| const tslib_1 = require("tslib"); | ||
| const Ot = tslib_1.__importStar(require("@ot-builder/ot")); | ||
| function rectifyPostTable(rec, table) { | ||
@@ -6,0 +7,0 @@ const newTable = new Ot.Post.Table(table.majorVersion, table.minorVersion); |
| import * as Ot from "@ot-builder/ot"; | ||
| import { GlyphReferenceRectifier } from "../interface"; | ||
| import type { GlyphReferenceRectifier } from "../interface"; | ||
| export declare function rectifyTSI0123Table(rg: GlyphReferenceRectifier, table: Ot.TSI0123.Table): Ot.TSI0123.Table; | ||
| export declare function rectifyTSI5Table(rg: GlyphReferenceRectifier, table: Ot.TSI5.Table): Ot.TSI5.Table; | ||
| //# sourceMappingURL=vtt.d.ts.map |
@@ -5,3 +5,4 @@ "use strict"; | ||
| exports.rectifyTSI5Table = rectifyTSI5Table; | ||
| const Ot = require("@ot-builder/ot"); | ||
| const tslib_1 = require("tslib"); | ||
| const Ot = tslib_1.__importStar(require("@ot-builder/ot")); | ||
| const shared_1 = require("../shared"); | ||
@@ -8,0 +9,0 @@ // We do not implement rectifier for TSIC since it uses a different variation model |
@@ -1,5 +0,5 @@ | ||
| import * as Ot from "@ot-builder/ot"; | ||
| import { OtGlyph } from "@ot-builder/ot-glyphs"; | ||
| import { Data } from "@ot-builder/prelude"; | ||
| import { AxisRectifier, CoordRectifier, PointAttachmentRectifier } from "../interface"; | ||
| import type * as Ot from "@ot-builder/ot"; | ||
| import type { OtGlyph } from "@ot-builder/ot-glyphs"; | ||
| import type { Data } from "@ot-builder/prelude"; | ||
| import { type AxisRectifier, type CoordRectifier, type PointAttachmentRectifier } from "../interface"; | ||
| type OtGlyphStore = Data.OrderStore<OtGlyph>; | ||
@@ -6,0 +6,0 @@ export declare function inPlaceRectifyFontAxes<GS extends OtGlyphStore>(recAxes: AxisRectifier, font: Ot.Font<GS>): void; |
| import * as Ot from "@ot-builder/ot"; | ||
| import { AxisRectifier, CoordRectifier, GlyphReferenceRectifier, PointAttachmentRectifier } from "../interface"; | ||
| import type { AxisRectifier, CoordRectifier, GlyphReferenceRectifier, PointAttachmentRectifier } from "../interface"; | ||
| export declare function inPlaceRectifyFont<GS extends Ot.GlyphStore>(recGlyphRef: GlyphReferenceRectifier, recAxes: AxisRectifier, recCoord: CoordRectifier, recPA: PointAttachmentRectifier, font: Ot.Font<GS>): void; | ||
| //# sourceMappingURL=rectify-font.d.ts.map |
| "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| exports.inPlaceRectifyFont = inPlaceRectifyFont; | ||
| const Ot = require("@ot-builder/ot"); | ||
| const tslib_1 = require("tslib"); | ||
| const Ot = tslib_1.__importStar(require("@ot-builder/ot")); | ||
| const encoding_1 = require("../encoding"); | ||
@@ -6,0 +7,0 @@ const glyph_1 = require("../glyph"); |
@@ -1,4 +0,4 @@ | ||
| import * as Ot from "@ot-builder/ot"; | ||
| import { GlyphReferenceRectifier } from "../interface"; | ||
| import type * as Ot from "@ot-builder/ot"; | ||
| import { type GlyphReferenceRectifier } from "../interface"; | ||
| export declare function inPlaceRectifyFontGlyphReferences<GS extends Ot.GlyphStore>(rec: GlyphReferenceRectifier, font: Ot.Font<GS>): void; | ||
| //# sourceMappingURL=rectify-glyphs.d.ts.map |
@@ -1,4 +0,4 @@ | ||
| import * as Ot from "@ot-builder/ot"; | ||
| import { Data } from "@ot-builder/prelude"; | ||
| import { CoordRectifier, GlyphReferenceRectifier } from "../interface"; | ||
| import type * as Ot from "@ot-builder/ot"; | ||
| import type { Data } from "@ot-builder/prelude"; | ||
| import type { CoordRectifier, GlyphReferenceRectifier } from "../interface"; | ||
| export declare namespace RectifyImpl { | ||
@@ -5,0 +5,0 @@ function Id<R, X>(r: R, x: X): X; |
+7
-7
| { | ||
| "name": "@ot-builder/rectify", | ||
| "version": "1.7.8", | ||
| "version": "1.8.0", | ||
| "license": "MIT", | ||
@@ -26,8 +26,8 @@ "repository": { | ||
| "dependencies": { | ||
| "@ot-builder/ot": "1.7.8", | ||
| "@ot-builder/common-impl": "1.7.7", | ||
| "@ot-builder/ot-glyphs": "1.7.8", | ||
| "@ot-builder/ot-metadata": "1.7.8", | ||
| "@ot-builder/prelude": "1.7.7", | ||
| "@ot-builder/variance": "1.7.8", | ||
| "@ot-builder/ot": "1.8.0", | ||
| "@ot-builder/common-impl": "1.8.0", | ||
| "@ot-builder/ot-glyphs": "1.8.0", | ||
| "@ot-builder/ot-metadata": "1.8.0", | ||
| "@ot-builder/prelude": "1.8.0", | ||
| "@ot-builder/variance": "1.8.0", | ||
| "tslib": "^2.8.1" | ||
@@ -34,0 +34,0 @@ }, |
99558
1.31%2114
0.86%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
Updated
Updated
Updated
Updated