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

1640 Commits

Author SHA1 Message Date
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
6e8d5396cd make license consistent 2014-07-13 17:16:36 -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
Lu Wang
54c346fb22 Merge pull request #371 from duanyao/proof_output
Implement proof output
2014-06-27 01:32:05 -07: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
Lu Wang
3c5d491a95 Merge pull request #375 from duanyao/Fix_abs
Fix issue of calling abs() in C stdlib
2014-06-24 11:29:28 -07:00
Duan Yao
04c66439ba Fix issue of calling abs() in C stdlib 2014-06-24 16:31:33 +08:00
Lu Wang
5b631c2800 Merge branch 'incoming' of github.com:coolwanglu/pdf2htmlEX into incoming 2014-06-23 17:35:49 -07:00
Duan Yao
d09a47d84f Code cleaning. 2014-06-23 17:35:40 -07:00
Duan Yao
ba1358c241 Improve help texts for --svg-node-count-limit and --svg-embed-bitmap; rename --svg-nodes-limit to --svg-node-count-limit. 2014-06-23 17:35:40 -07:00
Duan Yao
24a6f1fee8 Fix bad usage of html_renderer->str_fmt() in get_bitmap_path(); add prefix to bitmap file name. 2014-06-23 17:35:39 -07:00
Duan Yao
ca3a777451 Some coding style improvements 2014-06-23 17:35:39 -07:00
Duan Yao
e95fb03aec Implement --svg-embed-bitmap: saving bitmaps in svg as external files. 2014-06-23 17:35:39 -07:00
Duan Yao
6bf2824b1f Move BackgroundRenderer fallback logic to HTMLRenderer. 2014-06-23 17:35:39 -07:00
Duan Yao
d3340ce04a fix travis build 2014-06-23 17:35:39 -07:00
Duan Yao
85a7c43f83 Add svg-nodes-limit option to avoid overly complicated svg background. 2014-06-23 17:35:39 -07:00
Lu Wang
a36c612744 typo 2014-06-23 17:35:39 -07:00