js.documents 1.91.3 → 1.91.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/convert/convert.d.cts +2 -2
- package/dist/convert/convert.d.ts +1 -1
- package/dist/convert/document-fonts.d.cts +1 -1
- package/dist/convert/document-fonts.d.ts +1 -1
- package/dist/convert/port.d.cts +1 -2
- package/dist/convert/port.d.ts +1 -2
- package/dist/edit/geometry.d.cts +1 -1
- package/dist/edit/geometry.d.ts +1 -1
- package/dist/edit/markdown/editor.d.cts +1 -1
- package/dist/edit/markdown/editor.d.ts +1 -1
- package/dist/edit/odg/editor.d.cts +1 -1
- package/dist/edit/odg/editor.d.ts +1 -1
- package/dist/edit/odg/page.d.cts +2 -2
- package/dist/edit/odg/page.d.ts +2 -2
- package/dist/edit/odp/editor.d.cts +1 -1
- package/dist/edit/odp/editor.d.ts +1 -1
- package/dist/edit/odp/image.d.cts +1 -1
- package/dist/edit/odp/image.d.ts +1 -1
- package/dist/edit/odp/shape.d.cts +1 -1
- package/dist/edit/odp/shape.d.ts +1 -1
- package/dist/edit/odp/slide.d.cts +4 -4
- package/dist/edit/odp/slide.d.ts +4 -4
- package/dist/edit/odt/content.d.cts +2 -2
- package/dist/edit/odt/content.d.ts +2 -2
- package/dist/edit/odt/editor.d.cts +4 -4
- package/dist/edit/odt/editor.d.ts +4 -4
- package/dist/edit/odt/formula.d.cts +1 -1
- package/dist/edit/odt/formula.d.ts +1 -1
- package/dist/edit/odt/image.d.cts +1 -1
- package/dist/edit/odt/image.d.ts +1 -1
- package/dist/edit/odt/list.d.cts +1 -1
- package/dist/edit/odt/list.d.ts +1 -1
- package/dist/edit/odt/paragraph.d.cts +1 -1
- package/dist/edit/odt/paragraph.d.ts +1 -1
- package/dist/edit/odt/table.d.cts +1 -1
- package/dist/edit/odt/table.d.ts +1 -1
- package/dist/edit/pptx/editor.d.cts +1 -1
- package/dist/edit/pptx/editor.d.ts +1 -1
- package/dist/edit/pptx/image.d.cts +1 -1
- package/dist/edit/pptx/image.d.ts +1 -1
- package/dist/edit/pptx/shape.d.cts +1 -1
- package/dist/edit/pptx/shape.d.ts +1 -1
- package/dist/edit/pptx/slide.d.cts +4 -4
- package/dist/edit/pptx/slide.d.ts +4 -4
- package/dist/edit/pptx/table.d.cts +1 -1
- package/dist/edit/pptx/table.d.ts +1 -1
- package/dist/fonts/odf.d.cts +1 -1
- package/dist/fonts/odf.d.ts +1 -1
- package/dist/fonts/ooxml.d.cts +1 -1
- package/dist/fonts/ooxml.d.ts +1 -1
- package/dist/fonts/registry.d.cts +1 -1
- package/dist/fonts/registry.d.ts +1 -1
- package/dist/geometry-DUF273hM.d.cts +6 -0
- package/dist/geometry-DUF273hM.d.ts +6 -0
- package/dist/{image-DwrOnL_Z.d.ts → image-BFn8Rm6P.d.ts} +1 -1
- package/dist/{image-Cs8xF753.d.ts → image-BgN3j3ly.d.ts} +1 -1
- package/dist/{image-M5SezZVI.d.cts → image-C6lKT9ZH.d.cts} +1 -1
- package/dist/{image-DHcA9kaK.d.ts → image-CNuBLN5L.d.ts} +1 -1
- package/dist/{image-7snmKIxn.d.cts → image-DK0YCpYO.d.cts} +1 -1
- package/dist/{image-m_rfpuY8.d.cts → image-K3MAhLJc.d.cts} +1 -1
- package/dist/index.d.cts +11 -12
- package/dist/index.d.ts +11 -12
- package/dist/layout/drawing.cjs +1 -2
- package/dist/layout/drawing.d.cts +1 -2
- package/dist/layout/drawing.d.ts +1 -2
- package/dist/layout/drawing.js +1 -2
- package/dist/layout/engine.cjs +3 -2
- package/dist/layout/engine.d.cts +1 -2
- package/dist/layout/engine.d.ts +1 -2
- package/dist/layout/engine.js +2 -1
- package/dist/layout/shared.cjs +2 -1
- package/dist/layout/shared.d.cts +1 -2
- package/dist/layout/shared.d.ts +1 -2
- package/dist/layout/shared.js +2 -1
- package/dist/layout/sheets.cjs +3 -2
- package/dist/layout/sheets.d.cts +1 -2
- package/dist/layout/sheets.d.ts +1 -2
- package/dist/layout/sheets.js +2 -1
- package/dist/layout/slides.cjs +3 -2
- package/dist/layout/slides.d.cts +1 -2
- package/dist/layout/slides.d.ts +1 -2
- package/dist/layout/slides.js +3 -2
- package/dist/layout/text-layout.cjs +215 -0
- package/dist/layout/text-layout.d.cts +5 -0
- package/dist/layout/text-layout.d.ts +5 -0
- package/dist/layout/text-layout.js +214 -0
- package/dist/{list-4lN_90Pt.d.ts → list-CSIIzXAV.d.ts} +1 -1
- package/dist/{list-fKlr6jWd.d.cts → list-MCxkKpI7.d.cts} +1 -1
- package/dist/mathml/compose.d.cts +1 -1
- package/dist/mathml/compose.d.ts +1 -1
- package/dist/mathml/layout-types.d.cts +2 -51
- package/dist/mathml/layout-types.d.ts +2 -51
- package/dist/mathml/layout.d.cts +5 -5
- package/dist/mathml/layout.d.ts +5 -5
- package/dist/mathml/radical.d.cts +1 -1
- package/dist/mathml/radical.d.ts +1 -1
- package/dist/model/geometry.cjs +12 -0
- package/dist/model/geometry.d.cts +2 -2
- package/dist/model/geometry.d.ts +2 -2
- package/dist/model/geometry.js +12 -1
- package/dist/odf/formula/detect.d.cts +1 -1
- package/dist/odf/formula/detect.d.ts +1 -1
- package/dist/odf/shared/flow-anchor.d.cts +1 -1
- package/dist/odf/shared/flow-anchor.d.ts +1 -1
- package/dist/{paragraph-Bz20facN.d.ts → paragraph--0f7PjzJ.d.ts} +1 -1
- package/dist/{paragraph-BlN-ErQS.d.cts → paragraph-D7324S0j.d.cts} +1 -1
- package/dist/{registry-CrSqLIcn.d.ts → registry-DpF4A9EM.d.ts} +2 -1
- package/dist/{registry-CeZB1W_p.d.cts → registry-ZAWlWHqJ.d.cts} +2 -1
- package/dist/{shape-lA-bEGqk.d.cts → shape-B0yAqgxZ.d.cts} +3 -3
- package/dist/{shape-C3NECkae.d.ts → shape-CnYhKn5U.d.ts} +1 -1
- package/dist/{shape-CoiqTTA-.d.cts → shape-De9583Kz.d.cts} +1 -1
- package/dist/{shape-DFO5259y.d.ts → shape-tOOiQ2UZ.d.ts} +3 -3
- package/dist/{table-BRXbauz6.d.ts → table-DUM0vvIO.d.ts} +1 -1
- package/dist/{table-DV-Glhx_.d.ts → table-ce9uQfqn.d.ts} +2 -2
- package/dist/{table-CjUjLcsE.d.cts → table-fnUiKudF.d.cts} +2 -2
- package/dist/{table-CNrk1jGM.d.cts → table-u6fXNuDO.d.cts} +1 -1
- package/package.json +1 -1
- package/dist/geometry-DaJr8yQW.d.cts +0 -5
- package/dist/geometry-DaJr8yQW.d.ts +0 -5
- package/dist/mathml/metrics.cjs +0 -0
- package/dist/mathml/metrics.d.cts +0 -60
- package/dist/mathml/metrics.d.ts +0 -60
- package/dist/mathml/metrics.js +0 -0
package/dist/model/geometry.js
CHANGED
|
@@ -8,5 +8,16 @@ function flipY(box, containerHeightPt) {
|
|
|
8
8
|
heightPt: box.heightPt
|
|
9
9
|
};
|
|
10
10
|
}
|
|
11
|
+
function rotatePointAboutCenter(point, center, degrees) {
|
|
12
|
+
const radians = degrees * Math.PI / 180;
|
|
13
|
+
const cos = Math.cos(radians);
|
|
14
|
+
const sin = Math.sin(radians);
|
|
15
|
+
const dx = point.x - center.x;
|
|
16
|
+
const dy = point.y - center.y;
|
|
17
|
+
return {
|
|
18
|
+
x: center.x + dx * cos - dy * sin,
|
|
19
|
+
y: center.y + dx * sin + dy * cos
|
|
20
|
+
};
|
|
21
|
+
}
|
|
11
22
|
//#endregion
|
|
12
|
-
export { BoxSchema, MarginsSchema, PAGE_SIZE_A4, PAGE_SIZE_LETTER, PageSizeSchema, SLIDE_SIZE_STANDARD, SLIDE_SIZE_WIDESCREEN, flipY };
|
|
23
|
+
export { BoxSchema, MarginsSchema, PAGE_SIZE_A4, PAGE_SIZE_LETTER, PageSizeSchema, SLIDE_SIZE_STANDARD, SLIDE_SIZE_WIDESCREEN, flipY, rotatePointAboutCenter };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as Box } from "../../geometry-
|
|
1
|
+
import { t as Box } from "../../geometry-DUF273hM.cjs";
|
|
2
2
|
import { XmlElement } from "odf.js";
|
|
3
3
|
//#region src/odf/shared/flow-anchor.d.ts
|
|
4
4
|
declare function flowAnchoredFrameBox(frame: XmlElement): Box | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as Alignment } from "./style-DkamR3aY.js";
|
|
2
|
-
import { t as ImageInit } from "./image-
|
|
2
|
+
import { t as ImageInit } from "./image-BFn8Rm6P.js";
|
|
3
3
|
import { n as RunInit, t as OdtRun } from "./run-SLSPO-4y.js";
|
|
4
4
|
import { Package, XmlElement, XmlNode } from "odf.js";
|
|
5
5
|
//#region src/edit/odt/paragraph.d.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as Alignment } from "./style-DkamR3aY.cjs";
|
|
2
|
-
import { t as ImageInit } from "./image-
|
|
2
|
+
import { t as ImageInit } from "./image-K3MAhLJc.cjs";
|
|
3
3
|
import { n as RunInit, t as OdtRun } from "./run-DQtEGilU.cjs";
|
|
4
4
|
import { Package, XmlElement, XmlNode } from "odf.js";
|
|
5
5
|
//#region src/edit/odt/paragraph.d.ts
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Package } from "ooxml.js";
|
|
2
|
+
import { FontSubstitution, ProvidedFont } from "document-schema.js";
|
|
2
3
|
import { Package as Package$1 } from "odf.js";
|
|
3
|
-
import { FontRegistry
|
|
4
|
+
import { FontRegistry } from "pdf-codec";
|
|
4
5
|
//#region src/fonts/registry.d.ts
|
|
5
6
|
type FontSourcePackage = {
|
|
6
7
|
readonly kind: 'docx' | 'pptx';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FontSubstitution, ProvidedFont } from "document-schema.js";
|
|
2
2
|
import { Package } from "odf.js";
|
|
3
|
+
import { FontRegistry } from "pdf-codec";
|
|
3
4
|
import { Package as Package$1 } from "ooxml.js";
|
|
4
5
|
//#region src/fonts/registry.d.ts
|
|
5
6
|
type FontSourcePackage = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as Box } from "./geometry-
|
|
2
|
-
import { n as ParagraphInit, t as OdtParagraph } from "./paragraph-
|
|
3
|
-
import { t as OdtList } from "./list-
|
|
1
|
+
import { t as Box } from "./geometry-DUF273hM.cjs";
|
|
2
|
+
import { n as ParagraphInit, t as OdtParagraph } from "./paragraph-D7324S0j.cjs";
|
|
3
|
+
import { t as OdtList } from "./list-MCxkKpI7.cjs";
|
|
4
4
|
import { Package, XmlElement, XmlNode } from "odf.js";
|
|
5
5
|
//#region src/edit/odp/shape.d.ts
|
|
6
6
|
declare class OdpShape {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as LayoutColor } from "./color-BHhGSqAh.js";
|
|
2
|
-
import { t as Box } from "./geometry-
|
|
2
|
+
import { t as Box } from "./geometry-DUF273hM.js";
|
|
3
3
|
import { t as Alignment } from "./style-DkamR3aY.js";
|
|
4
4
|
import { XmlElement, XmlNode } from "ooxml.js";
|
|
5
5
|
//#region src/edit/pptx/shape.d.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as LayoutColor } from "./color-71eoF1Up.cjs";
|
|
2
|
-
import { t as Box } from "./geometry-
|
|
2
|
+
import { t as Box } from "./geometry-DUF273hM.cjs";
|
|
3
3
|
import { t as Alignment } from "./style-DkamR3aY.cjs";
|
|
4
4
|
import { XmlElement, XmlNode } from "ooxml.js";
|
|
5
5
|
//#region src/edit/pptx/shape.d.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as Box } from "./geometry-
|
|
2
|
-
import { n as ParagraphInit, t as OdtParagraph } from "./paragraph
|
|
3
|
-
import { t as OdtList } from "./list-
|
|
1
|
+
import { t as Box } from "./geometry-DUF273hM.js";
|
|
2
|
+
import { n as ParagraphInit, t as OdtParagraph } from "./paragraph--0f7PjzJ.js";
|
|
3
|
+
import { t as OdtList } from "./list-CSIIzXAV.js";
|
|
4
4
|
import { Package, XmlElement, XmlNode } from "odf.js";
|
|
5
5
|
//#region src/edit/odp/shape.d.ts
|
|
6
6
|
declare class OdpShape {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as ParagraphInit, t as OdtParagraph } from "./paragraph
|
|
1
|
+
import { n as ParagraphInit, t as OdtParagraph } from "./paragraph--0f7PjzJ.js";
|
|
2
2
|
import { Color, ContentCellBorders } from "document-schema.js";
|
|
3
3
|
import { Package, XmlElement, XmlNode } from "odf.js";
|
|
4
4
|
//#region src/edit/odt/table.d.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as Box$1 } from "./geometry-
|
|
2
|
-
import { t as DrawingParagraphInit } from "./shape-
|
|
1
|
+
import { t as Box$1 } from "./geometry-DUF273hM.js";
|
|
2
|
+
import { t as DrawingParagraphInit } from "./shape-CnYhKn5U.js";
|
|
3
3
|
import { XmlElement } from "ooxml.js";
|
|
4
4
|
import { Color, ContentCellBorders } from "document-schema.js";
|
|
5
5
|
//#region src/edit/pptx/table.d.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as Box$1 } from "./geometry-
|
|
2
|
-
import { t as DrawingParagraphInit } from "./shape-
|
|
1
|
+
import { t as Box$1 } from "./geometry-DUF273hM.cjs";
|
|
2
|
+
import { t as DrawingParagraphInit } from "./shape-De9583Kz.cjs";
|
|
3
3
|
import { Color, ContentCellBorders } from "document-schema.js";
|
|
4
4
|
import { XmlElement } from "ooxml.js";
|
|
5
5
|
//#region src/edit/pptx/table.d.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as ParagraphInit, t as OdtParagraph } from "./paragraph-
|
|
1
|
+
import { n as ParagraphInit, t as OdtParagraph } from "./paragraph-D7324S0j.cjs";
|
|
2
2
|
import { Color, ContentCellBorders } from "document-schema.js";
|
|
3
3
|
import { Package, XmlElement, XmlNode } from "odf.js";
|
|
4
4
|
//#region src/edit/odt/table.d.ts
|
package/package.json
CHANGED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { Box, Box as Box$1, BoxSchema, Margins, MarginsSchema, PAGE_SIZE_A4, PAGE_SIZE_LETTER, PageSize as PageSize$1, PageSizeSchema, SLIDE_SIZE_STANDARD, SLIDE_SIZE_WIDESCREEN } from "document-schema.js";
|
|
2
|
-
//#region src/model/geometry.d.ts
|
|
3
|
-
declare function flipY(box: Box, containerHeightPt: number): Box;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { PAGE_SIZE_A4 as a, PageSizeSchema as c, flipY as d, MarginsSchema as i, SLIDE_SIZE_STANDARD as l, BoxSchema as n, PAGE_SIZE_LETTER as o, Margins as r, PageSize$1 as s, Box$1 as t, SLIDE_SIZE_WIDESCREEN as u };
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { Box, Box as Box$1, BoxSchema, Margins, MarginsSchema, PAGE_SIZE_A4, PAGE_SIZE_LETTER, PageSize as PageSize$1, PageSizeSchema, SLIDE_SIZE_STANDARD, SLIDE_SIZE_WIDESCREEN } from "document-schema.js";
|
|
2
|
-
//#region src/model/geometry.d.ts
|
|
3
|
-
declare function flipY(box: Box, containerHeightPt: number): Box;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { PAGE_SIZE_A4 as a, PageSizeSchema as c, flipY as d, MarginsSchema as i, SLIDE_SIZE_STANDARD as l, BoxSchema as n, PAGE_SIZE_LETTER as o, Margins as r, PageSize$1 as s, Box$1 as t, SLIDE_SIZE_WIDESCREEN as u };
|
package/dist/mathml/metrics.cjs
DELETED
|
File without changes
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
//#region src/mathml/metrics.d.ts
|
|
2
|
-
interface MathGlyphMetrics {
|
|
3
|
-
readonly advanceWidthPt: number;
|
|
4
|
-
readonly italicCorrectionPt: number;
|
|
5
|
-
readonly topAccentXPt?: number;
|
|
6
|
-
readonly inkAscentPt?: number;
|
|
7
|
-
readonly inkDescentPt?: number;
|
|
8
|
-
}
|
|
9
|
-
type MathStretchAxis = 'vertical' | 'horizontal';
|
|
10
|
-
interface MathStretchGlyph {
|
|
11
|
-
readonly glyphId: number;
|
|
12
|
-
readonly offsetPt: number;
|
|
13
|
-
}
|
|
14
|
-
interface MathStretchResult {
|
|
15
|
-
readonly kind: 'base' | 'variant' | 'assembly';
|
|
16
|
-
readonly sizePt: number;
|
|
17
|
-
readonly advanceWidthPt: number;
|
|
18
|
-
readonly inkAscentPt: number;
|
|
19
|
-
readonly inkDescentPt: number;
|
|
20
|
-
readonly placements: readonly MathStretchGlyph[];
|
|
21
|
-
}
|
|
22
|
-
interface MathFontMetrics {
|
|
23
|
-
readonly ascentPerEm: number;
|
|
24
|
-
readonly descentPerEm: number;
|
|
25
|
-
readonly axisHeightPt: number;
|
|
26
|
-
readonly fractionRuleThicknessPt: number;
|
|
27
|
-
readonly fractionNumeratorShiftUpPt: number;
|
|
28
|
-
readonly fractionNumeratorDisplayShiftUpPt: number;
|
|
29
|
-
readonly fractionDenominatorShiftDownPt: number;
|
|
30
|
-
readonly fractionDenominatorDisplayShiftDownPt: number;
|
|
31
|
-
readonly fractionNumeratorGapMinPt: number;
|
|
32
|
-
readonly fractionDenominatorGapMinPt: number;
|
|
33
|
-
readonly radicalRuleThicknessPt: number;
|
|
34
|
-
readonly radicalExtraAscenderPt: number;
|
|
35
|
-
readonly radicalVerticalGapPt: number;
|
|
36
|
-
readonly radicalKernBeforeDegreePt: number;
|
|
37
|
-
readonly radicalKernAfterDegreePt: number;
|
|
38
|
-
readonly radicalDegreeBottomRaisePercent: number;
|
|
39
|
-
readonly subscriptShiftDownPt: number;
|
|
40
|
-
readonly superscriptShiftUpPt: number;
|
|
41
|
-
readonly superscriptShiftUpCrampedPt: number;
|
|
42
|
-
readonly subSuperscriptGapMinPt: number;
|
|
43
|
-
readonly superscriptBaselineDropMaxPt: number;
|
|
44
|
-
readonly subscriptBaselineDropMinPt: number;
|
|
45
|
-
readonly spaceAfterScriptPt: number;
|
|
46
|
-
readonly upperLimitGapMinPt: number;
|
|
47
|
-
readonly upperLimitBaselineRiseMinPt: number;
|
|
48
|
-
readonly lowerLimitGapMinPt: number;
|
|
49
|
-
readonly lowerLimitBaselineDropMinPt: number;
|
|
50
|
-
readonly stackTopShiftUpPt: number;
|
|
51
|
-
readonly stackBottomShiftDownPt: number;
|
|
52
|
-
readonly stackGapMinPt: number;
|
|
53
|
-
readonly scriptPercentScaleDown: number;
|
|
54
|
-
readonly scriptScriptPercentScaleDown: number;
|
|
55
|
-
readonly defaultRuleThicknessPt: number;
|
|
56
|
-
glyph(codePoint: number, sizePt: number): MathGlyphMetrics | undefined;
|
|
57
|
-
stretch(codePoint: number, axis: MathStretchAxis, targetSizePt: number, sizePt: number): MathStretchResult | undefined;
|
|
58
|
-
}
|
|
59
|
-
//#endregion
|
|
60
|
-
export { MathFontMetrics, MathGlyphMetrics, MathStretchAxis, MathStretchGlyph, MathStretchResult };
|
package/dist/mathml/metrics.d.ts
DELETED
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
//#region src/mathml/metrics.d.ts
|
|
2
|
-
interface MathGlyphMetrics {
|
|
3
|
-
readonly advanceWidthPt: number;
|
|
4
|
-
readonly italicCorrectionPt: number;
|
|
5
|
-
readonly topAccentXPt?: number;
|
|
6
|
-
readonly inkAscentPt?: number;
|
|
7
|
-
readonly inkDescentPt?: number;
|
|
8
|
-
}
|
|
9
|
-
type MathStretchAxis = 'vertical' | 'horizontal';
|
|
10
|
-
interface MathStretchGlyph {
|
|
11
|
-
readonly glyphId: number;
|
|
12
|
-
readonly offsetPt: number;
|
|
13
|
-
}
|
|
14
|
-
interface MathStretchResult {
|
|
15
|
-
readonly kind: 'base' | 'variant' | 'assembly';
|
|
16
|
-
readonly sizePt: number;
|
|
17
|
-
readonly advanceWidthPt: number;
|
|
18
|
-
readonly inkAscentPt: number;
|
|
19
|
-
readonly inkDescentPt: number;
|
|
20
|
-
readonly placements: readonly MathStretchGlyph[];
|
|
21
|
-
}
|
|
22
|
-
interface MathFontMetrics {
|
|
23
|
-
readonly ascentPerEm: number;
|
|
24
|
-
readonly descentPerEm: number;
|
|
25
|
-
readonly axisHeightPt: number;
|
|
26
|
-
readonly fractionRuleThicknessPt: number;
|
|
27
|
-
readonly fractionNumeratorShiftUpPt: number;
|
|
28
|
-
readonly fractionNumeratorDisplayShiftUpPt: number;
|
|
29
|
-
readonly fractionDenominatorShiftDownPt: number;
|
|
30
|
-
readonly fractionDenominatorDisplayShiftDownPt: number;
|
|
31
|
-
readonly fractionNumeratorGapMinPt: number;
|
|
32
|
-
readonly fractionDenominatorGapMinPt: number;
|
|
33
|
-
readonly radicalRuleThicknessPt: number;
|
|
34
|
-
readonly radicalExtraAscenderPt: number;
|
|
35
|
-
readonly radicalVerticalGapPt: number;
|
|
36
|
-
readonly radicalKernBeforeDegreePt: number;
|
|
37
|
-
readonly radicalKernAfterDegreePt: number;
|
|
38
|
-
readonly radicalDegreeBottomRaisePercent: number;
|
|
39
|
-
readonly subscriptShiftDownPt: number;
|
|
40
|
-
readonly superscriptShiftUpPt: number;
|
|
41
|
-
readonly superscriptShiftUpCrampedPt: number;
|
|
42
|
-
readonly subSuperscriptGapMinPt: number;
|
|
43
|
-
readonly superscriptBaselineDropMaxPt: number;
|
|
44
|
-
readonly subscriptBaselineDropMinPt: number;
|
|
45
|
-
readonly spaceAfterScriptPt: number;
|
|
46
|
-
readonly upperLimitGapMinPt: number;
|
|
47
|
-
readonly upperLimitBaselineRiseMinPt: number;
|
|
48
|
-
readonly lowerLimitGapMinPt: number;
|
|
49
|
-
readonly lowerLimitBaselineDropMinPt: number;
|
|
50
|
-
readonly stackTopShiftUpPt: number;
|
|
51
|
-
readonly stackBottomShiftDownPt: number;
|
|
52
|
-
readonly stackGapMinPt: number;
|
|
53
|
-
readonly scriptPercentScaleDown: number;
|
|
54
|
-
readonly scriptScriptPercentScaleDown: number;
|
|
55
|
-
readonly defaultRuleThicknessPt: number;
|
|
56
|
-
glyph(codePoint: number, sizePt: number): MathGlyphMetrics | undefined;
|
|
57
|
-
stretch(codePoint: number, axis: MathStretchAxis, targetSizePt: number, sizePt: number): MathStretchResult | undefined;
|
|
58
|
-
}
|
|
59
|
-
//#endregion
|
|
60
|
-
export { MathFontMetrics, MathGlyphMetrics, MathStretchAxis, MathStretchGlyph, MathStretchResult };
|
package/dist/mathml/metrics.js
DELETED
|
File without changes
|