Eliot Jones
06bee446d8
#21 create first actual pdf document based on minimal example. writer for tokens. bump language version
2018-11-28 21:54:06 +00:00
Eliot Jones
eecb871ed1
#21 quick draft of minimal writing logic requirements
2018-11-27 20:00:38 +00:00
Eliot Jones
a5ce43774b
revert change to public api of letter. update readme
v0.0.3
2018-11-26 20:18:00 +00:00
Eliot Jones
997979cc92
#11 early access to the raw xobjects for images.
...
temporary 'safe' untested implementation of seac for type 1 charstrings.
make structure public
bump version of package and project to 0.0.3 (it had accidentally increased to 0.0.5)
2018-11-26 19:46:41 +00:00
Eliot Jones
48fa4a4f15
add position test for truetype using system fonts. add images for documentation
2018-11-25 15:00:52 +00:00
Eliot Jones
d5a50f2236
#8 tidy up truetype font internally. some more work on a potential document creation api
2018-11-25 13:56:27 +00:00
Eliot Jones
9f783ddef0
add some more tests for truetype and tokens
2018-11-25 13:06:54 +00:00
Eliot Jones
243f3dc099
#13 handle special case cff file and reduce duplication in integration tests
2018-11-25 12:36:38 +00:00
Eliot Jones
8a0c51eaa2
#18 add sourcelink package and changes
2018-11-25 11:44:08 +00:00
Eliot Jones
3f3badb7b4
#12 performance optimizations for type 1 fonts and other tweaks
2018-11-25 11:37:00 +00:00
Eliot Jones
87fccbbadc
#15 add word boxes to the visual verification tests
2018-11-25 10:17:01 +00:00
Eliot Jones
fdd48b25d8
#15 change default word extraction for latex test
2018-11-25 10:10:28 +00:00
Eliot Jones
17909f8565
#15 add classes to extract words and initial tests
2018-11-24 20:51:27 +00:00
Eliot Jones
c56da9a25a
start looking into the mvp for document generation
2018-11-24 19:38:16 +00:00
Eliot Jones
33a56f806b
#10 test coverage for structure access
2018-11-24 19:18:52 +00:00
Eliot Jones
2fa781b8e9
#10 make all token classes public and expose via a public structure member on pdf document
2018-11-24 19:02:06 +00:00
Eliot Jones
8c0e8d5f26
#17 handle case where there are no repeats in hv and vh curveto for type 2 charstrings
2018-11-24 15:06:02 +00:00
Eliot Jones
31ea1bbd33
#16 #19 tidy up letter api and check/fix type 1 cff positions
2018-11-24 14:38:44 +00:00
Eliot Jones
30cfd12155
favour pdf level widths over advance widths for truetype. fix image sizes for visual verification tests
2018-11-23 18:46:48 +00:00
Eliot Jones
03938d8352
#5 assert against pdfbox positions and fix by implementing subroutines
2018-11-23 18:00:53 +00:00
Eliot Jones
0e701754e0
#4 git attributes to stop git mangling pfb files. output svgs for visual verification of type 1 glyphs
2018-11-22 20:04:28 +00:00
Eliot Jones
b9c8e152c1
#16 change letter api to match the actual information
2018-11-22 19:32:16 +00:00
Eliot Jones
3a025052c9
add test for type 1 cff glyph locations and add missing doc comments
2018-11-19 21:43:22 +00:00
Eliot Jones
8cd05807ca
#6 complete parsing of type 2 charstrings. subroutines now eager evaluated from raw bytes
2018-11-19 21:23:21 +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
aa6f55c9ad
#6 account for hintmask and cntrmask data when parsing a type 2 charstring
2018-11-17 19:06:21 +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
946ad1aec6
#10 some tidying for a couple of tokens
2018-11-16 20:08:00 +00:00
Eliot Jones
0f68dfeb19
#10 move tokens to the root namespace for discoverability. upgrade xunit versions. there is a bug with test discovery for stringtokenizertests
2018-11-16 20:00:12 +00:00
Eliot Jones
c72f3796e2
add inkscape document. fix bug with truetype width where no font program present
2018-11-15 22:51:46 +00:00
Eliot Jones
d8bf977842
add tests for another type 1 font file
2018-11-15 21:36:52 +00:00
Eliot Jones
099f270986
add visual verification for type 1 output, currently seems off by some amount, could be font matrix
2018-11-15 20:21:13 +00:00
Eliot Jones
b76cfcee57
fix reading nested array for page content
2018-11-15 20:05:15 +00:00
Eliot Jones
7e1bcf6f64
bug fixes for reading from type 1 fonts. test all pages in documents. use content rather than embedded resources for #4
2018-11-15 19:52:42 +00:00
Eliot Jones
64a35e3217
support other types of callothersubr. calculate bounding rectangle from glyph path
2018-11-14 22:22:51 +00:00
Eliot Jones
b477b3b560
implement more type 1 commands to modify the context
2018-11-13 22:22:24 +00:00
Eliot Jones
904f773525
add code for drawing type 1 glyphs and converting to svg
2018-11-13 20:45:54 +00:00
Eliot Jones
ab9de799f9
more tidy up of api for type 1 fonts
2018-11-01 22:26:10 +00:00
Eliot Jones
1fb2f879d9
prepare type 1 private dictionary for public api. fix typo
2018-11-01 22:08:40 +00:00
Eliot Jones
1d4dc7767d
change type1 commands to be static and lazily evaluated and return the command sequences from the parser
2018-11-01 19:34:22 +00:00
Eliot Jones
61e2a0814d
add more type1 charstring commands and fix type1 tests
2018-10-30 22:59:21 +00:00
Eliot Jones
d8a4f0f521
create command classes for each of the commands in type 1 charstrings
2018-10-29 22:05:18 +00:00
Eliot Jones
7fab13e877
start parsing private dictionaries for type 1 fonts. subroutines and charstrings left to implement.
2018-10-27 19:45:45 +01:00