Devon Govett
33920c3f2a
Merge pull request #301 from ef4/center-spacing
...
Fix center-aligned character spacing
2014-09-11 19:51:10 -04:00
Devon Govett
1d4c208d47
Merge pull request #300 from ef4/continued-indent
...
Fix indent with continued
2014-09-11 19:47:21 -04:00
Edward Faulkner
3e19194802
Fix center-aligned character spacing
2014-09-11 16:09:54 -04:00
Edward Faulkner
5b433d808a
fix indent with continued
2014-09-11 13:34:51 -04:00
Devon Govett
ea22822d6c
v0.6.5
v0.6.5
2014-08-29 11:49:36 -04:00
Devon Govett
09ed15b2e4
Fix unicode annotations
2014-08-29 11:49:20 -04:00
Devon Govett
932cd0c70c
v0.6.4
v0.6.4
2014-08-27 19:22:36 -04:00
Devon Govett
71669f4e5e
Merge pull request #281 from sbruchmann/feature/update-copyright-year
...
Update copyright year to 2014
2014-08-22 18:46:28 -04:00
Steffen Bruchmann
7642034a1f
Update copyright year to 2014
2014-08-23 00:30:55 +02:00
Devon Govett
3418299ac7
Merge pull request #277 from mishoo/fix-reading-uint32
...
Fix reading UInt32
2014-08-16 09:52:56 -04:00
Devon Govett
2792ca2569
Merge pull request #276 from mishoo/fix-reading-cmap
...
Fix reading `cmap` table
2014-08-16 09:12:07 -04:00
Mihai Bazon
b60fe860e0
Fix reading UInt32
...
In JS, 0x80 << 24 yields a negative result. Also, 0x80000000|0 < 0.
Bitwise ops should be avoided for very long unsigned ints.
2014-08-16 11:57:54 +03:00
Mihai Bazon
e61366b37f
Fix reading cmap table
...
The data offset must be saved before parsing one entry and restored
thereafter. Otherwise only the first table is parsed properly, and garbage
is returned for the rest. Fails on i.e. georgiai.ttf.
When reading the glyphIds, divide count by 2 (we read 16-bit words).
2014-08-16 11:50:52 +03:00
Devon Govett
26a0753d6c
v0.6.3
v0.6.3
2014-07-29 09:45:08 -07:00
Devon Govett
1241997715
Refactor font loading code and add support for ArrayBuffers
2014-07-29 09:42:48 -07:00
Devon Govett
314e9d28ae
Merge pull request #257 from pretzelfisch/master
...
added support for add font as Uint8Array
2014-07-29 09:36:57 -07:00
Aaron Fischer
c2c61bb2e2
added support for add font as Uint8Array
2014-07-29 09:15:39 -07:00
Devon Govett
e58a7ce809
Formatting
2014-07-14 20:48:00 -07:00
Devon Govett
afbb700fb1
Merge pull request #250 from jkol/master
...
Added "valign" option to image "fit" scaling
2014-07-14 20:46:43 -07:00
jkol
64df00fa13
Added "valign" option to image "fit" scaling
...
valign can be set to "center" or "bottom" now and when "valign" === "center" is combined with "align" === "center" any aspect ratio image can be centered into a bounding area.
2014-07-14 18:23:11 -05:00
Devon Govett
6b0846c68f
Fix docs on piping to an HTTP response
2014-05-21 09:12:48 -07:00
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