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.
Files changed (123) hide show
  1. package/dist/convert/convert.d.cts +2 -2
  2. package/dist/convert/convert.d.ts +1 -1
  3. package/dist/convert/document-fonts.d.cts +1 -1
  4. package/dist/convert/document-fonts.d.ts +1 -1
  5. package/dist/convert/port.d.cts +1 -2
  6. package/dist/convert/port.d.ts +1 -2
  7. package/dist/edit/geometry.d.cts +1 -1
  8. package/dist/edit/geometry.d.ts +1 -1
  9. package/dist/edit/markdown/editor.d.cts +1 -1
  10. package/dist/edit/markdown/editor.d.ts +1 -1
  11. package/dist/edit/odg/editor.d.cts +1 -1
  12. package/dist/edit/odg/editor.d.ts +1 -1
  13. package/dist/edit/odg/page.d.cts +2 -2
  14. package/dist/edit/odg/page.d.ts +2 -2
  15. package/dist/edit/odp/editor.d.cts +1 -1
  16. package/dist/edit/odp/editor.d.ts +1 -1
  17. package/dist/edit/odp/image.d.cts +1 -1
  18. package/dist/edit/odp/image.d.ts +1 -1
  19. package/dist/edit/odp/shape.d.cts +1 -1
  20. package/dist/edit/odp/shape.d.ts +1 -1
  21. package/dist/edit/odp/slide.d.cts +4 -4
  22. package/dist/edit/odp/slide.d.ts +4 -4
  23. package/dist/edit/odt/content.d.cts +2 -2
  24. package/dist/edit/odt/content.d.ts +2 -2
  25. package/dist/edit/odt/editor.d.cts +4 -4
  26. package/dist/edit/odt/editor.d.ts +4 -4
  27. package/dist/edit/odt/formula.d.cts +1 -1
  28. package/dist/edit/odt/formula.d.ts +1 -1
  29. package/dist/edit/odt/image.d.cts +1 -1
  30. package/dist/edit/odt/image.d.ts +1 -1
  31. package/dist/edit/odt/list.d.cts +1 -1
  32. package/dist/edit/odt/list.d.ts +1 -1
  33. package/dist/edit/odt/paragraph.d.cts +1 -1
  34. package/dist/edit/odt/paragraph.d.ts +1 -1
  35. package/dist/edit/odt/table.d.cts +1 -1
  36. package/dist/edit/odt/table.d.ts +1 -1
  37. package/dist/edit/pptx/editor.d.cts +1 -1
  38. package/dist/edit/pptx/editor.d.ts +1 -1
  39. package/dist/edit/pptx/image.d.cts +1 -1
  40. package/dist/edit/pptx/image.d.ts +1 -1
  41. package/dist/edit/pptx/shape.d.cts +1 -1
  42. package/dist/edit/pptx/shape.d.ts +1 -1
  43. package/dist/edit/pptx/slide.d.cts +4 -4
  44. package/dist/edit/pptx/slide.d.ts +4 -4
  45. package/dist/edit/pptx/table.d.cts +1 -1
  46. package/dist/edit/pptx/table.d.ts +1 -1
  47. package/dist/fonts/odf.d.cts +1 -1
  48. package/dist/fonts/odf.d.ts +1 -1
  49. package/dist/fonts/ooxml.d.cts +1 -1
  50. package/dist/fonts/ooxml.d.ts +1 -1
  51. package/dist/fonts/registry.d.cts +1 -1
  52. package/dist/fonts/registry.d.ts +1 -1
  53. package/dist/geometry-DUF273hM.d.cts +6 -0
  54. package/dist/geometry-DUF273hM.d.ts +6 -0
  55. package/dist/{image-DwrOnL_Z.d.ts → image-BFn8Rm6P.d.ts} +1 -1
  56. package/dist/{image-Cs8xF753.d.ts → image-BgN3j3ly.d.ts} +1 -1
  57. package/dist/{image-M5SezZVI.d.cts → image-C6lKT9ZH.d.cts} +1 -1
  58. package/dist/{image-DHcA9kaK.d.ts → image-CNuBLN5L.d.ts} +1 -1
  59. package/dist/{image-7snmKIxn.d.cts → image-DK0YCpYO.d.cts} +1 -1
  60. package/dist/{image-m_rfpuY8.d.cts → image-K3MAhLJc.d.cts} +1 -1
  61. package/dist/index.d.cts +11 -12
  62. package/dist/index.d.ts +11 -12
  63. package/dist/layout/drawing.cjs +1 -2
  64. package/dist/layout/drawing.d.cts +1 -2
  65. package/dist/layout/drawing.d.ts +1 -2
  66. package/dist/layout/drawing.js +1 -2
  67. package/dist/layout/engine.cjs +3 -2
  68. package/dist/layout/engine.d.cts +1 -2
  69. package/dist/layout/engine.d.ts +1 -2
  70. package/dist/layout/engine.js +2 -1
  71. package/dist/layout/shared.cjs +2 -1
  72. package/dist/layout/shared.d.cts +1 -2
  73. package/dist/layout/shared.d.ts +1 -2
  74. package/dist/layout/shared.js +2 -1
  75. package/dist/layout/sheets.cjs +3 -2
  76. package/dist/layout/sheets.d.cts +1 -2
  77. package/dist/layout/sheets.d.ts +1 -2
  78. package/dist/layout/sheets.js +2 -1
  79. package/dist/layout/slides.cjs +3 -2
  80. package/dist/layout/slides.d.cts +1 -2
  81. package/dist/layout/slides.d.ts +1 -2
  82. package/dist/layout/slides.js +3 -2
  83. package/dist/layout/text-layout.cjs +215 -0
  84. package/dist/layout/text-layout.d.cts +5 -0
  85. package/dist/layout/text-layout.d.ts +5 -0
  86. package/dist/layout/text-layout.js +214 -0
  87. package/dist/{list-4lN_90Pt.d.ts → list-CSIIzXAV.d.ts} +1 -1
  88. package/dist/{list-fKlr6jWd.d.cts → list-MCxkKpI7.d.cts} +1 -1
  89. package/dist/mathml/compose.d.cts +1 -1
  90. package/dist/mathml/compose.d.ts +1 -1
  91. package/dist/mathml/layout-types.d.cts +2 -51
  92. package/dist/mathml/layout-types.d.ts +2 -51
  93. package/dist/mathml/layout.d.cts +5 -5
  94. package/dist/mathml/layout.d.ts +5 -5
  95. package/dist/mathml/radical.d.cts +1 -1
  96. package/dist/mathml/radical.d.ts +1 -1
  97. package/dist/model/geometry.cjs +12 -0
  98. package/dist/model/geometry.d.cts +2 -2
  99. package/dist/model/geometry.d.ts +2 -2
  100. package/dist/model/geometry.js +12 -1
  101. package/dist/odf/formula/detect.d.cts +1 -1
  102. package/dist/odf/formula/detect.d.ts +1 -1
  103. package/dist/odf/shared/flow-anchor.d.cts +1 -1
  104. package/dist/odf/shared/flow-anchor.d.ts +1 -1
  105. package/dist/{paragraph-Bz20facN.d.ts → paragraph--0f7PjzJ.d.ts} +1 -1
  106. package/dist/{paragraph-BlN-ErQS.d.cts → paragraph-D7324S0j.d.cts} +1 -1
  107. package/dist/{registry-CrSqLIcn.d.ts → registry-DpF4A9EM.d.ts} +2 -1
  108. package/dist/{registry-CeZB1W_p.d.cts → registry-ZAWlWHqJ.d.cts} +2 -1
  109. package/dist/{shape-lA-bEGqk.d.cts → shape-B0yAqgxZ.d.cts} +3 -3
  110. package/dist/{shape-C3NECkae.d.ts → shape-CnYhKn5U.d.ts} +1 -1
  111. package/dist/{shape-CoiqTTA-.d.cts → shape-De9583Kz.d.cts} +1 -1
  112. package/dist/{shape-DFO5259y.d.ts → shape-tOOiQ2UZ.d.ts} +3 -3
  113. package/dist/{table-BRXbauz6.d.ts → table-DUM0vvIO.d.ts} +1 -1
  114. package/dist/{table-DV-Glhx_.d.ts → table-ce9uQfqn.d.ts} +2 -2
  115. package/dist/{table-CjUjLcsE.d.cts → table-fnUiKudF.d.cts} +2 -2
  116. package/dist/{table-CNrk1jGM.d.cts → table-u6fXNuDO.d.cts} +1 -1
  117. package/package.json +1 -1
  118. package/dist/geometry-DaJr8yQW.d.cts +0 -5
  119. package/dist/geometry-DaJr8yQW.d.ts +0 -5
  120. package/dist/mathml/metrics.cjs +0 -0
  121. package/dist/mathml/metrics.d.cts +0 -60
  122. package/dist/mathml/metrics.d.ts +0 -60
  123. package/dist/mathml/metrics.js +0 -0
