541 Commits

Author SHA1 Message Date
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
Peter Williams
49674d6b63 Changed error handling. Allow partial encoding maps. Don't continue processing unsupported fonts 2018-07-04 18:00:37 +10:00
Peter Williams
ec50032dc5 Merge branch 'render' of https://github.com/peterwilliams97/unidoc into render 2018-07-03 14:26:04 +10:00
Peter Williams
33079bbb72 Parse FontFile entry in FontDescriptor 2018-07-03 14:26:42 +10:00
Peter Williams
64a1b48d40
Merge pull request #1 from hiroxy/render
Render
2018-07-03 11:19:43 +10:00
Hiroshi Muramatsu
eb1feffa59 Embed common font fields into each font type 2018-07-02 17:10:34 +10:00
Peter Williams
d6bd8e3326 first attempt at parsing FontFile 2018-07-02 16:46:43 +10:00
Hiroshi Muramatsu
9675882cb4 Reduce number of memory allocations 2018-07-02 13:49:06 +10:00
Peter Williams
c6f7cf9eef Got Type0 font -> obj -> font test passing 2018-06-29 18:09:44 +10:00
Peter Williams
d0448a9662 made pdfCIDFontType0 a clear stub 2018-06-29 16:36:06 +10:00
Peter Williams
187c3e37dd Added more font description strings for pdf_fonts.go test program 2018-06-29 14:21:59 +10:00
Peter Williams
539a3be976 re-ordered font.go functions, public at top 2018-06-28 17:39:20 +10:00
Peter Williams
638c3557ce Exposed PDF version reporting to callers 2018-06-28 11:37:57 +10:00
Peter Williams
347c2ee0e4 Reducing the number of types of errors returned 2018-06-28 11:13:19 +10:00
Peter Williams
9de46c5b9f Noted that text extractor is an intermediate version 2018-06-28 11:11:43 +10:00
Peter Williams
66ae363b2a Fixed some comments 2018-06-28 11:09:59 +10:00
Peter Williams
e391e80e21 Added comment listing standard encodings 2018-06-28 11:08:09 +10:00
Peter Williams
4c374b9f7e Simplified font.go. Made ToUnicode cmap private. Removed duplicate ToUnicode from Type0 font 2018-06-28 11:06:23 +10:00
Peter Williams
4cc6c14a8e Fall back to font encoding when ToUnicode doesn't match 2018-06-27 22:01:17 +10:00
Peter Williams
bd7a556e1a fixed 2 cmap typos 2018-06-27 17:27:41 +10:00
Peter Williams
2dcf8e0cdd Added more missing changes 2018-06-27 16:59:35 +10:00