pdfkit 0.15.2 → 0.17.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.
@@ -0,0 +1 @@
1
+ a76ab284a8d30c669b5ad2278bbcd050dea13abe
package/CHANGELOG.md CHANGED
@@ -1,5 +1,31 @@
1
1
  ## pdfkit changelog
2
2
 
3
+ ### Unreleased
4
+
5
+ ### [v0.17.0] - 2025-04-12
6
+
7
+ - Fix precision rounding issues in LineWrapper
8
+ - Fix fonts without a postscriptName
9
+ - Add support for dynamic sizing
10
+ - Add support for rotatable text
11
+ - Fix page cascade options when text overflows
12
+ - Add table generation
13
+ - Fix y position when using `image()` without x and y coordinates
14
+ - Improve Prettier configuration
15
+
16
+ ### [v0.16.0] - 2024-12-29
17
+
18
+ - Update fontkit to 2.0
19
+ - Update linebreak to 1.1
20
+ - Add support for spot colors
21
+ - Add support to scale text horizontally
22
+ - Add an option to keep the indentation after a new line starts and allow to indent a whole paragraph/text element
23
+ - Add `Name` property for set custom icon for `note()`
24
+ - Fix sets tab order to "Structure" when a document is tagged
25
+ - Fix font cache collision for fonts with missing postscript name or bad TTF metadata or identical metadata for different fonts
26
+ - Fix for embedding fonts into PDF (font name must not contain spaces)
27
+ - Fix measuring text when OpenType features are passed in to .text()
28
+
3
29
  ### [v0.15.2] - 2024-12-15
4
30
 
5
31
  - Fix index not counting when rendering ordered lists (#1517)
package/README.md CHANGED
@@ -128,8 +128,8 @@ complex documents with a very small amount of code. For more, see the `demo` fol
128
128
 
129
129
  There are three ways to use PDFKit in the browser:
130
130
 
131
- - Use [Browserify](http://browserify.org/). See demo [source code](demo/browser.js) and [build script](https://github.com/foliojs/pdfkit/blob/master/package.json#L56)
132
- - Use [webpack](https://webpack.js.org/). See [complete example](examples/webpack).
131
+ - Use [Browserify](http://browserify.org/). See demo [source code](https://github.com/foliojs/pdfkit/blob/master/examples/browserify/browser.js) and [build script](https://github.com/foliojs/pdfkit/blob/master/package.json#L62)
132
+ - Use [webpack](https://webpack.js.org/). See [complete example](https://github.com/foliojs/pdfkit/blob/master/examples/webpack).
133
133
  - Use prebuilt version. Distributed as `pdfkit.standalone.js` file in the [releases](https://github.com/foliojs/pdfkit/releases) or in the package `js` folder.
134
134
 
135
135
  In addition to PDFKit, you'll need somewhere to stream the output to. HTML5 has a