14 Commits

Author SHA1 Message Date
Peter Ogilvie
42921fa8f1 add 1 to javascript month for pdf month num 2015-11-19 15:25:50 -08: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
Nathanael Anderson
cba6f80b4e Update object.coffee code to eliminate .isString and .isRaw hacks and replace with the Buffer object so that anything can be supported. 2015-03-16 13:57:06 -05:00
Nathanael Anderson
ca8c3c38ff Fix missing object.coffee outputs. 2015-03-15 20:29:42 -05:00
Devon Govett
1305a9592a Switch to 2 space indentation 2014-03-23 12:25:09 -07:00
Devon Govett
f8a8f98212 Only swap bytes for PDF metadata, not for annotations. Closes #174 2013-11-14 19:37:45 -08:00
Devon Govett
fe04b9a41a Reorganize 2013-11-09 23:00:59 -08:00
hanenoshino
05b25cfd53 Use Unicode on PDFObject.s for CJK metadata
As a Chinese user,
I want Use Unicode to store PDF metadata,
So that I can read a Chinese Title&Author...

Not so familiar with coffeescript re-organize may be required
2012-08-29 18:04:26 +08: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
284934c220 Quote style consistency... 2011-07-17 00:18:51 -04:00
Devon Govett
3a125383cc Oops, missed one! 2011-07-15 23:54:49 -04:00
Devon Govett
c93859c313 Remove gratuitous returns from object.coffee 2011-07-15 23:10:04 -04:00
Devon Govett
9215fc1b02 Initial commit 2011-07-09 22:57:00 -04:00