511 Commits

Author SHA1 Message Date
Peter Williams
bb3d219355 cleaned up comments 2018-07-22 12:47:38 +10:00
Peter Williams
502836666d Merge remote-tracking branch 'upstream/v3' into render.v3 2018-07-21 21:20:39 +10:00
Peter Williams
2468e2b264 Merge branch 'render' into render.clean 2018-07-21 14:18:48 +10:00
Peter Williams
28d2d223c4 Reduced logging noise 2018-07-21 08:53:59 +10:00
Peter Williams
c489d4630c Added some logging 2018-07-21 08:43:03 +10:00
Peter Williams
357d517498 Added tests for simple fonts and encodings 2018-07-20 22:18:18 +10:00
Peter Williams
ef97dd1d59 Added a test for font encodings with /Difference entries 2018-07-20 14:15:41 +10:00
Peter Williams
bb1c8197a0 Added a test for cmap beginbfchar and beginbfrange entries 2018-07-20 11:39:41 +10:00
Peter Williams
879b07df16 Added a test for CharcodeBytesToUnicode for Type0 ToUnicode cmaps 2018-07-19 10:28:23 +10:00
Peter Williams
6b507a21d7 fixed comments 2018-07-18 14:50:52 +10:00
Peter Williams
5d513ac8cf Removed debug code 2018-07-18 14:34:46 +10:00
Peter Williams
17d1112436 Added a test for Type1 FontFile decoding 2018-07-18 14:30:43 +10:00
Peter Williams
40430df9f6 removed unused code 2018-07-17 17:48:51 +10:00
Peter Williams
96dba88f57 Added a test for CharcodeBytesToUnicode for TrueType fonts with ToUnicode cmaps 2018-07-17 17:43:11 +10:00
Peter Williams
7f5475badb attempting to simplify render branch 2018-07-16 17:42:08 +10:00
Peter Williams
79aa75acf8 made font metrics public 2018-07-16 17:40:28 +10:00
Peter Williams
53209c7170 unpack ligatures 2018-07-16 08:09:23 +10:00
Gunnsteinn Hall
5b1b9bd504 PdfObjectArray change to struct and receivers added Elements, Get, Set, Len. Fixes to resulting broken code. 2018-07-15 17:52:53 +00:00
Peter Williams
fd95eabb14 fixed glyph name typo 2018-07-15 21:40:52 +10:00
Peter Williams
a3d2907d23 . 2018-07-15 17:58:00 +10:00
Peter Williams
e5783d58fb Don't import core anonymously 2018-07-15 17:29:27 +10:00
Peter Williams
3310b040db Don't import core anonymously 2018-07-15 17:22:00 +10:00
Peter Williams
8de07690ff allow change of text state outside BT..ET 2018-07-15 16:45:47 +10:00
Peter Williams
6582182078 reduced differences with compositefont branch 2018-07-15 16:28:56 +10:00
Gunnsteinn Hall
450aaf2d44 documentation enhancements in colorspace.go 2018-07-14 21:38:24 +00:00
Gunnsteinn Hall
fc15ef442a Cleaning up crossreferences - Unexporting, renaming, improving documentation
parser.Trace renamed to parser.Resolve
2018-07-14 14:07:33 +00:00
Gunnsteinn Hall
0edf3b11bf Doc fixes 2018-07-14 03:15:54 +00:00
Gunnsteinn Hall
dcf9262bf6 Unexport ModelManager 2018-07-14 03:07:24 +00:00
Gunnsteinn Hall
a66ad79023 Improving godoc and fixing style image.go 2018-07-14 02:57:57 +00:00
Gunnsteinn Hall
d8ce72df07 Move sampling package to internal 2018-07-14 02:34:46 +00:00
Gunnsteinn Hall
2023846073 Move ps package to internal 2018-07-14 02:33:28 +00:00
Gunnsteinn Hall
14ee80e1fe Preserve and allow output of hexadecimal strings
Refactored PdfObjectString into a struct with bool flag for hex.  Fixed any code broken by the change.
Unexported non-essential functions for crypto (not used by model).  Can unexport more later or refactor to internal package.
2018-07-14 02:25:29 +00:00
Gunnsteinn Hall
5e9ff8d3ca Helper functions for PdfObject conversions 2018-07-14 02:14:31 +00:00
Peter Williams
ae87dc79f3 keep going when FontFile2 encoding is empty 2018-07-13 21:15:03 +10:00
Peter Williams
bc1e9ae7b5 Refactored font code to improve text extraction 2018-07-13 17:40:27 +10:00
Peter Williams
d6e0fe1733
Merge pull request #3 from hiroxy/render
Render
2018-07-11 10:49:46 +10:00
Hiroshi Muramatsu
299f65df69 Remove unnecessary argument 2018-07-11 09:04:17 +10:00
Hiroshi Muramatsu
3df8e373db Merge commit 'd2998c21832522ec8b27f3b0dcad393b7432f286' into render 2018-07-10 09:05:51 +10:00
Hiroshi Muramatsu
21c3b4323e Abort test if error occurs 2018-07-10 08:57:16 +10:00
Peter Williams
d2998c2183
Merge pull request #2 from hiroxy/render
Render
2018-07-10 07:23:55 +10:00
Hiroshi Muramatsu
18481ea7e8 Modify log messages 2018-07-09 18:14:02 +10:00
Hiroshi Muramatsu
c919f47730 Add basic test cases 2018-07-09 18:01:22 +10:00
Hiroshi Muramatsu
1bfc2cc31b Use embedded field directly 2018-07-09 18:00:10 +10:00
Gunnsteinn Hall
3bd7800729 Helper functions for dictionary 2018-07-08 09:58:54 +00:00
Peter Williams
c9f2b87def Added NewStandard14Font() to make existing fonts.Font code work with *PdfFont 2018-07-07 09:45:55 +10:00
Peter Williams
e6bf6f511a Implement standard encoding with SimpleEncoder 2018-07-06 16:55:39 +10:00
Peter Williams
4661975304 stuggling with fontSkeleton mess 2018-07-06 16:42:34 +10:00
Peter Williams
86e833bf2b Continuing to integrate standard 14 fonts into simple fonts. 2018-07-06 16:41:13 +10:00
Peter Williams
e7433e4125 Clamp grayscale values to 0..1 for g operator 2018-07-06 16:29:54 +10:00
Peter Williams
606a271d00 Show font object number in font string for debugging 2018-07-05 09:58:25 +10:00