242 Commits

Author SHA1 Message Date
Devon Govett
5cb45d6c99 v0.6.2 v0.6.2 2014-05-10 10:21:51 -07:00
Devon Govett
7883279a74 Merge pull request #238 from ryanwersal/iss224-fix-char-spacing
Remove text state handling as it doesn't surive graphic stack saves/restores
2014-05-10 10:14:39 -07:00
Ryan Wersal
c77add8f56 Remove text state handling as it doesn't surive graphic stack saves/restores
Saving and/or restoring the graphics state causes each text object to have to
reinitialize that text state. As a result, the mode/characterSpacing commands
would not get re-added until their value(s) had changed.
2014-05-10 01:11:06 -05:00
Devon Govett
0e221f9d03 Merge pull request #237 from ryanwersal/improve-underline-sizing
Improve sizing of text underline
2014-05-09 19:20:41 -07:00
Ryan Wersal
aadc589a62 Improve sizing of text underline 2014-05-09 00:05:17 -05:00
Devon Govett
6d5b06df17 Merge pull request #235 from ryanwersal/add-base64-image
Add ability to add base64 URI images
2014-05-06 10:03:58 -07:00
Ryan Wersal
acc0a2e4ba Use a regex to capture the base64 encoded string 2014-05-06 00:43:02 -05:00
Devon Govett
c753a45ebb Merge pull request #234 from ryanwersal/fix-dependencies
Fix dependencies for browser-demo
2014-05-05 20:53:47 -07:00
Ryan Wersal
1020ac7b73 Mark blob-stream as a dev dependency 2014-05-05 22:49:37 -05:00
Ryan Wersal
2b34173dec Add ability to add base64 URI images 2014-05-05 22:47:33 -05:00
Ryan Wersal
15823ec547 Fix dependencies for browser-demo
Restrict brfs' version to fix unexpected identifier errors. See #230.
Add blob-stream as a dependency.
2014-05-05 22:43:48 -05:00
Devon Govett
16e8b0316f Rebuild guide for v0.6.1 v0.6.1 2014-04-14 10:00:16 -07:00
Devon Govett
5a06eb79c6 v0.6.1 2014-04-14 09:58:45 -07:00
Devon Govett
a6f6f4df8a Don't use trimRight since it isn't supported in IE 2014-04-14 09:58:26 -07:00
Devon Govett
39ac0a69fe Another link to demo 2014-04-14 00:04:07 -07:00
Devon Govett
655d753bfb Add Google analytics code to browser demo 2014-04-13 23:08:31 -07:00
Devon Govett
968f2c73de Merge pull request #223 from devongovett/browser
Support using PDFKit in the Browser, thanks to Browserify!
v0.6.0
2014-04-13 22:54:11 -07:00
Devon Govett
701ba34c45 Add note about using buffers for fonts 2014-04-13 22:49:06 -07:00
Devon Govett
72757e38e6 Add link to in-browser demo 2014-04-13 22:44:18 -07:00
Devon Govett
9b3d804170 Add note about installing brfs to browserify 2014-04-13 22:22:19 -07:00
Devon Govett
1eb3b6b651 Remove coffeeify transform from package.json and use compiled JS for browserify 2014-04-13 22:09:12 -07:00
Devon Govett
b6fd1701e6 Fix indentation 2014-04-13 22:08:17 -07:00
Devon Govett
3c90db37a5 v0.6.0! 2014-04-13 20:20:37 -07:00
Devon Govett
1df3cc1f08 Rebuild PDF guide 2014-04-13 20:20:26 -07:00
Devon Govett
cab012a56a Add browser demo to makefile target for docs 2014-04-13 20:17:30 -07:00
Devon Govett
48bc1a4f5a Turn github highlighted code blocks into normal markdown code blocks 2014-04-13 20:17:20 -07:00
Devon Govett
ad8d8b5b9b Add section to the docs about using PDFKit in the browser 2014-04-13 19:56:34 -07:00
Devon Govett
f9986cf15a End the stream 2014-04-13 19:54:33 -07:00
Devon Govett
5efb4b7fc9 Make sure the img directory exists 2014-04-13 19:54:26 -07:00
Devon Govett
6e447cae7a Don't embed fonts that haven't been referenced 2014-04-13 19:54:18 -07:00
Devon Govett
844885af87 Add Makefile targets for documentation 2014-04-13 19:48:33 -07:00
Devon Govett
cd928126e4 Make sure doc scripts current directory is right 2014-04-13 19:48:21 -07:00
Devon Govett
af49f9ccc9 Add link to browser demo in docs 2014-04-13 19:32:00 -07:00
Devon Govett
e880ab4584 Add browser demo 2014-04-13 19:28:49 -07:00
Devon Govett
bea07a9a1e Add mime type 2014-04-13 19:23:49 -07:00
Devon Govett
ab87c41c4b Update README with browser usage info 2014-04-13 18:21:50 -07:00
Devon Govett
4613546703 Add a Makefile for browser and node builds 2014-04-13 18:00:43 -07:00
Devon Govett
78756f2f61 Make sure we have node streams 2 (v0.10 and higher) 2014-04-13 17:59:46 -07:00
Devon Govett
aa1d368c80 Add browserify fields and dependencies to package.json 2014-04-13 17:58:59 -07:00
Devon Govett
426fc15ca1 Add build and js folders to gitignore 2014-04-13 17:57:01 -07:00
Devon Govett
22499ee4bd Include a static list of standard fonts so they can be included by browserify/brfs 2014-04-12 20:48:29 -07:00
Devon Govett
78946e97fc Rework mixin so it can be statically compiled by browserify 2014-04-12 20:47:54 -07:00
Devon Govett
98489d64a8 Store the font name 2014-04-12 20:45:42 -07:00
Devon Govett
4b8b031188 Don't embed fonts until they are actually used 2014-04-12 20:45:15 -07:00
Devon Govett
bb9b77cb82 Allow loading fonts from Buffers in addition to filenames 2014-04-12 20:44:19 -07:00
Devon Govett
801981728c Make AFMFont.open different from constructor 2014-04-12 20:35:14 -07:00
Devon Govett
8c51ee077f Make sure that sfnt key exists in dfont so we don't throw random errors 2014-04-09 23:44:31 -07:00
Devon Govett
f463512b2f Don't embed fonts more than once 2014-04-09 23:41:40 -07:00
Devon Govett
87fd69b7e5 Don't overwrite cmap method 2014-04-09 23:41:06 -07:00
Devon Govett
047110e5b6 v0.5.3 2014-04-09 09:55:49 -07:00