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
f1621b3924
#24 make some fields public
2019-01-05 15:13:32 +00:00
Eliot Jones
20e843f5ae
#24 start adding classes for the acroform api
2019-01-01 17:44:46 +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
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
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
a5ce43774b
revert change to public api of letter. update readme
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
243f3dc099
#13 handle special case cff file and reduce duplication in integration tests
2018-11-25 12:36:38 +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
33a56f806b
#10 test coverage for structure access
2018-11-24 19:18:52 +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
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
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
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
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
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
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
904f773525
add code for drawing type 1 glyphs and converting to svg
2018-11-13 20:45:54 +00:00
Eliot Jones
df0b60c2e1
port type 1 lexer from pdf box and add test data
2018-10-23 20:02:20 +01:00
Eliot Jones
1deefdc987
begin implementing support for compact font format fonts in type 1 font handling
2018-04-28 13:00:43 +01:00
Eliot Jones
1fe54c5f49
add xobjects to pages, fix parsing truetype fonts where the glyphs use the repeat flag.
2018-04-26 22:22:29 +01:00
Eliot Jones
b6585292fb
start adding support for reading and applying XObjects
2018-04-21 16:24:37 +01:00
Eliot Jones
787bcd1cd2
create a test document with some rotated text to validate the transformations
2018-04-18 22:34:06 +01:00
Eliot Jones
99674f31e1
use image from another source since gimp positions appear wrong
2018-04-18 21:42:07 +01:00
Eliot Jones
0e844d88df
return both glyph and character bounding boxes for each letter, glyph is the actual outline of the letter whereas character is the surrounding space as defined in the pdf
2018-04-18 19:24:10 +01:00
Eliot Jones
e5cfc20b30
missing letters with width less than 1 are now drawn in the visual tests
2018-04-17 23:00:16 +01:00
Eliot Jones
53f693bc77
add tests to visually verify the output for glpyh bounding boxes and use advance widths for empty glyphs in truetype fonts
2018-04-15 12:47:08 +01:00
Eliot Jones
9700ee03b8
Merge pull request #3 from GowenGit/master
...
letter boundaries - todo: review changes for non latin characters, it seems like we need both the bounding box and the origin to be stored for each letter since the origin is on the baseline while the bounding box can extend below.
2018-04-15 11:41:30 +01:00
modest-as
4570427a6f
merge from upstream
2018-04-14 22:20:36 +01:00
Eliot Jones
8def7d7e0b
unify truetype glyphs to a single class. build composite glyphs from elements
2018-04-14 22:16:26 +01:00
Eliot Jones
731a1a3956
add xfinium data validations for non latin characters
2018-04-14 19:18:19 +01:00
modest-as
fcc0e06bef
fallbacks to true type font bounding boxes
2018-04-14 12:39:53 +01:00
modest-as
fe3f627f9c
merge from upstream
2018-04-13 00:32:12 +01:00
modest-as
05da4d0726
more work on boundaries and unit tests
2018-04-13 00:18:38 +01:00
Eliot Jones
08f11343d3
more integration tests
2018-04-12 23:32:51 +01:00
Eliot Jones
e063ac45fe
add support for parsing pfb files in type 1 fonts and an extra integration test
2018-04-12 22:34:38 +01:00
modest-as
564e32e072
Return bounding boxes for letters
2018-03-30 23:16:54 +01:00