@cesdk/engine 1.74.0-rc.0 → 1.74.0-rc.2
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/assets/core/{cesdk-v1.74.0-rc.0-RR4GPZBO.wasm → cesdk-v1.74.0-rc.2-QDOB2XQD.wasm} +0 -0
- package/assets/core/{worker-host-v1.74.0-rc.0.js → worker-host-v1.74.0-rc.2.js} +1 -1
- package/index.d.ts +24 -0
- package/index.js +1 -1
- package/package.json +1 -1
- /package/assets/core/{cesdk-v1.74.0-rc.0-MLEZSZ4D.data → cesdk-v1.74.0-rc.2-MLEZSZ4D.data} +0 -0
package/index.d.ts
CHANGED
|
@@ -7719,6 +7719,8 @@ export declare class EventAPI {
|
|
|
7719
7719
|
* - 'exportPdfWithUnderlayer': Export the PDF document with an underlayer.
|
|
7720
7720
|
* - 'underlayerSpotColorName': The name of the spot color to be used for the underlayer's fill.
|
|
7721
7721
|
* - 'underlayerOffset': The adjustment in size of the shape of the underlayer.
|
|
7722
|
+
* - 'underlayerRenderRatio': Resolution multiplier for the underlayer contour extraction.
|
|
7723
|
+
* - 'underlayerMaxError': Curve-fit error tolerance for the underlayer contour.
|
|
7722
7724
|
* - 'abortSignal': An abort signal that can be used to cancel the export.
|
|
7723
7725
|
*
|
|
7724
7726
|
* @public
|
|
@@ -7786,6 +7788,26 @@ export declare type ExportOptions = {
|
|
|
7786
7788
|
* The adjustment in size of the shape of the underlayer.
|
|
7787
7789
|
*/
|
|
7788
7790
|
underlayerOffset?: number;
|
|
7791
|
+
/**
|
|
7792
|
+
* Resolution multiplier for the raster pass that extracts the underlayer contour.
|
|
7793
|
+
* Higher values produce sharper underlayer outlines at the cost of memory and export time.
|
|
7794
|
+
* Useful for small text on large pages, where the 1.0 default can miss fine glyph details.
|
|
7795
|
+
* Values `<= 0` fall back to 1.0. `NaN` / `Infinity` are rejected at the binding boundary
|
|
7796
|
+
* with a `StructError`; pass a real number or leave the field undefined to use the default.
|
|
7797
|
+
*
|
|
7798
|
+
* @defaultValue 1.0
|
|
7799
|
+
*/
|
|
7800
|
+
underlayerRenderRatio?: number;
|
|
7801
|
+
/**
|
|
7802
|
+
* Maximum acceptable curve-fit error, in pixels, when vectorising the underlayer contour.
|
|
7803
|
+
* Smaller values produce tighter fits at the cost of more path complexity.
|
|
7804
|
+
* Useful together with `underlayerRenderRatio` for small text on large pages.
|
|
7805
|
+
* Values `<= 0` fall back to 2.0. `NaN` / `Infinity` are rejected at the binding boundary
|
|
7806
|
+
* with a `StructError`; pass a real number or leave the field undefined to use the default.
|
|
7807
|
+
*
|
|
7808
|
+
* @defaultValue 2.0
|
|
7809
|
+
*/
|
|
7810
|
+
underlayerMaxError?: number;
|
|
7789
7811
|
/**
|
|
7790
7812
|
* If true, the export will include text bounding boxes that account for glyph overhangs.
|
|
7791
7813
|
* When enabled, text blocks with glyphs that extend beyond their frame (e.g., decorative fonts with swashes)
|
|
@@ -10041,6 +10063,8 @@ export declare interface _UBQExportOptions {
|
|
|
10041
10063
|
exportPdfWithUnderlayer: boolean;
|
|
10042
10064
|
underlayerSpotColorName: string;
|
|
10043
10065
|
underlayerOffset: number;
|
|
10066
|
+
underlayerRenderRatio: number;
|
|
10067
|
+
underlayerMaxError: number;
|
|
10044
10068
|
allowTextOverhang: boolean;
|
|
10045
10069
|
exportPdfWithDeviceCMYK: boolean;
|
|
10046
10070
|
}
|