@mlightcad/cad-pdf-core 1.8.0-preview.4 → 1.8.0-preview.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/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2026 mlightcad
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2026 mlightcad
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,57 +1,57 @@
1
- # @mlightcad/cad-pdf-core
2
-
3
- Shared PDF export logic for MLightCAD: the export option model, the
4
- MTEXT/SHAPE glyph provider, and the drawing database → PDF pipeline built on
5
- `@mlightcad/pdf-renderer`.
6
-
7
- > **1.8.0:** This package is new. PDF export was split out of the browser plugin
8
- > so the same pipeline can run in the browser (`cad-pdf-plugin`) and in Node
9
- > without a browser (`cad-pdf-exporter`). See the
10
- > [upgrade guide](../../docs/development/upgrade-guide.md).
11
-
12
- This package has **no** dependency on `@mlightcad/cad-simple-viewer` or the
13
- DOM. Both consumers build on it:
14
-
15
- - `@mlightcad/cad-pdf-plugin` — browser `cpdf` / `-cpdf` commands
16
- - `@mlightcad/cad-pdf-exporter` — headless Node export, no browser
17
-
18
- ## Options
19
-
20
- | Option | Values | Default |
21
- | --------------- | ------------------------- | ---------- |
22
- | `modelSpaceFit` | `extents` / `display` | `extents` |
23
- | `exportLayouts` | `true` / `false` | `true` |
24
- | `textMode` | `text` / `vector` | `text` |
25
- | `colorMode` | `color` / `monochrome` | `color` |
26
-
27
- `colorMode: 'monochrome'` writes white paper with lines, hatch patterns,
28
- points and text in black. Solid and gradient fill areas become grey by
29
- luminance, so light fills stay light and linework drawn over them stays
30
- readable (pure black fills would hide it). Wipeouts still mask in white;
31
- raster images keep their pixels.
32
-
33
- ## API
34
-
35
- ```ts
36
- import {
37
- acexPdfExportDatabase,
38
- acexPdfResolveExportOptions
39
- } from '@mlightcad/cad-pdf-core'
40
-
41
- const bytes = await acexPdfExportDatabase(database, {
42
- ...acexPdfResolveExportOptions({ colorMode: 'monochrome' }),
43
- title: 'drawing',
44
- // Optional host services:
45
- // displayBox, fontMapping, glyphProvider, textFontResolver
46
- })
47
- ```
48
-
49
- The default glyph provider uses the `AcTrMTextRenderer` singleton from
50
- `@mlightcad/three-renderer`. The host must initialize it before export.
51
-
52
- ## Peers
53
-
54
- - `@mlightcad/data-model`
55
- - `@mlightcad/mtext-parser`
56
- - `@mlightcad/pdf-renderer`
57
- - `@mlightcad/three-renderer`
1
+ # @mlightcad/cad-pdf-core
2
+
3
+ Shared PDF export logic for MLightCAD: the export option model, the
4
+ MTEXT/SHAPE glyph provider, and the drawing database → PDF pipeline built on
5
+ `@mlightcad/pdf-renderer`.
6
+
7
+ > **1.8.0:** This package is new. PDF export was split out of the browser plugin
8
+ > so the same pipeline can run in the browser (`cad-pdf-plugin`) and in Node
9
+ > without a browser (`cad-pdf-exporter`). See the
10
+ > [upgrade guide](../../docs/development/upgrade-guide.md).
11
+
12
+ This package has **no** dependency on `@mlightcad/cad-simple-viewer` or the
13
+ DOM. Both consumers build on it:
14
+
15
+ - `@mlightcad/cad-pdf-plugin` — browser `cpdf` / `-cpdf` commands
16
+ - `@mlightcad/cad-pdf-exporter` — headless Node export, no browser
17
+
18
+ ## Options
19
+
20
+ | Option | Values | Default |
21
+ | --------------- | ------------------------- | ---------- |
22
+ | `modelSpaceFit` | `extents` / `display` | `extents` |
23
+ | `exportLayouts` | `true` / `false` | `true` |
24
+ | `textMode` | `text` / `vector` | `text` |
25
+ | `colorMode` | `color` / `monochrome` | `color` |
26
+
27
+ `colorMode: 'monochrome'` writes white paper with lines, hatch patterns,
28
+ points and text in black. Solid and gradient fill areas become grey by
29
+ luminance, so light fills stay light and linework drawn over them stays
30
+ readable (pure black fills would hide it). Wipeouts still mask in white;
31
+ raster images keep their pixels.
32
+
33
+ ## API
34
+
35
+ ```ts
36
+ import {
37
+ acexPdfExportDatabase,
38
+ acexPdfResolveExportOptions
39
+ } from '@mlightcad/cad-pdf-core'
40
+
41
+ const bytes = await acexPdfExportDatabase(database, {
42
+ ...acexPdfResolveExportOptions({ colorMode: 'monochrome' }),
43
+ title: 'drawing',
44
+ // Optional host services:
45
+ // displayBox, fontMapping, glyphProvider, textFontResolver
46
+ })
47
+ ```
48
+
49
+ The default glyph provider uses the `AcTrMTextRenderer` singleton from
50
+ `@mlightcad/three-renderer`. The host must initialize it before export.
51
+
52
+ ## Peers
53
+
54
+ - `@mlightcad/data-model`
55
+ - `@mlightcad/mtext-parser`
56
+ - `@mlightcad/pdf-renderer`
57
+ - `@mlightcad/three-renderer`
@@ -1,6 +1,6 @@
1
1
  import type { AcDbDatabase, AcGiFontMapping } from '@mlightcad/data-model';
