655 Commits

Author SHA1 Message Date
Peter Williams
bc1e9ae7b5 Refactored font code to improve text extraction 2018-07-13 17:40:27 +10:00
Hiroshi Muramatsu
299f65df69 Remove unnecessary argument 2018-07-11 09:04:17 +10:00
Sakib Sami
12ce1ed56b Added : Force solid when border is double 2018-07-11 00:36:56 +06:00
Hiroshi Muramatsu
21c3b4323e Abort test if error occurs 2018-07-10 08:57:16 +10:00
Sakib Sami
58f80ed6b2 Added : Offset for cornet adjustment 2018-07-10 00:51:45 +06: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
Sakib Sami
be739f6ac1 Update : unexported newBorder() 2018-07-06 22:12:20 +06:00
Sakib Sami
4e0fb862d9 Added : Double border 2018-07-06 21:11:34 +06: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
Sakib Sami
6fc8956dcb Added : Comment on SetBorderLineStyle 2018-06-30 00:16:49 +06:00
Sakib Sami
95da125815 Fix : Border side creation 2018-06-30 00:15:51 +06:00
Sakib Sami
f4be688bb2 Fix : Border side creation 2018-06-30 00:06:50 +06:00
Sakib Sami
1f106775b4 Improvement : Design, Code refactoring 2018-06-29 23:55:23 +06: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
Peter Williams
1b1af0faae changes left out of last commit 2018-06-27 16:48:32 +10:00
Peter Williams
759a1dd882 changes left out of last commit 2018-06-27 16:46:33 +10:00
Peter Williams
d184031903 Updated the text extractor to use the new font code 2018-06-27 16:31:28 +10:00
Peter Williams
0af95570e5 Merge branch 'render' of https://github.com/peterwilliams97/unidoc into render 2018-06-27 14:36:23 +10:00
Peter Williams
5bd3d88645 fixed some comments 2018-06-27 14:34:42 +10:00
Peter Williams
efaadcae4f Use standard conventions for cmap names 2018-06-27 14:22:47 +10:00
Peter Williams
7af97fba6a Fixed some comments 2018-06-27 12:54:47 +10:00
Peter Williams
fa19666a38 Added missing const 2018-06-27 12:52:14 +10:00
Peter Williams
199a74dbd8 Major changes to font code
- Added Type1 font parsing.
- Added Standard 14 font parsing.
- Fixed some bugs in cmap code.
- Started re-structuring of font code. Moved common font fields to `fontSkeleton`
2018-06-27 12:25:59 +10:00