211 Commits

Author SHA1 Message Date
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
Devon Govett
81696c14eb Rebuild guide and demo PDFs 2014-04-09 09:53:25 -07:00
Devon Govett
ae28782eb1 Fix writing indexed PNG palettes 2014-04-09 09:51:59 -07:00
Devon Govett
876db9e067 Don't set the Length key on images. It will be set by the PDFReference class automatically 2014-04-09 09:51:43 -07:00
Devon Govett
665fd935ef Make loading images from buffers way faster by not converting to a string inadvertently 2014-04-06 19:19:17 -07:00
Devon Govett
50f2f84987 v0.5.2 2014-03-29 20:46:39 -07:00
Devon Govett
c9ca2c6151 Release v0.5.1 2014-03-29 20:46:01 -07:00
Devon Govett
8eece7e9ea Make sure heightOfString doesn't break pages 2014-03-29 20:36:10 -07:00
Devon Govett
c72b50927c Add heightOfString method that uses the line wrapper without actually adding content to the document.
Very useful for layout purposes
2014-03-29 20:22:21 -07:00
Devon Govett
cf564ac3da Fixes for text justification 2014-03-29 19:56:36 -07:00
Devon Govett
c30c001e19 Fix coffeescript loading 2014-03-29 19:45:49 -07:00
Devon Govett
16e00aa9e2 Allow setting compress option from constructor 2014-03-29 19:45:41 -07:00
Devon Govett
f2f56fbba5 Fix generating website with new streaming api 2014-03-23 19:47:18 -07:00
Devon Govett
84375a8220 Merge pull request #212 from devongovett/streams
API Change Announcement: Streams instead of write/output methods
2014-03-23 19:34:58 -07:00
Devon Govett
0907968905 Don't store all objects in memory, just offsets once they are written 2014-03-23 18:16:42 -07:00
Devon Govett
9727cfc3fa Bump version and update PDF guide 2014-03-23 17:53:50 -07:00
Devon Govett
64cd3416e5 Update readme with stream info 2014-03-23 17:52:51 -07:00
Devon Govett
ee38da41f6 Update guide for new stream based API 2014-03-23 17:51:18 -07:00
Devon Govett
f6c4b2c226 Free memory after embedding images 2014-03-23 17:37:13 -07:00
Devon Govett
b570ac219e Simplify image loading 2014-03-23 17:31:07 -07:00
Devon Govett
e86289bbff Update guide script for streams 2014-03-23 17:12:31 -07:00
Devon Govett
15c21f8efc Update demo to pipe to a node write stream instead of using deprecated write method 2014-03-23 17:12:22 -07:00
Devon Govett
f8a40dba76 Make PDFDocument a node stream 2014-03-23 17:11:48 -07:00
Devon Govett
1305a9592a Switch to 2 space indentation 2014-03-23 12:25:09 -07:00
Devon Govett
d95b826475 Release v0.4.3 2014-02-25 01:03:44 -08:00
Devon Govett
fda5b400e6 Another path parser fix 2014-02-25 00:42:25 -08:00
Devon Govett
06e6419533 Handle reused commands in path parser for last command 2014-02-25 00:08:41 -08:00
Devon Govett
67e6640b92 Fix bug in path parser 2014-02-24 23:44:50 -08:00
Devon Govett
350863bfda Fix the ellipse method 2014-02-24 23:25:41 -08:00
Devon Govett
c1319acff8 Allow 0 opacities 2014-02-24 01:09:27 -08:00
Devon Govett
50b560debf Add Google analytics tracker for website 2014-02-23 00:25:05 -08:00
Devon Govett
b1aec438e2 Fix link 2014-02-22 23:53:48 -08:00