73 Commits

Author SHA1 Message Date
Gunnsteinn Hall
3586509908 Add functions to wrap content state (q..Q). Fix TJ.
Changes function syntax to use *ContentStreamOperations so can change
state.
2017-06-28 15:13:37 +00:00
Gunnsteinn Hall
ef6e7bc8ff Fix minor rect rendering issue 2017-06-02 12:03:51 +00:00
Gunnsteinn Hall
057c437d1e Fix circle rendering (endings) 2017-05-29 17:39:54 +00:00
Gunnsteinn Hall
b8ac08aaa5 Added line, rect, circle drawing routines into draw package (refactored from annotator). 2017-05-28 14:43:18 +00:00
Gunnsteinn Hall
4e678439d6 Fix in text operand TL 2017-05-26 12:28:48 +00:00
Gunnsteinn Hall
5a7469958d Text generating operators in content creator. Some refactoring of annotator. 2017-05-24 21:43:32 +00:00
Gunnsteinn Hall
36aaf59139 Add Do function to content creator 2017-05-20 14:01:44 +00:00
Gunnsteinn Hall
784a60e42b Encoding fixes for images
Support avg, paeth predictors for decoding. Special error flag for
unsupported error parameters. Support specifying encoder when creating
new image objects (inline,xobject).
2017-04-19 11:46:53 +00:00
Gunnsteinn Hall
89b36f338b Annotations support for rectangle and ellipses with appearance stream in annotator. 2017-04-12 21:37:20 +00:00
Gunnsteinn Hall
80c33cc810 Fixes in inline image parsing and outputting. 2017-04-12 11:21:32 +00:00
Gunnsteinn Hall
88d1f6283f Initial prototype for annotator and draw packages for creating annotations and drawing paths for content stream creation. 2017-04-09 16:49:15 +00:00
Gunnsteinn Hall
e3c90b85b7 Cleaning up comments etc. 2017-04-05 18:05:38 +00:00
Gunnsteinn Hall
ce836c6f71 Support for Pattern, Shading objects. Various fixes and enhancements. 2017-04-04 05:51:58 +00:00
Gunnsteinn Hall
a1d15f3838 Add core support for creating PDF content via content streams 2017-04-02 18:48:40 +00:00
Peter Williams
5e0baec137 Parse floating point numbers correctly in content streams e.g. .1 .1 .2 RG 2017-03-29 17:31:46 +11:00
Gunnsteinn Hall
ec5ad27789 Minor fixes, initial interface for creating new annotations. 2017-03-24 11:31:20 +00:00
Gunnsteinn Hall
8ae4f6a63a Initial implementation of a simple graphics state handler / content stream processor. Multiple changes and fixes in colorspace handling. And more. 2017-03-14 13:04:51 +00:00
Gunnsteinn Hall
915a9c240d check if inline image params set when writing out 2017-03-09 13:09:16 +00:00
Gunnsteinn Hall
94ba6a8f4f Inline image fixes; image mask; sampling change: pad with 0s if missing data 2017-03-09 12:56:27 +00:00
Gunnsteinn Hall
c2ff40c564 Simple function to get encryption information; cleanup 2017-03-08 16:54:40 +00:00
Gunnsteinn Hall
61bcb5ad5f Fixes in some colorspace handling for images. Improved XObject form handling. 2017-03-04 17:27:23 +00:00
Gunnsteinn Hall
c599f8decc Fix package comments 2017-03-02 12:49:42 +00:00
Gunnsteinn Hall
4aa6845e27 Refactored contentstream into a separate package. 2017-03-01 16:02:53 +00:00