@fauzi-dhuhuri/react-pdf-pdfkit 5.1.2-zi-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/LICENSE ADDED
@@ -0,0 +1,8 @@
1
+ MIT LICENSE
2
+ Copyright (c) 2014 Devon Govett
3
+
4
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
5
+
6
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
7
+
8
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,73 @@
1
+ <p align="center">
2
+ <img src="https://user-images.githubusercontent.com/5600341/27505816-c8bc37aa-587f-11e7-9a86-08a2d081a8b9.png" height="280px">
3
+ </p>
4
+
5
+ # @react-pdf/pdfkit
6
+
7
+ A JavaScript PDF generation library for Node and the browser.
8
+
9
+ ## Acknowledges
10
+
11
+ This project is a fork of [pdfkit](https://github.com/foliojs/pdfkit) by @devongovett and continued under the scope of this project since it has react-pdf specific features. Any recongnition should go to him and the original project mantainers.
12
+
13
+ ## Description
14
+
15
+ PDFKit is a PDF document generation library for Node and the browser that makes creating complex, multi-page, printable documents easy.
16
+ It's written in CoffeeScript, but you can choose to use the API in plain 'ol JavaScript if you like. The API embraces
17
+ chainability, and includes both low level functions as well as abstractions for higher level functionality. The PDFKit API
18
+ is designed to be simple, so generating complex documents is often as simple as a few function calls.
19
+
20
+ Check out some of the [documentation and examples](http://pdfkit.org/docs/getting_started.html) to see for yourself!
21
+ You can also read the guide as a [self-generated PDF](http://pdfkit.org/docs/guide.pdf) with example output displayed inline.
22
+ If you'd like to see how it was generated, check out the README in the [docs](https://github.com/devongovett/pdfkit/tree/master/docs)
23
+ folder.
24
+
25
+ You can also try out an interactive in-browser demo of PDFKit [here](http://pdfkit.org/demo/browser.html).
26
+
27
+ ## Installation
28
+
29
+ Installation uses the [npm](http://npmjs.org/) package manager. Just type the following command after installing npm.
30
+
31
+ npm install @react-pdf/pdfkit
32
+
33
+ ## Features
34
+
35
+ - Vector graphics
36
+ - HTML5 canvas-like API
37
+ - Path operations
38
+ - SVG path parser for easy path creation
39
+ - Transformations
40
+ - Linear and radial gradients
41
+ - Text
42
+ - Line wrapping
43
+ - Text alignments
44
+ - Bulleted lists
45
+ - Font embedding
46
+ - Supports TrueType (.ttf), OpenType (.otf), WOFF, WOFF2, TrueType Collections (.ttc), and Datafork TrueType (.dfont) fonts
47
+ - Font subsetting
48
+ - See [fontkit](http://github.com/devongovett/fontkit) for more details on advanced glyph layout support.
49
+ - Image embedding
50
+ - Supports JPEG and PNG files (including indexed PNGs, and PNGs with transparency)
51
+ - Annotations
52
+ - Links
53
+ - Notes
54
+ - Highlights
55
+ - Underlines
56
+ - etc.
57
+
58
+ ## Coming soon!
59
+
60
+ - Patterns fills
61
+ - Outlines
62
+ - PDF Security
63
+ - Higher level APIs for creating tables and laying out content
64
+ - More performance optimizations
65
+ - Even more awesomeness, perhaps written by you! Please fork this repository and send me pull requests.
66
+
67
+ ## Documentation
68
+
69
+ For complete API documentation and more examples, see the [PDFKit website](http://pdfkit.org/).
70
+
71
+ ## License
72
+
73
+ PDFKit is available under the MIT license.