inkoxide 0.2.0 → 0.3.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.
Files changed (2) hide show
  1. package/index.d.ts +1 -1
  2. package/package.json +7 -7
package/index.d.ts CHANGED
@@ -84,7 +84,7 @@ export class InkoxideError extends Error {
84
84
  readonly path: string;
85
85
  }
86
86
 
87
- /** Registers (or replaces) a TrueType or CFF OpenType font in the process-wide cache. */
87
+ /** Registers (or replaces) a TrueType, CFF OpenType, WOFF or WOFF2 font in the process-wide cache. */
88
88
  export function registerFont(id: string, data: Uint8Array): void;
89
89
  /** Removes a registered font; returns whether it existed. */
90
90
  export function unregisterFont(id: string): boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "inkoxide",
3
- "version": "0.2.0",
3
+ "version": "0.3.0",
4
4
  "description": "Native PDF layout and rendering engine: declarative document tree in, PDF bytes out.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -26,11 +26,11 @@
26
26
  "node": ">=22"
27
27
  },
28
28
  "optionalDependencies": {
29
- "@inkoxide/linux-x64-gnu": "0.2.0",
30
- "@inkoxide/linux-x64-musl": "0.2.0",
31
- "@inkoxide/linux-arm64-gnu": "0.2.0",
32
- "@inkoxide/darwin-arm64": "0.2.0",
33
- "@inkoxide/darwin-x64": "0.2.0",
34
- "@inkoxide/win32-x64-msvc": "0.2.0"
29
+ "@inkoxide/linux-x64-gnu": "0.3.0",
30
+ "@inkoxide/linux-x64-musl": "0.3.0",
31
+ "@inkoxide/linux-arm64-gnu": "0.3.0",
32
+ "@inkoxide/darwin-arm64": "0.3.0",
33
+ "@inkoxide/darwin-x64": "0.3.0",
34
+ "@inkoxide/win32-x64-msvc": "0.3.0"
35
35
  }
36
36
  }