@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/.yarn/install-state.gz +0 -0
- package/.yarn/releases/yarn-4.13.0.cjs +940 -0
- package/.yarnrc.yml +3 -0
- package/CHANGELOG.md +14 -0
- package/README.md +11 -4
- package/js/pdfkit.es.js +631 -172
- package/js/pdfkit.es.js.map +1 -1
- package/js/pdfkit.js +629 -172
- package/js/pdfkit.js.map +1 -1
- package/js/pdfkit.standalone.js +21437 -42180
- package/js/writeSvg.es.js +3684 -0
- package/js/writeSvg.es.js.map +1 -0
- package/js/writeSvg.js +3686 -0
- package/js/writeSvg.js.map +1 -0
- package/js/write_svg.es.js +3706 -0
- package/js/write_svg.es.js.map +1 -0
- package/js/write_svg.js +3708 -0
- package/js/write_svg.js.map +1 -0
- package/package.json +22 -8
- package/types/pdfkit.d.ts +1160 -0
- package/types/write_svg.d.ts +76 -0
- package/js/pdfkit.es5.js +0 -6091
- package/js/pdfkit.es5.js.map +0 -1
- package/js/pdfkit.esnext.js +0 -5392
- package/js/pdfkit.esnext.js.map +0 -1
package/.yarnrc.yml
ADDED
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
|
-
|
|
21
|
+
Use [npm](http://npmjs.org/) or [yarn](https://yarnpkg.com/) package manager. Just type the following command:
|
|
22
22
|
|
|
23
|
-
|
|
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
|
|
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
|
|
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.
|