Commit Graph

868 Commits

Author SHA1 Message Date
Eliot Jones
03af28ed6d fix bug with compact font format font matrix reading and where endstream token is missed if immediately following 'e' 2019-05-10 20:02:29 +01:00
Eliot Jones
3396820d49 throw more descriptive exception when loading system font finder 2019-05-09 19:14:11 +01:00
Eliot Jones
23c033c788 implement validation of owner password and throw more descriptive exception for encrypted documents 2019-05-09 19:02:39 +01:00
Eliot Jones
53811a7d97 verify password against user password or throw 2019-05-07 18:53:51 +01:00
Eliot Jones
bad57763a1 finish initial support for rc4 encryption with blank user password 2019-05-06 15:41:29 +01:00
Eliot Jones
27928cd3a3 add rc4 tokenizer and key generation per object 2019-05-05 15:34:48 +01:00
Eliot Jones
be394f5bba start adding support for reading encrypted documents 2019-05-04 15:36:13 +01:00
Eliot Jones
b2a3ae7a49 Merge pull request #30 from BobLd/master
fix issue with width, height and area
2019-04-26 08:08:14 +01:00
BobLd
0b6d9eefe2 Changing 'getTextDirection' to 'GetTextDirection' 2019-04-25 19:38:26 +01:00
BobLd
afd9cb9f26 Adding 'TextDirection.Rotate180' 2019-04-23 21:49:29 +01:00
BobLd
70852c2855 - Adding a TextDirection enum.
- In the Letter class:
     - Renaming 'Location' to 'StartBaseLine' and adding 'EndBaseLine' for better localisation of the letter ('Location' is also kept).
     - Adding TextDirection.
- Fixed Test
2019-04-20 10:52:15 +01:00
BobLd
65647febcf - Adding a TextDirection enum.
- In the Letter class:
     - Renaming 'Location' to 'StartBaseLine' and adding 'EndBaseLine' for better localisation of the letter ('Location' is also kept).
     - Adding TextDirection.
2019-04-19 21:33:31 +01:00
BobLd
214ef8a958 Fix issue with Width, Height and Area when the texxt orientation is not horizontal. 2019-04-19 20:12:31 +01:00
Eliot Jones
5c091aeba7 #29 skip mediaboxes or cropboxes with the wrong dimensions and log an error. 2019-01-21 18:34:24 +00:00
Eliot Jones
1e5d790b7f fix bug in naming of vstemhm command which caused error in parsing type 2 charstrings 2019-01-19 12:18:23 +00:00
Eliot Jones
462a05e64c remove debugging code 2019-01-13 16:48:46 +00:00
Eliot Jones
a4305cc86c test letter positions with truetype standard14 mutant. fix truetype table overflow. read compact font format encodings 2019-01-12 18:07:53 +00:00
Eliot Jones
245efae8ed fixes various font handling issues for type 1 and truetype fonts
handle "unionsq" and other tricky glyph names. log missing glyphs. ignore flexpoints in type 1 subroutines. improve system font performance and substitution. handle truetype fonts using standard 14 fonts.
2019-01-12 13:54:16 +00:00
Eliot Jones
17d4b964f7 skip postscript wrappers when parsing private dictionary for type 1 fonts. type 1 font now retrieves bounding box by name rather than character code 2019-01-11 07:10:40 +00:00
Eliot Jones
d86c79da45 improve caching for system font finder and fix issue with composite glyphs in truetype fonts 2019-01-09 20:42:49 +00:00
Eliot Jones
b6a528a97d #9 add support for cff cid fonts, currently bounding box and width are calculated incorrectly. 2019-01-07 20:52:42 +00:00
Eliot Jones
cdf5546a1b #24 add the missing operations for the graphics state 2019-01-06 15:47:33 +00:00
Eliot Jones
6f0293b2a5 merge pull request #28 from uglytoad/net45
add multi targeting frameworks in the same project for net 4.5 throug…
2019-01-06 14:24:03 +00:00
Eliot Jones
406f0e6184 #24 add missing marked content operators, still 2 to go 2019-01-06 11:34:25 +00:00
Eliot Jones
575953c0ed add multi targeting frameworks in the same project for net 4.5 through net 7.0 and net standard 2.0 2019-01-06 11:06:02 +00:00
Eliot Jones
16b0260d68 add support for fonts which use the standard 14 fonts but also provide an encoding 2019-01-05 18:01:39 +00:00
Eliot Jones
4e37222729 #24 fix tests for public types 2019-01-05 15:17:24 +00:00
Eliot Jones
f1621b3924 #24 make some fields public 2019-01-05 15:13:32 +00:00
Eliot Jones
b9f5a6da8c #24 add more information to the choice fields 2019-01-04 21:58:03 +00:00
Eliot Jones
4a67b51d68 #24 add options to list box 2019-01-04 20:07:37 +00:00
Eliot Jones
cd84edbdc8 #26 add missing operation and expose the content stream directly to the user through the page 2019-01-04 19:54:55 +00:00
Eliot Jones
611786855b #26 make all operations writable and test 2019-01-04 19:17:54 +00:00
Eliot Jones
2a30631ab7 #26 make all operation classes public and test 2019-01-04 18:55:36 +00:00
Eliot Jones
62dc93919c add the ability to set page content directly on the page builder 2019-01-03 22:25:26 +00:00
Eliot Jones
5c8a77bf33 #26 make almost all operators public 2019-01-03 22:20:53 +00:00
Eliot Jones
29daeb5806 #26 prepare more content stream operations for public api 2019-01-02 23:14:13 +00:00
Eliot Jones
21aa964e0b #24 add different field types and code to read them 2019-01-02 22:28:50 +00:00
Eliot Jones
ea9ac795ff #26 add writing logic and comments to more graphics state operations 2019-01-01 18:00:04 +00:00
Eliot Jones
20e843f5ae #24 start adding classes for the acroform api 2019-01-01 17:44:46 +00:00
Eliot Jones
52b925489e 0.0.5 - update readme and project version v0.0.5 2018-12-30 16:20:28 +00:00
Eliot Jones
abd9212862 fix document creation behaviour for multiple pages 2018-12-30 14:39:49 +00:00
Eliot Jones
1f6e1f18b3 #9 remove work in progress code for 0.0.5 release 2018-12-30 14:21:11 +00:00
Eliot Jones
4d5518a599 move annotations to experimental access, support changing color state for document creation and update readme 2018-12-30 14:12:04 +00:00
Eliot Jones
55a0e6b646 move large strings from code files to avoid wrong language detected on github 2018-12-29 11:55:19 +00:00
Eliot Jones
79c555e967 #9 add some more code for reading glyph ids from cid fonts in compact font format 2018-12-29 11:41:46 +00:00
Eliot Jones
47e49c4044 #9 fix bug with truetype fonts and start adding support for cid fonts using compact font format 2018-12-28 22:34:47 +00:00
Eliot Jones
d9052e1388 update readme and document public api for document creation 2018-12-28 16:55:46 +00:00
Eliot Jones
9f4f42660e fix encoding to work with acrobat reader 2018-12-28 16:13:13 +00:00
Eliot Jones
e11967b772 add flate filter to compress truetype font in output and fix some structure issues for pdf verification 2018-12-28 14:57:41 +00:00
Eliot Jones
713d600ee7 remove unused code and add writing support for more graphics operations 2018-12-25 10:51:36 +00:00