Commit Graph

20 Commits

Author SHA1 Message Date
Eliot Jones
b1fbcd0ccd support type 1 normal fonts and fix bug with fetching resource dictionary 2018-01-08 21:58:07 +00:00
Eliot Jones
59c36a7ddd fix a bug with t* operator due to incorrect specification. add generic name to type 3 fonts. 2018-01-07 15:38:43 +00:00
Eliot Jones
bb93484909 encapsulation for internal classes, remove old code, document public api 2018-01-07 12:37:48 +00:00
Eliot Jones
5ab8d69ea5 fix bug with computing text positions 2018-01-02 22:23:08 +00:00
Eliot Jones
874f713566 load resources dictionary from pages as well as page node and throw informative error when the font is not found. 2018-01-01 10:49:05 +00:00
Eliot Jones
a77e8e1a56 implement the show text with positioning operator, fix bugs with parsing stream lengths contained in indirect objects. fix bug with parsing font dictionaries contained in indirect objects. 2017-12-31 14:11:13 +00:00
Eliot Jones
17d1d77abc add more documents to test font size and add tests to check our text positions against other providers 2017-12-28 16:58:52 +00:00
Eliot Jones
940c51e2fb change the content stream processor to extract letters rather than just strings. 2017-12-27 19:11:27 +00:00
Eliot Jones
ae79108d3c changes to cmap to correctly map for cid fonts. tests for codespace range 2017-12-27 17:49:08 +00:00
Eliot Jones
f4d58e8aa9 create Type0 font, notes about font format, heavy duty refactoring to inject dependencies rather than god object 2017-12-22 23:54:54 +00:00
Eliot Jones
b8aff65e1a add assertion to the document parsing test 2017-12-02 19:33:18 +00:00
Eliot Jones
3d082ef236 get the text out of the google docs document finally 2017-12-02 19:08:38 +00:00
Eliot Jones
257439b8a3 make classes internal and scaffold reading of glyphs 2017-12-02 14:57:44 +00:00
Eliot Jones
188c6efa61 add a run method to all graphics state operations 2017-12-02 14:11:20 +00:00
Eliot Jones
90b67586dc add empty run methods to operations we are not implementing yet 2017-11-30 23:47:24 +00:00
Eliot Jones
1de60d7479 implement text positioning operations and general operations. as well as cm operation. 2017-11-30 23:34:38 +00:00
Eliot Jones
ab5377884f add operation processing for text state operations, support for matrix multiplication with tests and td operation support 2017-11-29 22:55:53 +00:00
Eliot Jones
157030ea31 fix failing test due to bug in deep clone of graphics state 2017-11-26 22:23:40 +00:00
Eliot Jones
ed634e86fe arrange operations into folders in line with grouping from the specification and start creating a context to mutate through operations. 2017-11-26 22:19:42 +00:00
Eliot Jones
b0e53efbfe delete old code and start an approach for parsing fonts and page content streams 2017-11-22 18:41:34 +00:00