2
2
  import { type AcPdfExportOptions, type AcPdfGlyphProvider, type AcPdfTextFontResolver } from '@mlightcad/pdf-renderer';
3
- import { type AcExPdfExportOptions } from './AcExPdfExportOptions';
3
+ import { type AcExPdfExportOptions } from './AcExPdfExportOptions.js';
4
4
  /** Axis-aligned WCS box used to frame a model-space page. */
5
5
  export interface AcExPdfFitBox {
6
6
  min: {
@@ -1 +1 @@
1
- {"version":3,"file":"AcExPdfDatabaseExport.d.ts","sourceRoot":"","sources":["../src/AcExPdfDatabaseExport.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;AAC1E,OAAO,EACL,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,qBAAqB,EAE3B,MAAM,yBAAyB,CAAA;AAEhC,OAAO,EACL,KAAK,oBAAoB,EAE1B,MAAM,wBAAwB,CAAA;AAG/B,6DAA6D;AAC7D,MAAM,WAAW,aAAa;IAC5B,GAAG,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAE,CAAA;IAC7B,GAAG,EAAE;QAAE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BAA6B,SAAQ,oBAAoB;IACxE,0BAA0B;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,0DAA0D;IAC1D,WAAW,CAAC,EAAE,eAAe,CAAA;IAC7B;;;;OAIG;IACH,UAAU,CAAC,EAAE,aAAa,CAAA;IAC1B;;;OAGG;IACH,aAAa,CAAC,EAAE,kBAAkB,CAAA;IAClC;;;OAGG;IACH,gBAAgB,CAAC,EAAE,qBAAqB,CAAA;CACzC;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,2BAA2B,CACzC,EAAE,EAAE,YAAY,EAChB,OAAO,GAAE,4BAAiC,GACzC,kBAAkB,CAiCpB;AAED;;;;;;;;;;;GAWG;AACH,wBAAsB,qBAAqB,CACzC,EAAE,EAAE,YAAY,EAChB,OAAO,GAAE,4BAAiC,GACzC,OAAO,CAAC,UAAU,CAAC,CAErB"}
@@ -35,8 +35,8 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
35
35
  }
36
36
  };
37
37
  import { exportDatabaseToPdf } from '@mlightcad/pdf-renderer';
38
- import { acexPdfResolveExportOptions } from './AcExPdfExportOptions';
39
- import { acexPdfCreateGlyphProvider } from './AcExPdfGlyphProvider';
38
+ import { acexPdfResolveExportOptions } from './AcExPdfExportOptions.js';
39
+ import { acexPdfCreateGlyphProvider } from './AcExPdfGlyphProvider.js';
40
40
  /**
41
41
  * Builds the low-level `pdf-renderer` options for a drawing.
42
42
  *
@@ -1 +1 @@
1
- {"version":3,"file":"AcExPdfDatabaseExport.js","sourceRoot":"","sources":["../src/AcExPdfDatabaseExport.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,OAAO,EAIL,mBAAmB,EACpB,MAAM,yBAAyB,CAAA;AAEhC,OAAO,EAEL,2BAA2B,EAC5B,MAAM,wBAAwB,CAAA;AAC/B,OAAO,EAAE,0BAA0B,EAAE,MAAM,wBAAwB,CAAA;AAmCnE;;;;;;;;;;GAUG;AACH,MAAM,UA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,kBAAkB;QAC/C,aAAa,EAAE,MAAA,OAAO,CAAC,aAAa,mCAAI,0BAA0B,EAAE;QACpE,QAAQ,EAAE,QAAQ,CAAC,QAAQ;QAC3B,SAAS,EAAE,QAAQ,CAAC,SAAS;KAC9B,CAAA;IACD,IAAI,QAAQ,CAAC,QAAQ,KAAK,MAAM,IAAI,OAAO,CAAC,gBAAgB,EAAE,CAAC;QAC7D,UAAU,CAAC,gBAAgB,GAAG,OAAO,CAAC,gBAAgB,CAAA;IACxD,CAAC;IAED,IAAI,QAAQ,CAAC,aAAa,KAAK,SAAS,IAAI,OAAO,CAAC,UAAU,EAAE,CAAC;QAC/D,oEAAoE;QACpE,uEAAuE;QACvE,wEAAwE;QACxE,oEAAoE;QACpE,qEAAqE;QACrE,IAAM,YAAY,GAChB,EAAE,CAAC,cAAc,KAAK,EAAE,CAAC,MAAM,CAAC,UAAU,CAAC,UAAU,CAAC,QAAQ,CAAA;QAChE,IAAI,YAAY,IAAI,CAAC,QAAQ,CAAC,aAAa,EAAE,CAAC;YAC5C,UAAU,CAAC,MAAM,GAAG,OAAO,CAAC,UAAU,CAAA;QACxC,CAAC;IACH,CAAC;IACD,OAAO,UAAU,CAAA;AACnB,CAAC;AAED;;;;;;;;;;;GAWG;AACH,MAAM,UAAgB,qBAAqB;wDACzC,EAAgB,EAChB,OAA0C;QAA1C,wBAAA,EAAA,YAA0C;;YAE1C,sBAAO,mBAAmB,CAAC,EAAE,EAAE,2BAA2B,CAAC,EAAE,EAAE,OAAO,CAAC,CAAC,EAAA;;;CACzE"}
package/lib/index.d.ts CHANGED
@@ -5,7 +5,7 @@
5
5
  *
6
6
  * @packageDocumentation
7
7
  */
8
- export { acexPdfBuildRendererOptions, type AcExPdfDatabaseExportOptions, acexPdfExportDatabase, type AcExPdfFitBox } from './AcExPdfDatabaseExport';
9
- export { type AcExPdfColorMode, ACEXPDF_DEFAULT_EXPORT_OPTIONS, type AcExPdfExportOptions, type AcExPdfModelSpaceFit, acexPdfResolveExportOptions, type AcExPdfTextMode } from './AcExPdfExportOptions';
10
- export { acexPdfCreateGlyphProvider } from './AcExPdfGlyphProvider';
8
+ export { acexPdfBuildRendererOptions, type AcExPdfDatabaseExportOptions, acexPdfExportDatabase, type AcExPdfFitBox } from './AcExPdfDatabaseExport.js';
9
+ export { type AcExPdfColorMode, ACEXPDF_DEFAULT_EXPORT_OPTIONS, type AcExPdfExportOptions, type AcExPdfModelSpaceFit, acexPdfResolveExportOptions, type AcExPdfTextMode } from './AcExPdfExportOptions.js';
10
+ export { acexPdfCreateGlyphProvider } from './AcExPdfGlyphProvider.js';
11
11
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,2BAA2B,EAC3B,KAAK,4BAA4B,EACjC,qBAAqB,EACrB,KAAK,aAAa,EACnB,MAAM,yBAAyB,CAAA;AAChC,OAAO,EACL,KAAK,gBAAgB,EACrB,8BAA8B,EAC9B,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,2BAA2B,EAC3B,KAAK,eAAe,EACrB,MAAM,wBAAwB,CAAA;AAC/B,OAAO,EAAE,0BAA0B,EAAE,MAAM,wBAAwB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,2BAA2B,EAC3B,KAAK,4BAA4B,EACjC,qBAAqB,EACrB,KAAK,aAAa,EACnB,MAAM,4BAA4B,CAAA;AACnC,OAAO,EACL,KAAK,gBAAgB,EACrB,8BAA8B,EAC9B,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,2BAA2B,EAC3B,KAAK,eAAe,EACrB,MAAM,2BAA2B,CAAA;AAClC,OAAO,EAAE,0BAA0B,EAAE,MAAM,2BAA2B,CAAA"}
package/lib/index.js CHANGED
@@ -5,7 +5,7 @@
5
5
  *
6
6
  * @packageDocumentation
7
7
  */
8
- export { acexPdfBuildRendererOptions, acexPdfExportDatabase } from './AcExPdfDatabaseExport';
9
- export { ACEXPDF_DEFAULT_EXPORT_OPTIONS, acexPdfResolveExportOptions } from './AcExPdfExportOptions';
10
- export { acexPdfCreateGlyphProvider } from './AcExPdfGlyphProvider';
8
+ export { acexPdfBuildRendererOptions, acexPdfExportDatabase } from './AcExPdfDatabaseExport.js';
9
+ export { ACEXPDF_DEFAULT_EXPORT_OPTIONS, acexPdfResolveExportOptions } from './AcExPdfExportOptions.js';
10
+ export { acexPdfCreateGlyphProvider } from './AcExPdfGlyphProvider.js';
11
11
  //# sourceMappingURL=index.js.map
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,2BAA2B,EAE3B,qBAAqB,EAEtB,MAAM,yBAAyB,CAAA;AAChC,OAAO,EAEL,8BAA8B,EAG9B,2BAA2B,EAE5B,MAAM,wBAAwB,CAAA;AAC/B,OAAO,EAAE,0BAA0B,EAAE,MAAM,wBAAwB,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,2BAA2B,EAE3B,qBAAqB,EAEtB,MAAM,4BAA4B,CAAA;AACnC,OAAO,EAEL,8BAA8B,EAG9B,2BAA2B,EAE5B,MAAM,2BAA2B,CAAA;AAClC,OAAO,EAAE,0BAA0B,EAAE,MAAM,2BAA2B,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mlightcad/cad-pdf-core",
3
- "version": "1.8.0-preview.4",
3
+ "version": "1.8.0-preview.5",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "repository": {
@@ -25,16 +25,16 @@
25
25
  }
26
26
  },
27
27
  "devDependencies": {
28
- "@mlightcad/data-model": "1.15.29",
28
+ "@mlightcad/data-model": "1.15.30",
29
29
  "@mlightcad/mtext-parser": "1.5.7",
30
- "@mlightcad/three-renderer": "1.8.0-preview.4",
31
- "@mlightcad/pdf-renderer": "1.8.0-preview.4"
30
+ "@mlightcad/pdf-renderer": "1.8.0-preview.5",
31
+ "@mlightcad/three-renderer": "1.8.0-preview.5"
32
32
  },
33
33
  "peerDependencies": {
34
- "@mlightcad/data-model": "1.15.29",
34
+ "@mlightcad/data-model": "1.15.30",
35
35
  "@mlightcad/mtext-parser": "1.5.7",
36
- "@mlightcad/pdf-renderer": "^1.8.0-preview.4",
37
- "@mlightcad/three-renderer": "^1.8.0-preview.4"
36
+ "@mlightcad/pdf-renderer": "^1.8.0-preview.5",
37
+ "@mlightcad/three-renderer": "^1.8.0-preview.5"
38
38
  },
39
39
  "scripts": {
40
40
  "clean": "rimraf dist lib tsconfig.tsbuildinfo",