361 Commits

Author SHA1 Message Date
Devon Govett
b13423bf0a Merge pull request #541 from alafr/RoundedRect
Rounded rect
2016-09-06 14:30:47 -07:00
alafr
b9f30e2af2 Update vector.coffee
-Add closePath fixes gap visible in Chrome pdf viewer with large line widths
-Fix for too large corner radius
2016-09-06 23:46:45 +03:00
alafr
6557d916df Merge pull request #3 from bjnsn/roundedRect-patch
Adjust roundedRect() to draw circular arcs for corners - rather than …
2016-09-06 23:38:07 +03:00
Devon Govett
91939b72d4 Update README.md 2016-09-01 08:09:38 -07:00
Devon Govett
4af1310244 Merge pull request #534 from devongovett/fontkit
fontkit
2016-08-26 13:15:27 -04:00
Devon Govett
08ef766c00 Rebuild pdf guide v0.8.0 2016-08-26 13:13:45 -04:00
Devon Govett
1381facbbe 0.8.0 2016-08-26 13:12:55 -04:00
Devon Govett
8695b612aa Add iconv-lite as a dev dependency
For generating pdf guide.
2016-08-26 13:11:53 -04:00
Devon Govett
56a6e6dd44 Merge branch 'master' of github.com:devongovett/PDFKit into fontkit
# Conflicts:
#	lib/image/png.coffee
2016-08-26 11:39:33 -04:00
Devon Govett
154801ece7 fontkit removed widthOfString method 2016-08-26 11:31:12 -04:00
Brett Johnson
ef6d4c7aed Adjust roundedRect() to draw circular arcs for corners - rather than distorted ones with quadraticCurveTo() 2016-05-04 15:21:31 -07:00
Devon Govett
0812ddf425 Merge pull request #492 from andysimms/master
Path.coffee updated to fix SVG Path Arcs
2016-04-19 09:16:24 -07:00
Andy Simms
872b290e06 Path updated to fix issues with SVG Arcs 2016-04-19 12:31:33 +01:00
Devon Govett
0f30821aa3 Merge pull request #463 from vladgolubev/patch-1
Fix link to the website
2016-03-19 18:07:28 -07:00
Devon Govett
3b78650064 Merge pull request #468 from backspace/arraybuffer-image
Add support for ArrayBuffer-based images
2016-03-19 18:06:58 -07:00
Buck Doyle
c6ff802ff0 Add support for adding ArrayBuffer-based images
This already works for fonts, so I applied the same technique so images
can be loaded similarly.
2016-01-30 19:45:57 -05:00
Vlad Golubev
472b745497 Fix link to the website 2016-01-20 16:21:49 +02:00
Devon Govett
546746ad75 Merge branch 'master' of github.com:devongovett/PDFKit 2015-12-25 17:46:18 -10:00
Devon Govett
24a6745424 Merge pull request #449 from muchavie/meta-data-fixes
add 1 to javascript month for pdf month num
2015-12-25 17:44:09 -10:00
Devon Govett
b883bec912 0.7.2 v0.7.2 2015-12-25 17:41:42 -10:00
Devon Govett
62e514210f Merge pull request #455 from unitive-inc/issue454/JS-not-being-generated-for-NPM
Issue #454: JS not being generated for NPM
2015-12-25 17:40:32 -10:00
matt
0458c29f70 Remove suspicious lines from Makefile 2015-12-14 19:03:25 -08:00
matt
a3d19f624f Make 'js' a phony target so it always runs coffee compiler 2015-12-14 19:03:00 -08:00
Peter Ogilvie
42921fa8f1 add 1 to javascript month for pdf month num 2015-11-19 15:25:50 -08:00
Devon Govett
ae56acee5f Fixes #428 2015-11-09 21:15:49 -08:00
Devon Govett
03a45a1354 Merge pull request #384 from MathieuLoutre/page-added-event
Emit an event when a page is added
2015-10-25 10:39:33 -07:00
Devon Govett
7da47a58f5 Fix another document reference in png.coffee 2015-10-25 10:33:35 -07:00
Devon Govett
d927d0695c Merge pull request #418 from franckl/master
small typo in the example
2015-10-25 10:24:08 -07:00
Devon Govett
94c9f8f475 Merge pull request #434 from pgte/fix-png-image
fixes PNG image generation error: document is not defined
2015-10-25 10:07:48 -07:00
Pedro Teixeira
d4604b4a74 fixes #433 2015-10-20 09:53:52 +01:00
Devon Govett
94f0b7eefa Merge pull request #419 from pomahtuk/patch-1
Fixing typo which make tests fail
2015-08-27 07:26:20 -04:00
Ilia Loriakov
4b76170550 Fixing typo which make tests fail
Now fontkit branch should be functional
2015-08-27 11:36:50 +02:00
franckl
8298e3847f small typo in the example 2015-08-26 14:28:42 -05:00
Devon Govett
de667832fe Correctly render glyphs with x or y offsets
These offsets are generated by fontkit when laying out glyphs, for example accents which should appear above other glyphs. To render them correctly in PDF, we have to break out of the TJ command and move the text position manually.
2015-07-26 12:32:40 -07:00
Devon Govett
fb0b38934f Match fontkit output for standard fonts 2015-07-26 12:30:14 -07:00
Devon Govett
926ed20285 Fix afm glyph width when not defined 2015-07-26 12:29:52 -07:00
Devon Govett
ed542e5192 Update for latest fontkit 2015-07-26 12:29:32 -07:00
Devon Govett
0cca20a6a4 Fix misspelling 2015-07-26 12:29:19 -07:00
Devon Govett
6171085085 Merge remote-tracking branch 'origin/master' into fontkit 2015-07-25 16:57:47 -07:00
Mathieu Triay
fbcb53855e Emit an event when a page is added
Use the document as the EventEmitter

Update docs
2015-04-29 10:12:31 +01:00
Devon Govett
86c94d2c19 Merge pull request #390 from macdaddy/master
Typo correction
2015-04-25 17:26:26 -07:00
David Christian Liedle
5355556b20 Typo correction
It's is a contraction for It-is; Its is the possessive.
2015-04-25 18:19:20 -06:00
Devon Govett
944cbc6cbc Merge branch 'master' into fontkit
Conflicts:
	lib/font/tables/name.coffee
	lib/font/ttf.coffee
2015-04-03 21:13:04 -07:00
Devon Govett
a04155fc76 != -> isnt 2015-04-02 15:27:15 -07:00
Devon Govett
7acefc28c6 Merge pull request #383 from naturalatlas/no-auto-first-page
Allow automatic first page to be disabled (#65).
2015-04-02 15:26:36 -07:00
Brian Reavis
d28983d0ee Allow automatic first page to be disabled (#65). 2015-04-02 15:19:33 -06:00
Devon Govett
40efbe62d1 0.7.1 v0.7.1 2015-03-25 23:04:26 -04:00
Devon Govett
fa5e6c2b15 Merge branch 'Nathanaela-Fix_PDF_Object_Output' 2015-03-19 20:23:59 -07:00
Devon Govett
22a9bfdfab Get rid of PDFObject.s and use JS String object to represent PDF strings
Also improves escaping based on the spec, and detects unicode strings automatically, which are converted to UTF16-BE.
2015-03-19 20:22:44 -07:00
Devon Govett
1e0e7f9567 Merge branch 'Fix_PDF_Object_Output' of https://github.com/Nathanaela/pdfkit into Nathanaela-Fix_PDF_Object_Output
Conflicts:
	lib/object.coffee
2015-03-19 20:19:02 -07:00