@qrcommunication/gigapdf-lib 0.124.1 → 0.125.0
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/CHANGELOG.md +13 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js.map +1 -1
- package/gigapdf.wasm +0 -0
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -736,6 +736,8 @@ interface GigaCharStyle {
|
|
|
736
736
|
generic: GigaGeneric;
|
|
737
737
|
size_pt: number;
|
|
738
738
|
bold: boolean;
|
|
739
|
+
/** Exact CSS font weight (100–900) when the source carries more than regular/bold. */
|
|
740
|
+
font_weight?: number;
|
|
739
741
|
italic: boolean;
|
|
740
742
|
underline: boolean;
|
|
741
743
|
strike: boolean;
|
|
@@ -1340,6 +1342,8 @@ interface GigaStylePatch {
|
|
|
1340
1342
|
generic?: GigaGeneric;
|
|
1341
1343
|
size_pt?: number;
|
|
1342
1344
|
bold?: boolean;
|
|
1345
|
+
/** Exact CSS font weight; kept coherent with `bold` by the engine. */
|
|
1346
|
+
font_weight?: number;
|
|
1343
1347
|
italic?: boolean;
|
|
1344
1348
|
underline?: boolean;
|
|
1345
1349
|
strike?: boolean;
|
package/dist/index.d.ts
CHANGED
|
@@ -736,6 +736,8 @@ interface GigaCharStyle {
|
|
|
736
736
|
generic: GigaGeneric;
|
|
737
737
|
size_pt: number;
|
|
738
738
|
bold: boolean;
|
|
739
|
+
/** Exact CSS font weight (100–900) when the source carries more than regular/bold. */
|
|
740
|
+
font_weight?: number;
|
|
739
741
|
italic: boolean;
|
|
740
742
|
underline: boolean;
|
|
741
743
|
strike: boolean;
|
|
@@ -1340,6 +1342,8 @@ interface GigaStylePatch {
|
|
|
1340
1342
|
generic?: GigaGeneric;
|
|
1341
1343
|
size_pt?: number;
|
|
1342
1344
|
bold?: boolean;
|
|
1345
|
+
/** Exact CSS font weight; kept coherent with `bold` by the engine. */
|
|
1346
|
+
font_weight?: number;
|
|
1343
1347
|
italic?: boolean;
|
|
1344
1348
|
underline?: boolean;
|
|
1345
1349
|
strike?: boolean;
|