Commit Graph

382 Commits

Author SHA1 Message Date
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
Eliot Jones
f1c01b5576 wire up cidtogid map for type2cid fonts 2018-04-14 18:53:31 +01:00
Eliot Jones
983933b6e8 tidy up glyph reading code, simple glyphs now contain glyph points rather than 3 related arrays 2018-04-14 15:44:07 +01:00
Eliot Jones
ebdda46098 make rectangle a struct. add infrastructure for handling composite glyphs 2018-04-14 14:11:10 +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
a7c8efa6f7 move getting the bounding box from a truetype font to the cid font program interface so it can be used from the type 0 and truetype font. comment the pfb parsing logic in type1 fonts 2018-04-12 23:11:09 +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
d65f50dfd1 fixed coordinate space transformations 2018-04-11 23:18:24 +01:00
modest-as
1da3975325 merge from upstream 2018-04-11 23:17:37 +01:00
Eliot Jones
7af2b1bcb9 start adding code and tests for reading metrics of type 1 fonts 2018-04-11 22:51:31 +01:00
Eliot Jones
ea55256e78 wire up retrieving glyph bounding box from a truetype font when retrieving a displacement vector. this is not used currently 2018-03-31 13:27:27 +01:00
Eliot Jones
0ae20c51f3 implement glyph index getter for the 3 implemented truetype cmap sub tables 2018-03-31 12:43:06 +01:00
Eliot Jones
92c0ef14cb support format 6 cmap sub tables for truetype fonts. pass the truetypefont to the ifont implementation so we can use it to access font data 2018-03-31 12:11:12 +01:00
modest-as
564e32e072 Return bounding boxes for letters 2018-03-30 23:16:54 +01:00
Eliot Jones
796a3d615e add infrastructure to font to retrieve character bounds, this is unused and will throw for now. add format 4 cmap subtable for truetype cmap table 2018-03-30 23:12:55 +01:00
modest-as
ab60a15d4c Merge remote-tracking branch 'upstream/master' 2018-03-30 22:04:47 +01:00
modest-as
6a9e466c8b Moved some internal properties to fields 2018-03-30 22:02:05 +01:00
Eliot Jones
70025edd79 truetype glyphs now contain the bounds 2018-03-30 21:26:21 +01:00
Eliot Jones
bd6427f26f start adding other tables for reading true type fonts 2018-03-03 16:25:32 +00:00
Eliot Jones
174d9906fb version 0.0.1 2018-02-26 21:30:30 +00:00
Eliot Jones
c94266bc81 remove the old version setting from the csproj v0.0.1 2018-01-22 21:27:24 +00:00
Eliot Jones
bbd1df57ce version 0.0.1-alpha-002 v0.0.1-alpha-002 2018-01-21 19:41:16 +00:00
Eliot Jones
c64e54d6c0 support opening from stream and improve performance of brute force searching since the seek operation is now slower. 2018-01-21 19:34:21 +00:00
Eliot Jones
07161cef28 unify raw byte access method 2018-01-21 18:08:00 +00:00
Eliot Jones
3172596b7c remove all old cos objects 2018-01-21 14:56:50 +00:00
Eliot Jones
e24a306c31 remove all old parsing logic 2018-01-21 14:48:49 +00:00
Eliot Jones
da7d83d863 finish the migration 2018-01-20 20:20:40 +00:00
Eliot Jones
7d90f4858a continue migrating code to tokenizer 2018-01-20 18:42:29 +00:00
Eliot Jones
3d2a66cbf9 fix bug with endstream appearing without line break 2018-01-20 11:53:24 +00:00
Eliot Jones
c5e3ce7ec7 finish moving all parsing to token scanner 2018-01-20 00:49:53 +00:00
Eliot Jones
a0deab446b switch classes still using the cos object approach to the tokenization approach initally used for parsing cmap files. 2018-01-19 00:35:04 +00:00
Eliot Jones
0ead678a43 add tests for array token 2018-01-17 21:48:11 +00:00
Eliot Jones
eea5d3a249 set space indentation format options in editorconfig 2018-01-16 08:17:21 +00:00
Eliot Jones
69736d80cb add plain tokenizer tests for uncovered lines and add editorconfig 2018-01-16 08:00:52 +00:00
Eliot Jones
54b6374e7d coverage for the name tokenizer reading hex 2018-01-15 21:16:36 +00:00
Eliot Jones
4fbea58657 update docs site to link to github and nuget 2018-01-14 19:03:42 +00:00
Eliot Jones
b64eeffce2 add a flag to throw if the unicode lookup fails for a character 2018-01-14 19:01:58 +00:00
Eliot Jones
4443cde229 add very hacky parsing for type 1 font files in order to read the encoding 2018-01-14 18:59:03 +00:00
Eliot Jones
615ee88a46 start passing the pdf scanner in to read the type 1 files 2018-01-14 15:33:22 +00:00
Eliot Jones
1fb6ec41d1 remove cos object key completely and test indirect reference 2018-01-14 15:01:18 +00:00
Eliot Jones
36c0eedd7c move the usages of cos object key to indirect reference 2018-01-14 14:48:54 +00:00
Eliot Jones
b19b96604d make the pdf object scanner work with streams 2018-01-14 10:53:01 +00:00
Eliot Jones
106cd5f187 small edit to homepage 2018-01-13 22:36:20 +00:00
Eliot Jones
76b2c8683b add github pages homepage. 2018-01-13 22:35:12 +00:00
Eliot Jones
8dcea9b37f create a pdf object scanner which sits on top of the core token scanner to provide complete object parsing 2018-01-13 22:30:15 +00:00