fullbleed 0.1.4 → 0.1.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/README.md CHANGED
@@ -4,11 +4,12 @@ Generate PDFs from static HTML and CSS in Node.js. The package includes the
4
4
  Fullbleed Rust engine compiled to WebAssembly and four font faces, so installing
5
5
  it does not require Python, Rust, a browser, or system fonts. MIT licensed.
6
6
 
7
- This is an optional integration around the published **Fullbleed 2.5.7** engine.
8
- The Node package has its own version, **0.1.4**. This release reduces embedded
9
- font metadata while preserving the retained glyph outlines, metrics, and font
10
- notices. See the [installed-package font checks](docs/font-subsets.md) for the
11
- fixtures and verification commands.
7
+ This is an optional integration around the published **Fullbleed 2.5.8** engine.
8
+ The Node package has its own version, **0.1.5**. Normal text now selects a custom
9
+ family's regular face even when its italic face is supplied first. Review saved
10
+ PDF baselines when upgrading: affected documents can change appearance and line
11
+ breaks. See the [font-family checks](https://github.com/fullbleed-engine/fullbleed-node/blob/main/docs/font-families.md) and
12
+ [embedded-font checks](https://github.com/fullbleed-engine/fullbleed-node/blob/main/docs/font-subsets.md) for the retained fixtures.
12
13
 
13
14
  ## Install and render
14
15
 
@@ -18,9 +19,9 @@ Use Node.js 22 or newer. Install the [npm package](https://www.npmjs.com/package
18
19
  npm install fullbleed
19
20
  ```
20
21
 
21
- For a version-pinned installation, use `npm install --save-exact fullbleed@0.1.4`.
22
- The npm tarball is byte-identical to the verified
23
- [GitHub release](https://github.com/fullbleed-engine/fullbleed-node/releases/tag/v0.1.4).
22
+ For a version-pinned installation, use `npm install --save-exact fullbleed@0.1.5`.
23
+ Release verification compares the npm tarball with the checked
24
+ [GitHub release](https://github.com/fullbleed-engine/fullbleed-node/releases/tag/v0.1.5).
24
25
  See the [installation verification records](https://github.com/fullbleed-engine/fullbleed-node/tree/main/verification).
25
26
 
26
27
  Save this as `invoice.mjs` and run `node invoice.mjs`:
@@ -180,6 +181,8 @@ python -m pip install pypdf==6.19.0 pypdfium2==5.14.0 fonttools==4.65.0 pillow==
180
181
  npm run verify:text
181
182
  npm run render:fonts
182
183
  npm run verify:fonts
184
+ npm run render:families
185
+ npm run verify:families
183
186
  ```
184
187
 
185
188
  The build records engine metadata, licenses, and artifact hashes in `dist/`.
@@ -1,4 +1,4 @@
1
- fullbleed 2.5.7 / LICENSE
1
+ fullbleed 2.5.8 / LICENSE
2
2
 
3
3
  MIT License
4
4
 
@@ -23,7 +23,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23
23
  SOFTWARE.
24
24
 
25
25
 
26
- fullbleed 2.5.7 / THIRD_PARTY_LICENSES.md
26
+ fullbleed 2.5.8 / THIRD_PARTY_LICENSES.md
27
27
 
28
28
  <!-- SPDX-License-Identifier: MIT -->
29
29
  # Third-Party Licenses
package/dist/build.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
- "packageVersion": "0.1.4",
3
- "engineVersion": "2.5.7",
4
- "engineSource": "https://crates.io/crates/fullbleed/2.5.7",
2
+ "packageVersion": "0.1.5",
3
+ "engineVersion": "2.5.8",
4
+ "engineSource": "https://crates.io/crates/fullbleed/2.5.8",
5
5
  "target": "wasm32-wasip1",
6
6
  "memoryMaximumBytes": 536870912,
7
7
  "fonts": [
@@ -13,7 +13,7 @@
13
13
  "dependencies": [
14
14
  {
15
15
  "name": "fullbleed",
16
- "version": "2.5.7",
16
+ "version": "2.5.8",
17
17
  "source": "registry+https://github.com/rust-lang/crates.io-index",
18
18
  "license": "MIT"
19
19
  },
@@ -44,12 +44,12 @@
44
44
  ],
45
45
  "files": {
46
46
  "dist/engine.wasm": {
47
- "bytes": 5064368,
48
- "sha256": "3b5b0200268264b947f7b5bdc658a2d32d9fd160b8652f0ee6834e5296db9abb"
47
+ "bytes": 5069661,
48
+ "sha256": "e95cc9132029b9c42ad684d898063b4efc043fa0b7b9fe2e7867f3eb3a17ef58"
49
49
  },
50
50
  "dist/THIRD_PARTY_NOTICES.txt": {
51
51
  "bytes": 57660,
52
- "sha256": "90c2828609b2a61323dfd97564a023123e38e1df7c9e9a9db0a29bb12aad1438"
52
+ "sha256": "5475f50666d3af5df89048cc1ddc98d153cd813019afbc213be20e4f3838911f"
53
53
  },
54
54
  "assets/fonts/BebasNeue-OFL.txt": {
55
55
  "bytes": 4337,
package/dist/engine.wasm CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fullbleed",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "description": "Generate PDFs from HTML and CSS in Node.js with the Fullbleed Rust engine, bundled fonts, and optional PNG previews.",
5
5
  "type": "module",
6
6
  "main": "./src/index.cjs",
@@ -37,7 +37,9 @@
37
37
  "verify:pack": "node tools/verify-pack.mjs",
38
38
  "verify:text": "python tools/verify-installed-text.py",
39
39
  "render:fonts": "node tools/render-font-subsets.mjs",
40
- "verify:fonts": "python tools/verify-font-subsets.py"
40
+ "verify:fonts": "python tools/verify-font-subsets.py",
41
+ "render:families": "node tools/render-font-families.mjs",
42
+ "verify:families": "python tools/verify-font-families.py output/font-families"
41
43
  },
42
44
  "dependencies": {
43
45
  "@bjorn3/browser_wasi_shim": "0.4.2"
@@ -65,7 +67,7 @@
65
67
  "access": "public"
66
68
  },
67
69
  "fullbleed": {
68
- "engineVersion": "2.5.7"
70
+ "engineVersion": "2.5.8"
69
71
  },
70
72
  "devDependencies": {
71
73
  "@types/node": "22.20.5",