@takumi-rs/wasm 2.5.11 → 2.6.1

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/dist/export.d.cts CHANGED
@@ -152,6 +152,12 @@ type FontDetails = {
152
152
  * script routes to the subset that covers it. Set by {@link loadGoogleFonts}.
153
153
  */
154
154
  subsetOf?: string;
155
+ /**
156
+ * Where this subset sits in its group's fallback order; lowest is tried first, and equal
157
+ * ranks order by family name. A subset's `cmap` reaches past the range it was cut for, so
158
+ * the rank is what settles which subset serves a codepoint several of them encode.
159
+ */
160
+ subsetRank?: number;
155
161
  /**
156
162
  * CSS generic family keyword this font resolves for, so stacks ending in e.g.
157
163
  * `monospace` reach it without naming the family.
package/dist/export.d.mts CHANGED
@@ -152,6 +152,12 @@ type FontDetails = {
152
152
  * script routes to the subset that covers it. Set by {@link loadGoogleFonts}.
153
153
  */
154
154
  subsetOf?: string;
155
+ /**
156
+ * Where this subset sits in its group's fallback order; lowest is tried first, and equal
157
+ * ranks order by family name. A subset's `cmap` reaches past the range it was cut for, so
158
+ * the rank is what settles which subset serves a codepoint several of them encode.
159
+ */
160
+ subsetRank?: number;
155
161
  /**
156
162
  * CSS generic family keyword this font resolves for, so stacks ending in e.g.
157
163
  * `monospace` reach it without naming the family.
package/package.json CHANGED
@@ -1,13 +1,14 @@
1
1
  {
2
2
  "name": "@takumi-rs/wasm",
3
- "version": "2.5.11",
4
- "description": "WebAssembly bindings for Takumi, a Rust image rendering engine.",
3
+ "version": "2.6.1",
4
+ "description": "Render OG images from Takumi node trees with WebAssembly. No headless browser.",
5
5
  "keywords": [
6
+ "cloudflare-workers",
6
7
  "css",
8
+ "edge",
7
9
  "image",
8
- "jsx",
9
- "react",
10
- "rendering",
10
+ "image-generation",
11
+ "og-image",
11
12
  "webassembly"
12
13
  ],
13
14
  "license": "(MIT OR Apache-2.0)",
@@ -117,7 +118,7 @@
117
118
  "publish-lint": "attw --pack . && publint --strict ."
118
119
  },
119
120
  "dependencies": {
120
- "@takumi-rs/helpers": "2.5.11"
121
+ "@takumi-rs/helpers": "2.6.1"
121
122
  },
122
123
  "devDependencies": {
123
124
  "@types/bun": "^1.3.14",
Binary file