1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-12-22 13:00:08 +00:00
Commit Graph

843 Commits

Author SHA1 Message Date
Duan Yao
c7053f392b Fix offset optimizing issue introduced by padding char (#398). 2014-08-04 02:47:51 +08:00
Lu Wang
75709ac6c3 update changelog, prepare for new release 2014-07-24 20:14:01 -07:00
Lu Wang
ffa7ead922 purge css draw 2014-07-24 20:02:39 -07:00
Lu Wang
80b8e1f5de Merge pull request #365 from duanyao/covered_text_handling
Covered text handling
2014-07-13 17:41:31 -07:00
Lu Wang
b45f141f5f Merge pull request #384 from duanyao/xhtml_output
Change output format to xhtml, and enable --output-filename option.
2014-07-13 17:20:41 -07:00
Lu Wang
2081f9eb88 merge fix 2014-07-13 17:02:15 -07:00
Lu Wang
123b37ce22 lots of improvements from josch 2014-07-13 16:59:30 -07:00
Lu Wang
329364285e Merge branch 'incoming' of github.com:coolwanglu/pdf2htmlEX into incoming 2014-07-13 16:34:51 -07:00
Duan Yao
5993548c1d Change output format to xhtml. 2014-07-12 08:45:20 +08:00
Lu Wang
11ae1fbad0 sync with fontforge master 2014-06-30 12:16:55 -07:00
Lu Wang
10cbf4e5c5 Merge pull request #379 from duanyao/proof_output
Proof mode: take care of render mode change inside text object; fix line...
2014-06-29 23:11:17 -07:00
Duan Yao
448b0d6dad Rename files CoveredTextHandler.* to CoveredTextDetector.* 2014-06-29 14:55:48 +08:00
Duan Yao
d0348b3974 Rename class CoveredTextHandler to CoveredTextDetector 2014-06-29 14:48:57 +08:00
Duan Yao
9bd1eb2c2a Remove unuseful constructor/destructor of CoveredTextHandler 2014-06-29 14:39:51 +08:00
Duan Yao
24b5eeb1e5 re-apply "fix rise with optimize-text(9c0b2a8a)" after rebase 2014-06-29 13:51:31 +08:00
Duan Yao
25d53ba0d1 Fix call to Color constructor. 2014-06-29 13:16:42 +08:00
Duan Yao
85f04be632 Covered text handling: rename option name to --correct-text-visibility. 2014-06-29 13:16:42 +08:00
Duan Yao
ceb4e3eac6 Covered text handling: use class instead of inline style. 2014-06-29 13:12:35 +08:00
Duan Yao
39e171a737 Improve covered text handling: 1. take care of chars corespond to 0 or more than one unicode points;
2. merge sibling invisiable spans; 3. improve interfaces of HTMLLineState and HTMLRenderer;
2014-06-29 13:12:35 +08:00
Duan Yao
65e82028bb Allow covered text handling (--process-covered-text) to work without cairo. 2014-06-29 13:12:35 +08:00
Duan Yao
e69e9a8be8 Fix word space problem in HTMLRenderer::drawString(). 2014-06-29 13:12:34 +08:00
Duan Yao
4c2fcb4f0d Fix of "Fix issue in char displacement calculation". 2014-06-29 13:12:34 +08:00
Duan Yao
5fdc4cbb36 Improve stroke handling in DrawingTracer by simulating line join. 2014-06-29 13:08:54 +08:00
Duan Yao
b9899d8d4a Fix issue in char displacement calculation. 2014-06-29 13:08:53 +08:00
Duan Yao
f705a98581 Improve DrawingTracer::stroke() by break path into steps. 2014-06-29 13:04:12 +08:00
Duan Yao
a57b61731d Fix Travis build 2014-06-29 13:04:12 +08:00
Duan Yao
e468f03494 Fix covered text processing issue (in DrawingTracer::set_ctm) when zoom != 1 2014-06-29 13:04:12 +08:00
Duan Yao
4ab00e3644 Add check of nullptr to fallback_bg_renderer; remove outdated comment. 2014-06-29 13:04:12 +08:00
Duan Yao
69ceff7dbd Delete an unintentionally commited file. 2014-06-29 13:04:12 +08:00
Duan Yao
a5ac6b4d0d Make SplashBackgroundRenderer working with --process-covered-text 2014-06-29 13:04:12 +08:00
Duan Yao
55d45acd32 Code cleaning 2014-06-29 13:04:12 +08:00
Duan Yao
1d95b73eee Handle clips during processing of covered text. 2014-06-29 13:04:12 +08:00
Duan Yao
bd3f165ae2 Handle texts covered by paths; concentrate drawing tracing codes to DrawingTracer calss; disable CSS drawing. 2014-06-29 13:04:12 +08:00
Duan Yao
ce28c00a49 Implement covered text handling. 2014-06-29 13:04:12 +08:00
Lu Wang
9c0b2a8a74 fix rise with optimize-text 2014-06-28 02:04:20 -07:00
Lu Wang
fefd307016 fix for rise 2014-06-28 00:04:59 -07:00
Duan Yao
55def41bcd Proof mode: take care of render mode change inside text object; fix line width calculation in case of rotaion transform. 2014-06-28 14:55:01 +08:00
Duan Yao
0b82165543 Proof mode: stroke and fill texts to improve visibility. 2014-06-27 16:11:42 +08:00
Duan Yao
aa15515247 Improve coding style of proof mode. 2014-06-27 11:35:00 +08:00
Duan Yao
f8d8a58deb Implement proof output 2014-06-26 21:28:32 +08:00
Duan Yao
04c66439ba Fix issue of calling abs() in C stdlib 2014-06-24 16:31:33 +08:00
Duan Yao
ac8208a693 Code cleaning. 2014-06-17 11:59:45 +08:00
Duan Yao
fdbc70401f Improve help texts for --svg-node-count-limit and --svg-embed-bitmap; rename --svg-nodes-limit to --svg-node-count-limit. 2014-06-14 12:26:35 +08:00
Duan Yao
5681fe11c0 Fix bad usage of html_renderer->str_fmt() in get_bitmap_path(); add prefix to bitmap file name. 2014-06-14 12:26:35 +08:00
Duan Yao
edb0ddacea Some coding style improvements 2014-06-14 12:26:34 +08:00
Duan Yao
0586c88d26 Implement --svg-embed-bitmap: saving bitmaps in svg as external files. 2014-06-14 12:26:34 +08:00
Duan Yao
4add9da6e4 Move BackgroundRenderer fallback logic to HTMLRenderer. 2014-06-14 12:26:34 +08:00
Duan Yao
1764c1c334 fix travis build 2014-06-14 12:26:34 +08:00
Duan Yao
82b0569c06 Add svg-nodes-limit option to avoid overly complicated svg background. 2014-06-14 12:26:34 +08:00
Lu Wang
5ce2cf7a80 typo 2014-06-13 13:39:54 -07:00
Lu Wang
23b6fc64f5 for latest fontforge 2014-06-07 19:20:16 -07:00
Lu Wang
42bbfe5d22 Revert "We are not printing, so we need this after all"
This reverts commit dde8a1897d.
2014-06-06 21:52:40 -07:00
Lu Wang
c4aa9cb384 new option: --process-annotation 2014-06-06 21:43:53 -07:00
Lu Wang
d335ce0f70 fix build 2014-02-08 21:13:19 +08:00
Lu Wang
d0c77dc2c5 fix build 2014-02-08 20:43:49 +08:00
Lu Wang
50309b14a6 fix build 2014-02-08 20:40:25 +08:00
Lu Wang
c0371a07a6 fix build for latest poppler and fontforge 2014-02-08 20:35:33 +08:00
Lu Wang
ca5324c0e6 show message about old version of fontforge 2014-01-18 15:16:02 +08:00
Lu Wang
949d11ae1c Merge pull request #285 from marcsanfacon/master
Make it work on MingW
2014-01-16 00:27:14 -08:00
Marc Sanfacon
f0c260d6a0 Renamed win32.* -> mingw.* 2014-01-15 08:29:46 -05:00
Marc Sanfacon
94ddd697a6 Modifications following code review 2014-01-14 09:39:14 -05:00
Lu Wang
9c254313ec remove old option: font-suffix 2014-01-14 20:40:21 +08:00
Marc Sanfacon
5aebf2c738 Make it work on MingW 2014-01-13 20:08:23 -05:00
Lu Wang
166efc3892 clean detection for WIN32 2014-01-13 20:37:00 +08:00
Lu Wang
6993ef1368 fix build; changelog 2014-01-11 16:36:19 +08:00
Lu Wang
1cd9f00955 clean 2014-01-11 16:25:09 +08:00
Lu Wang
ae7c8e8d9c Merge pull request #254 from marcsanfacon/master
MinGW Port & 2 new options
2014-01-11 00:10:59 -08:00
Denis Sablic
dde8a1897d We are not printing, so we need this after all 2014-01-09 15:06:18 +01:00
Marc Sanfacon
5fab160e05 Modifications following code review
Fixed rmdir under Windows/MINGW
2014-01-09 08:14:12 -05:00
Denis Sablic
7b2fc64462 Removed commented-out code 2014-01-09 13:07:10 +01:00
Denis Sablic
2e4689915b Honor vdpi and hdpi parameters with SVG background output 2014-01-09 11:17:20 +01:00
Marc Sanfacon
652b40971a Revert "+ quiet parameter"
This reverts commit defc1738be.
2014-01-08 10:50:32 -05:00
Marc Sanfacon
defc1738be + quiet parameter 2013-12-27 13:52:07 -05:00
Lu Wang
54e971bfc0 .. 2013-12-26 19:57:24 +08:00
Lu Wang
2c5ccccf59 .. 2013-12-26 19:52:03 +08:00
Lu Wang
aea00515fe WIP: HTMLTextLine 2013-12-22 16:59:59 +08:00
Lu Wang
11b488e236 working on --optimize-text 3 2013-12-21 22:47:54 +08:00
Marc Sanfacon
42fea5b1ad Renamed output-size-limit to tmp-file-size-limit
Added information to man
2013-12-14 17:38:02 -05:00
Marc Sanfacon
5f388ad147 Use _mkdir in Windows 2013-12-06 11:17:43 -05:00
Marc Sanfacon
4ffb2abb19 Adjusted the message for tmp-dir
Added my name in Author
2013-12-06 08:29:53 -05:00
Marc Sanfacon
a47d42ad4b Modifications following review from Lu. Win32 modifications are now more localized 2013-12-05 15:20:53 -05:00
Marc Sanfacon
45f9cd116b Trim the withespaces & \r before comparing the lines to fix Windows \r 2013-11-29 14:00:14 -05:00
Marc Sanfacon
c1f3fa6178 Fixed Linux build. Link with all libraries under MINGW only. 2013-11-24 10:20:25 -05:00
Marc Sanfacon
57c02b1972 Added a parameter to limit the output size. This is an estimate, but should be good enough. 2013-11-22 16:39:28 -05:00
Marc Sanfacon
589047144a Added an option to specify the base temporary directory 2013-11-22 16:12:59 -05:00
Marc Sanfacon
d4d86ca3fe data directory under Windows is located unde data in pdf2htmlEX.exe path by default 2013-11-22 15:16:21 -05:00
Marc Sanfacon
8c65a2826b Compile under MinGW 2013-11-22 13:32:40 -05:00
Lu Wang
35ede66f50 remove some pointers to --single-html 2013-11-13 16:14:12 +08:00
Lu Wang
4a8d0bcd31 clean a few pointers to jquery 2013-11-09 16:22:45 +08:00
Lu Wang
c57085f600 always generate ttf first; use woff as default 2013-11-08 13:53:42 +08:00
Lu Wang
af60845550 remove page_decoration 2013-11-04 23:53:38 +08:00
Lu Wang
aa30d82d7a .. 2013-10-27 15:32:50 +08:00
Lu Wang
d39f83f15d disable u+2029 2013-10-27 15:18:17 +08:00
Lu Wang
a3642c6265 fix #226 2013-10-27 15:11:24 +08:00
Lu Wang
8ba0ce3e25 update jquery; include jquery from google cdn 2013-10-21 15:04:34 +08:00
Lu Wang
ed99bcd54c .. 2013-10-18 17:34:43 +08:00
Lu Wang
25b70bb1e1 output* -> write* 2013-10-18 16:31:59 +08:00
Lu Wang
4044528230 added a link for escaping ` for ie 2013-10-18 15:47:16 +08:00
Lu Wang
fd00c5f698 new escaping function for html tag attributes 2013-10-18 15:40:51 +08:00
Lu Wang
ce8d2bf51f .. 2013-10-17 20:01:04 +08:00