@kittl/pdfkit 0.17.3 → 0.17.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/.yarnrc.yml ADDED
@@ -0,0 +1,3 @@
1
+ nodeLinker: node-modules
2
+
3
+ yarnPath: .yarn/releases/yarn-4.13.0.cjs
package/CHANGELOG.md CHANGED
@@ -2,6 +2,20 @@
2
2
 
3
3
  ### Unreleased
4
4
 
5
+ - Fix garbled text copying in Chrome/Edge for PDFs with >256 unique characters (#1659)
6
+ - Fix Link accessibility issues
7
+ - Fix Table Accessibility Issue: Operator CS/cs not allowed in this current state
8
+ - Fix Interlaced PNG with indexed transparency rendered incorrectly
9
+ - Fix SVG path parser incorrectly handle arc flags without separators
10
+ - Add pageLayout option to control how pages are displayed in PDF viewers
11
+ - Preserve existing PageMode instead of overwriting when adding outlines
12
+ - Add userUnit option for custom page units (PDF 1.6)
13
+ - Support outlines that jump to specific page positions with custom zoom level
14
+ - Add robust handling of null byte padding in JPEG images
15
+ - Replace outdated jpeg-exif with minimal implementation
16
+ - Replace outdated crypto-js with maintained small alternatives
17
+ - Fix issue with indentation with `indentAllLines: true` when a new page is created
18
+
5
19
  ### [v0.17.2] - 2025-08-30
6
20
 
7
21
  - Fix rendering lists that spans across pages
package/README.md CHANGED
@@ -18,9 +18,15 @@ You can also try out an interactive in-browser demo of PDFKit [here](http://pdfk
18
18
 
19
19
  ## Installation
20
20
 
21
- Installation uses the [npm](http://npmjs.org/) package manager. Just type the following command after installing npm.
21
+ Use [npm](http://npmjs.org/) or [yarn](https://yarnpkg.com/) package manager. Just type the following command:
22
22
 
23
- npm install pdfkit
23
+ ```bash
24
+ # with npm
25
+ npm install pdfkit
26
+
27
+ # with yarn
28
+ yarn add pdfkit
29
+ ```
24
30
 
25
31
  ## Features
26
32
 
@@ -40,6 +46,7 @@ Installation uses the [npm](http://npmjs.org/) package manager. Just type the fo
40
46
  - See [fontkit](http://github.com/foliojs/fontkit) for more details on advanced glyph layout support.
41
47
  - Image embedding
42
48
  - Supports JPEG and PNG files (including indexed PNGs, and PNGs with transparency)
49
+ - Tables
43
50
  - Annotations
44
51
  - Links
45
52
  - Notes
@@ -56,7 +63,7 @@ Installation uses the [npm](http://npmjs.org/) package manager. Just type the fo
56
63
  ## Coming soon!
57
64
 
58
65
  - Patterns fills
59
- - Higher level APIs for creating tables and laying out content
66
+ - Higher level APIs for laying out content
60
67
  - More performance optimizations
61
68
  - Even more awesomeness, perhaps written by you! Please fork this repository and send me pull requests.
62
69
 
@@ -168,7 +175,7 @@ stream.on('finish', function() {
168
175
 
169
176
  You can see an interactive in-browser demo of PDFKit [here](http://pdfkit.org/demo/browser.html).
170
177
 
171
- Note that in order to Browserify a project using PDFKit, you need to install the `brfs` module with npm,
178
+ Note that in order to Browserify a project using PDFKit, you need to install the `brfs` module,
172
179
  which is used to load built-in font data into the package. It is listed as a `devDependency` in
173
180
  PDFKit's `package.json`, so it isn't installed by default for Node users.
174
181
  If you forget to install it, Browserify will print an error message.