Brian Downing
5fc69d96c8
Fix setting text x or y to 0
...
Because of the use of the construction "@x = x or @x" there was no way
to set x (or y) to 0, since 0 is falsy. Fix to use separate outer tests
and unconditional assignment.
2013-12-01 21:38:38 -06:00
Devon Govett
27c17cf454
Fix behavior of text wrapping with x/y without width. Use options.lineBreak = false to disable linebreaking
2013-11-09 23:13:50 -08:00
Nathanael Anderson
e5bbe4dfce
Fixes the eating of prefix characters:
...
;:.-/\?!
2013-10-24 12:43:25 -05:00
Devon Govett
bf760a1729
Break line wrapper out into separate class
2013-05-12 20:24:51 -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
431a5186fe
Automatically convert text to a string
2011-08-23 10:46:51 -04:00
Devon Govett
927c5d769b
Fix a column wrapping bug
2011-08-16 21:04:27 -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
9d90e25664
Font subsetting support. Only includes characters in embedded fonts that are actually used in the document. Please report bugs if you find them!
2011-07-17 01:13:44 -04:00
Devon Govett
84853322b8
Remove old code.
2011-07-17 00:20:28 -04:00
Devon Govett
d0b84f8595
Make list method use current x and y position by default and reset x position at the end.
2011-07-15 23:20:46 -04:00
Devon Govett
785eedcaf8
Support for the wordSpacing and characterSpacing text options
2011-07-13 01:12:45 -04:00
Devon Govett
6f62c5d3cf
Rework the text module.
2011-07-12 01:00:58 -04:00
Devon Govett
8817481411
More fixes
2011-07-11 10:52:49 -04:00
Devon Govett
a0f6d291b9
Bug Fixes
2011-07-11 02:55:10 -04:00
Devon Govett
9215fc1b02
Initial commit
2011-07-09 22:57:00 -04:00