458 Commits

Author SHA1 Message Date
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
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
Peter Williams
adf69f755f fixed logging stack reference 2018-06-26 14:02:59 +10:00
Gunnsteinn Hall
ce9c6ba114 Merge branch 'master' into compositefonts 2018-06-07 14:55:37 +00:00
Gunnsteinn Hall
fc8925b918 Merge branch 's4kibs4mi-curve-shape' 2018-06-03 02:30:52 +00:00
Gunnsteinn Hall
f2ef568840 Add comments. Output generated files to /tmp. 2018-06-03 02:26:50 +00:00
Gunnsteinn Hall
0785daf45f Merge branch 'curve-shape' of https://github.com/s4kibs4mi/unidoc into s4kibs4mi-curve-shape 2018-06-03 01:16:48 +00:00
Gunnsteinn Hall
a7abcd0160 Track number of bytes per character code for mappings. Fixes problem posed in PR #156 in a generic fashion. 2018-06-03 01:05:46 +00:00
Sakib Sami
f82403ef12 Implemented : Curve & Filled Curve Shape with test 2018-05-31 03:48:26 +06:00
Gunnsteinn Hall
0c9502ad8b Block supporting more resource types (pattern, shading) 2018-05-22 12:57:32 +00:00
Gunnsteinn Hall
a1a95012ea Shading support function arrays 2018-05-22 12:56:40 +00:00
Gunnsteinn Hall
9fdc8d2668 Release 2.1.0 version 2018-05-20 23:35:56 +00:00
Gunnsteinn Hall
3b89a0ba98 Fixes #157 2018-05-20 23:33:24 +00:00
Gunnsteinn Hall
db0d78aa6c
Merge pull request #155 from hy05190134/master
bugfix for parse
2018-05-12 08:15:37 +00:00
yang.yang
e453d64ce0 bugfix for parse 2018-05-10 17:24:23 +08:00
Gunnsteinn Hall
311b0a8e2d
Merge pull request #153 from peterwilliams97/master
Fixes for grayscale conversion
2018-05-10 08:28:05 +00:00
Gunnsteinn Hall
223f22bfcd
Merge pull request #154 from hy05190134/master
bugfix for cal code val
2018-05-09 11:43:29 +00:00
yang.yang
a26d320c7b bugfix for cal code val 2018-05-08 15:39:29 +08:00
Peter Williams
608b2bf51e check that SMask is PdfObjectStream 2018-05-05 18:07:09 +10:00
Peter Williams
079d85779d fixed typo 2018-05-05 17:45:18 +10:00
Peter Williams
695f022baa No longer break GetContentStream() API backwards compatibility 2018-05-04 15:41:23 +10:00
Peter Williams
4b2d244fe0 When converting XImage objects to grayscale, also set the Matts of their SMask images to grayscale if they have SMasks 2018-05-02 17:14:31 +10:00
Peter Williams
df58e3e5bd Merge branch 'master' of https://github.com/unidoc/unidoc 2018-04-27 10:06:57 +10:00
Peter Williams
6692c21b74 Don't reuse parts of old objects 2018-04-27 10:06:36 +10:00
Gunnsteinn Hall
e314834685
Merge pull request #152 from quetz/master
page Resources can be loaded from indirect object
2018-04-18 06:38:43 +00:00
qz
14587fd738 type conversion consistent with project style 2018-04-18 09:09:29 +03:00