Commit Graph

17 Commits

Author SHA1 Message Date
Eliot Jones
a967e0898a handle missing width and height correctly for compact font format fonts #75 2019-12-04 14:19:06 +00:00
Eliot Jones
90e9c46373 correctly determine compact font format encoding where supplements are used and pass the font encoding for type 1 fonts to the encoding used to read the pdf 2019-05-11 11:56:01 +01: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
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
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
a5349dd77a start adding retrieval of annotations 2018-12-20 18:18:32 +00:00
Eliot Jones
6517a6201a #6 more work on type 2 char string, stuck on a bug 2018-11-19 20:41:52 +00:00
Eliot Jones
2c159f71e8 #6 rename some cff classes, change protection levels and start fixing bugs with charstrings which include hints in routine calls 2018-11-18 16:32:28 +00:00
Eliot Jones
530410c996 #6 improve organisation of cff related classes. add failing font test for cff font file. fix bugs with cff parsing 2018-11-18 13:53:43 +00:00
Eliot Jones
8cd2faeb8b #6 use the same base class for both type 1 and cff private dictionaries to enable comparisons and rationalise api 2018-11-17 22:16:27 +00:00
Eliot Jones
8f5c0fc77b #6 fix bugs with vlineto and hlineto and decoding of charsets. dump results of type 2 path decoding to file for visual verification while debugging 2018-11-17 20:21:59 +00:00
Eliot Jones
936e17b723 #6 add debugging code for inspecting svgs of generated cff glyphs fix small bugs 2018-11-17 16:23:17 +00:00
Eliot Jones
4d18a2478d add charset interface, create class to store cff font data. add the command logic for type 2 charstrings #6 2018-11-17 14:59:58 +00:00
Eliot Jones
7358650b0a add charset parsing for compact font formats #6 2018-11-16 23:32:18 +00:00
Eliot Jones
81935d5cdb tidy up cff font classes and start adding type 2 charstring support for #6 2018-11-16 21:30:59 +00:00
Eliot Jones
b51ebfd70c fix a bug where the mediabox being defined on the pages node would throw. a lot more work on parsing compact font format 2018-04-29 14:42:54 +01:00
Eliot Jones
85d1f84965 more compact font format parsing 2018-04-28 19:33:50 +01:00