Commit Graph

351 Commits

Author SHA1 Message Date
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
Eliot Jones
9a1879829d move path class and add doc comments to document creation api 2018-12-25 10:37:00 +00:00
Eliot Jones
ed3792c950 #20 support retrieval of named system fonts for truetype on windows 2018-12-22 18:28:49 +00:00
Eliot Jones
d8b5f00fa0 #7 improve api documentation and make font descriptor public 2018-12-22 17:58:07 +00:00
Eliot Jones
d572af8a52 finish first pass of annotation api 2018-12-22 15:54:32 +00:00
Eliot Jones
a5349dd77a start adding retrieval of annotations 2018-12-20 18:18:32 +00:00
Eliot Jones
9abf6e226c #21 use win ansi encoding 2018-12-18 18:30:51 +00:00
Eliot Jones
39786ac00a #21 add a test for accented characters and fill in more writing methods for content stream operators
the output is currently incorrect for accented characters
2018-12-14 18:33:01 +00:00
Eliot Jones
924fc7b37f #21 support writing lines, curves and rectangles. add documentinformation to output. rename characterpath 2018-12-12 00:09:15 +00:00
Eliot Jones
29f9885fc4 #21 fix widths for system font baskerville old face 2018-12-11 21:29:39 +00:00
Eliot Jones
d1722dd23e #21 use built in encoding to populate widths array 2018-12-11 20:03:18 +00:00
Eliot Jones
dc5d2b8fdd #21 further changes to truetype to get accurate information out for creating documents 2018-12-08 18:04:02 +00:00
Eliot Jones
3a4b7b79d1 #21 change dictionarytoken to use explicit key type, finish os/2 table for truetype, first file creation using embedded truetype font 2018-12-08 14:38:27 +00:00
Eliot Jones
c2879ed4b4 #21 work on parsing the os2 table to get information for the font descriptor dictionary 2018-12-06 19:47:40 +00:00
Eliot Jones
77311aa6c6 #21 start constructing font objects for truetype embedding 2018-12-04 20:14:24 +00:00
Eliot Jones
d6a896dcb0 #21 enable document creation using standard 14 font to test output 2018-12-02 16:14:55 +00:00
Eliot Jones
d4813ba3a9 #20 add name table to truetype parsing so we can check the name of parsed system fonts 2018-12-02 14:02:24 +00:00
Eliot Jones
89bd649ced #20 start adding system font support 2018-11-29 21:22:01 +00:00