237 Commits

Author SHA1 Message Date
Gunnsteinn Hall
dfb80a2dd1 updated readme text 2017-07-13 17:14:06 +00:00
Gunnsteinn Hall
c64218db3d add missing opacity property when loading goimage. 2017-07-13 17:13:55 +00:00
Gunnsteinn Hall
305e604b6c Update README.md 2017-07-13 16:44:21 +00:00
Gunnsteinn Hall
63904570a9 Fix paragraph margin X moving back issue 2017-07-13 15:35:54 +00:00
Gunnsteinn Hall
6971f409e4 Page rotation in creator 2017-07-13 15:35:41 +00:00
Gunnsteinn Hall
164a1dab03 Better support for changing page size. Closes #64. Add Write() method for io.WriteSeeker 2017-07-13 14:20:42 +00:00
Gunnsteinn Hall
2e70c34829 Allow specifying image opacity via graphics state. Support ExtGState when merging content streams (in blocks). 2017-07-13 14:20:02 +00:00
Gunnsteinn Hall
9e755691ff Set context when adding a page directly in creator 2017-07-12 15:47:22 +00:00
Gunnsteinn Hall
914a10a49b style change 2017-07-12 12:02:25 +00:00
Gunnsteinn Hall
ee41a2c54a Updated acknowledgements 2017-07-12 11:57:48 +00:00
Gunnsteinn Hall
2fe4734207 Add acknowledgements 2017-07-12 11:47:22 +00:00
Gunnsteinn Hall
71807ecfa4 Exposed a reader function to check access rights. Fixed incorrect bit name for AccessPermissions (LimitPrintQuality->FullPrintQuality). Fix in owner password authentication. Closes #51. 2017-07-12 09:48:16 +00:00
Gunnsteinn Hall
bccf94be03 Add test case for drawing shapes on a block and drawing to multiple pages. 2017-07-11 14:16:01 +00:00
Gunnsteinn Hall
ceaa40dbb6 Add testing for shapes. Convenience hex to r,g,b function added. 2017-07-11 13:16:56 +00:00
Gunnsteinn Hall
fde075353c Implement basic shapes for creator: line, rectangle, ellipse. 2017-07-11 13:16:35 +00:00
Gunnsteinn Hall
a422aecfec Simplify drawable interface, remove unnecessary methods. 2017-07-11 13:16:01 +00:00
Gunnsteinn Hall
825c10fc3e Fix in adding dash via content stream creator 2017-07-11 13:09:52 +00:00
Gunnsteinn Hall
85cd1d21f8 Move license to common. 2017-07-11 13:08:48 +00:00
Gunnsteinn Hall
5ce423ffcd Cleaned up text encoding interface and rune<->glyph conversions. Added test example for Symbol and ZapfDingbats font/encodings. Closes #59. 2017-07-10 15:17:46 +00:00
Gunnsteinn Hall
ca74ee87a1 Add Symbol font encoder and test example case for symbol font use 2017-07-09 22:37:05 +00:00
Gunnsteinn Hall
c6e7b8c62f Add standard 14 fonts support 2017-07-08 23:09:52 +00:00
Gunnsteinn Hall
1a5c918307 License package added to v2. 2017-07-08 22:00:11 +00:00
Gunnsteinn Hall
10c3be8c95 Change PdfObjectDictionary from map to struct and introduce ordered keys. Syntax change. Fixes all around to accommodate changes. Also fixes in test cases. Closes #56. 2017-07-08 21:04:13 +00:00
Gunnsteinn Hall
8c50cd43a8 Update version to v2.0.0-alpha.5 2017-07-07 17:20:37 +00:00
Gunnsteinn Hall
8a013a05e4 Test cases for creator and test files. 2017-07-07 15:37:50 +00:00
Gunnsteinn Hall
e0bb61326c add missing header 2017-07-07 15:09:20 +00:00
Gunnsteinn Hall
168c04d168 Basic creator table implementation. Closes #12. 2017-07-07 15:08:43 +00:00
Gunnsteinn Hall
ced03e48ee Table of contents generating function added. Exported some methods so drawables can be created externally. 2017-07-06 16:26:22 +00:00
Gunnsteinn Hall
1a5c3eb4ac Initial import of PDF creator with text, image adding capabilities 2017-07-05 23:10:57 +00:00
Gunnsteinn Hall
fbff8ffdba Prefer using Name rather than string 2017-07-02 15:51:26 +00:00
Gunnsteinn Hall
68bd7caecc Resource functions for ExtGState 2017-07-01 22:08:51 +00:00
Gunnsteinn Hall
be629aecbf Add convenience functions in Content stream creator 2017-07-01 21:57:31 +00:00
Gunnsteinn Hall
b75541dcf8 Fix in AddContentStreamByString which had problems with certain PDFs. 2017-07-01 21:56:59 +00:00
Gunnsteinn Hall
f13acfe276 Expose Operations function 2017-06-29 13:51:22 +00:00
Gunnsteinn Hall
4b30ce1721 Capability to load a unidoc Image from a Go image. 2017-06-28 15:16:36 +00:00
Gunnsteinn Hall
9a06eec2db Improved functions to check and work with page resources. Page duplication enabled. 2017-06-28 15:15:44 +00:00
Gunnsteinn Hall
53b9e8b99c Convenience functions to create streams and indirect objects. 2017-06-28 15:14:25 +00:00
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
0ab2af5952 Add alpha channel transformation (mapping) capability 2017-06-20 11:30:42 +00:00
Gunnsteinn Hall
42c36270cc Remove unnecessary name parameter when creating XObject image. 2017-06-19 16:43:17 +00:00
Gunnsteinn Hall
b7241e94fc Fix border width definition between annotation and appearance stream 2017-06-19 16:42:50 +00:00
Gunnsteinn Hall
c4c5a49d27 Annotation line drawing fix 2017-06-16 14:12:30 +00:00
Gunnsteinn Hall
88b714e880 Transparency fix, only requiring SMask if alpha used 2017-06-14 21:16:17 +00:00
Gunnsteinn Hall
be48e30405 Allow ExtGState loading via indirect object also 2017-06-13 11:34:53 +00:00
Gunnsteinn Hall
fc9e540889 Added support for inserting images with an alpha transparency channel. Closes #52. 2017-06-06 21:16:55 +00:00
Gunnsteinn Hall
2098361062 Fix for adding new font when font dictionary is indirect obj. 2017-06-04 12:35:34 +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
589cc78df8 Fix in hasextgstate check 2017-05-28 15:14:32 +00:00
Gunnsteinn Hall
39f8103108 Helper function to check if ExtGState name is available 2017-05-28 14:45:02 +00:00