@@ -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$1 } from "../../geometry-DaJr8yQW.cjs";
1
+ import { t as Box$1 } from "../../geometry-DUF273hM.cjs";
2
2
  import { ContentFormula } from "document-schema.js";
3
3
  import { Package, XmlElement, XmlNode } from "odf.js";
4
4
  //#region src/odf/formula/detect.d.ts
@@ -1,4 +1,4 @@
1
- import { t as Box$1 } from "../../geometry-DaJr8yQW.js";
1
+ import { t as Box$1 } from "../../geometry-DUF273hM.js";
2
2
  import { ContentFormula } from "document-schema.js";
3
3
  import { Package, XmlElement, XmlNode } from "odf.js";
4
4
  //#region src/odf/formula/detect.d.ts
@@ -1,4 +1,4 @@
1
- import { t as Box } from "../../geometry-DaJr8yQW.cjs";
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,4 +1,4 @@
1
- import { t as Box } from "../../geometry-DaJr8yQW.js";
1
+ import { t as Box } from "../../geometry-DUF273hM.js";
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-DwrOnL_Z.js";
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-m_rfpuY8.cjs";
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, FontSubstitution, ProvidedFont } from "pdf-codec";
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 { FontRegistry, FontSubstitution, ProvidedFont } from "pdf-codec";
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-DaJr8yQW.cjs";
2
- import { n as ParagraphInit, t as OdtParagraph } from "./paragraph-BlN-ErQS.cjs";
3
- import { t as OdtList } from "./list-fKlr6jWd.cjs";
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-DaJr8yQW.js";
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-DaJr8yQW.cjs";
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-DaJr8yQW.js";
2
- import { n as ParagraphInit, t as OdtParagraph } from "./paragraph-Bz20facN.js";
3
- import { t as OdtList } from "./list-4lN_90Pt.js";
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-Bz20facN.js";
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-DaJr8yQW.js";
2
- import { t as DrawingParagraphInit } from "./shape-C3NECkae.js";
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-DaJr8yQW.cjs";
2
- import { t as DrawingParagraphInit } from "./shape-CoiqTTA-.cjs";
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-BlN-ErQS.cjs";
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,6 +1,6 @@
1
1
  {
2
2
  "name": "js.documents",
3
- "version": "1.91.3",
3
+ "version": "1.91.5",
4
4
  "description": "Bidirectional docx/pptx <-> PDF conversion and a read+write editable OOXML document model, built on ooxml.js and Zod 4 codecs.",
5
5
  "type": "module",
6
6
  "repository": {
@@ -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 };
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 };
@@ -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 };
File without changes