73 Commits

Author SHA1 Message Date
Devon Govett
96bba3a035 Merge pull request #119 from ef4/path-parser-fix
Fixed path parsing bug
2013-07-31 21:05:20 -07:00
Devon Govett
6e699c46f2 Merge pull request #141 from mark-hahn/jpeg-fix
critical bug fix for JPEG
2013-07-31 21:03:40 -07:00
Devon Govett
12eed6aa5f Merge pull request #117 from daxxog/pull1
Filenames OR Buffers for .image
2013-07-31 20:55:31 -07:00
Mark Hahn
4cb8edf4b2 removed DHT marker FFC4 from list of SOF markers 2013-07-04 11:40:48 -07:00
Devon Govett
c89ebd0a65 Merge pull request #135 from godmodelabs/master
make registerFont chainable
2013-06-28 20:14:14 -07:00
Julian Gruber
6775d194a1 make registerFont chainable 2013-06-28 10:51:23 +02:00
Devon Govett
c5870d2822 Release 0.2! 2013-05-17 10:27:46 -07:00
Devon Govett
2493e0c34c Add gradient support (both linear and radial). Closes #95. 2013-05-12 20:29:53 -07:00
Devon Govett
587456daad Fix some transform stuff 2013-05-12 20:27:03 -07:00
Devon Govett
bf760a1729 Break line wrapper out into separate class 2013-05-12 20:24:51 -07:00
Edward Faulkner
f362032025 Fixed path parsing bug
The path parser didn't handle numbers like "1e-4" correctly.

(I don't know what the SVG standard has to say about that formatting,
but Inkscape certainly does output them like that.)
2013-03-23 16:38:29 -04:00
David Volm
f20e777dee Buffers OR Filenames 2013-03-12 10:29:21 -05:00
Devon Govett
424fa81170 Merge pull request #75 from tofutim/master
Fix for Acrobat Reader crash on undash
2012-06-20 21:48:10 -07:00
tofutim
e6fb9f0fd1 Using [null null] 0 d for undash causes Acrobat Reader to crash. Use [] 0 d instead. 2012-06-20 21:41:56 -07:00
Devon Govett
273f704186 Remove beginPath function.
PDF subpaths are begun automatically by moveTo. Was causing issues with opening and printing some PDFs in Adobe Reader.
2012-05-17 09:24:43 -07:00
Devon Govett
898eb5d32d Release 0.1.9 2012-05-04 09:08:11 -07:00
Devon Govett
eeae6ad991 Fix image issue. Closes #71. 2012-05-04 09:07:18 -07:00
Devon Govett
335fca13df Fix a bug in the SVG path parser 2012-05-04 09:04:16 -07:00
Devon Govett
cbaff9962d Work around silly CoffeeScript bug. Fixes #70. 2012-04-20 11:29:12 -07:00
Devon Govett
39f4e9ea6a Separate png decoding into a separate library. See http://github.com/devongovett/png.js. 2012-04-07 01:38:03 -07:00
Devon Govett
12a9a85a22 Update homepage in package.json 2012-04-04 01:04:24 -07:00
Devon Govett
08c1b65067 Release v0.1.7. Remove coffeescript dependency by compiling to JS before publish to npm. 2012-04-04 00:42:36 -07:00
Devon Govett
bfd4ab3e55 Fix weird DFont parsing issues. Should fix usage of Mac OS X system fonts. Closes #34. 2012-04-04 00:08:18 -07:00
Devon Govett
2e457ac0f3 Fix transformation issues. Closes #67, #68 and #35.
I think 5 decimal places is probably enough.
2012-04-03 20:58:20 -07:00
Devon Govett
916e66b246 Remove flate from dependency list :) 2012-04-03 19:35:21 -07:00
Devon Govett
b9da8ebedd Switch to using Node's built in zlib bindings. Fixes #48. 2012-04-03 19:28:59 -07:00
Devon Govett
a39c7d0995 Add stream Length property for uncompressed documents. Fixes https://github.com/mozilla/pdf.js/issues/1293. 2012-03-03 17:55:45 -08:00
Devon Govett
fb7d8ceb7f Fix zlib issue with node 0.6. Closes #42. 2011-10-22 14:12:02 -07:00
Devon Govett
513fef78e1 Encode text as hex to avoid an escaping issue when using font subsets. Fixes #33. 2011-09-05 11:02:56 -04:00
Devon Govett
3ab7a74369 Release 0.1.5 2011-08-23 12:51:51 -04:00
Devon Govett
e60eae758d Fix a JPEG parsing issue with Progressive DCT 2011-08-23 12:49:45 -04:00
Devon Govett
431a5186fe Automatically convert text to a string 2011-08-23 10:46:51 -04:00
Devon Govett
753e41462b Allow zero image coordinates - fixes #25 2011-08-19 18:33:43 -04:00
Devon Govett
1812f90281 Easier loading from non CoffeeScript projects 2011-08-16 21:07:07 -04:00
Devon Govett
927c5d769b Fix a column wrapping bug 2011-08-16 21:04:27 -04:00
Devon Govett
14d9dddf2e PNG color palette decoding bug fix 2011-08-08 17:24:17 -04:00
Devon Govett
c215954e33 Update package.json to 0.1.3. 2011-07-26 22:12:05 -04:00
Devon Govett
78c578972d Fix path 2011-07-26 22:02:11 -04:00
Devon Govett
89dd7fdc8e Define upfront 2011-07-26 22:02:02 -04:00
Devon Govett
ee86d0493f Don't move down the paragraph gap when on the first paragraph of a page or column. 2011-07-22 16:33:26 -04:00
Devon Govett
d11b105267 Fix comment 2011-07-22 15:38:24 -04:00
Devon Govett
526e42923f Support for wrapping text into columns (across multiple pages if needed)! 2011-07-22 15:31:10 -04:00
Devon Govett
0d11ae8777 Make sure that the first line of a paragraph is never by itself at the bottom of a page 2011-07-22 13:12:06 -04:00
Devon Govett
bffd8d9878 Automatically flow text to new pages if it doesn't fit on a single one. 2011-07-22 12:41:02 -04:00
Devon Govett
aab337d215 By default, text now wraps to the page margins which are by default, 1 inch. This will not happen if you pass X and Y coordinates for the text to appear at. 2011-07-22 11:44:32 -04:00
Devon Govett
a9bb4e04db Support for options.x and options.y in text method is no more. 2011-07-22 10:51:35 -04:00
Devon Govett
18291d7388 Update .gitignore 2011-07-22 00:57:44 -04:00
Devon Govett
788d4b8027 ToUnicode cmap support. Fixes copy and paste. 2011-07-20 13:54:39 -04:00
Devon Govett
7096c52c09 Update package.json 2011-07-20 13:52:09 -04:00
Devon Govett
a6ca7c7896 Unicode font support! 2011-07-20 01:54:15 -04:00