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

62 Commits

Author SHA1 Message Date
Stephen Gaito
fd34e6e671 rebased by hand update2poppler0_74_0ubuntu19_04 onto current master 2019-09-23 11:19:20 +01:00
Stephen Gaito
11c275a5d3 corrected accedental reversion in CairoBackgroundRenderer 2019-09-20 06:11:11 +01:00
stephengaito
964ea33c47
Merge pull request #2 from stephengaito/master
trial merge of poppler-62 master into poppler-68 branch
2019-09-19 16:18:00 +01:00
Stephen Gaito
1d39d5a3b6 added all required consts 2019-06-29 12:42:55 +01:00
Stephen Gaito
21115c3adf updated to poppler-0.62.0 on Ubuntu 18.04 2019-03-26 10:35:29 +00:00
Trent Petersen
6c8bce5a30
Rockstar04/master (#8)
* Correct extra config load

* poppler config

* Update src
2018-01-10 15:02:23 -06:00
Trent Petersen
9ed21007e5
New master (#2)
* Show header in font map files

* fix a usage of unique_ptr with array

* Added '--quiet' argument to hide progress messages (resolves #503)

* Revert cout messages to cerr (see #622)

* bump version

* fix build; fix some coverity warnings

* Many bug fixes and improvements, including:

- Incorporated latest Cairo files from cairo-0.15.2
- Moved build to out-of-source
- Added clean script
- Rewritten correct_text_visibility option to improve accuracy
- Transparent characters drawn on background layer
- Improved bad unicode detection

* Many bug fixes and improvements, including:

- Incorporated latest Cairo files from cairo-0.15.2
- Moved build to out-of-source
- Added clean script
- Rewritten correct_text_visibility option to improve accuracy
- Transparent characters drawn on background layer
- Improved bad unicode detection

* Rationlise DPI to single number.
Implement actual_dpi - clamp maximum background image size in cases of huge PDF pages

* DPI fixes - increase DPI when partially covered text to covered-text-dpi
Add font-style italic for oblique fonts
Reduce char bbox for occlusion tests

* Don't shrink bbox - not required if zoom=25 used

* Ignore occlusion from stroke/fill with opacity < 0.5
Better compute char bbox for occlusion
Use 10% inset for char bbox for occlusion
Back out adding font-weight: bold to potentially bold fonts
Fix bug to ensure CID ascent/descent matches subfont values

* Removed zero char logging

* Remove forced italic - missing italic is due to fontforge bug which needs fixing

* Typos fixed, readme updated

* Typos

* Increase maximum background image width
Fix private use range to avoid stupid mobile safari switching to emoji font

* included -pthread switch to link included 3rdparty poppler files.

* Updated files from poppler 0.59.0 and adjusted includes.

* Support updated "Object" class from poppler 0.59.0
2018-01-10 13:31:38 -06:00
Lu Wang
c48f9afb6d fixes #335 2015-05-03 14:21:56 +08:00
Lu Wang
ae0adbd0fe fixes #511 2015-05-01 19:11:24 +08:00
Lu Wang
d4fc82b901 fix for poppler 0.31.0 2015-02-16 16:56:43 +08:00
Lu Wang
92413fdec3 use auto when possible
fix typo
2014-11-16 22:11:03 +08:00
Lu Wang
ad6ff61797 ENABLE_SVG is on by default; do not support poppler <0.25.0 2014-11-13 12:32:31 +08:00
Lu Wang
4101e845eb Merge branch 'master' into incoming 2014-11-13 12:19:49 +08:00
Sam Rijs
5baa3be878 fix typo: generalize error message 2014-09-26 16:32:58 +10:00
Lu Wang
f5c2cca4f5 render text on background image if used as path 2014-08-21 17:07:42 -07:00
Duan Yao
144ec439f0 Don't dump jpeg not in RGB or Gray colorspaces (Fix 400). 2014-08-04 02:56:01 +08: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
Duan Yao
85f04be632 Covered text handling: rename option name to --correct-text-visibility. 2014-06-29 13:16:42 +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
a5ac6b4d0d Make SplashBackgroundRenderer working with --process-covered-text 2014-06-29 13:04:12 +08:00
Duan Yao
ce28c00a49 Implement covered text handling. 2014-06-29 13:04:12 +08: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
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
85a7c43f83 Add svg-nodes-limit option to avoid overly complicated svg background. 2014-06-23 17:35:39 -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
Denis Sablic
dde8a1897d We are not printing, so we need this after all 2014-01-09 15:06:18 +01: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
Lu Wang
2e53655b27 fix #208 2013-09-26 10:09:42 +08:00
Lu Wang
0be34cb104 fix #206 2013-09-25 21:53:24 +08:00
Lu Wang
17ba60c0a4 .. 2013-09-25 15:13:50 +08:00
Lu Wang
25506791a6 reorganize poppler files 2013-09-23 16:40:48 +08:00
Lu Wang
e2016d9fca fix build for old poppler 2013-09-23 16:37:02 +08:00
Lu Wang
8c4e14b1fa working on type3 processing 2013-09-19 05:56:57 +08:00
Lu Wang
2d1b810c4e remove debug info 2013-09-19 00:20:03 +08:00
Lu Wang
e45a49d40e fix for svg 2013-09-19 00:17:56 +08:00
Lu Wang
f04941bed0 support jpeg 2013-09-18 20:24:48 +08:00
Lu Wang
dd9d21cb19 new option: --bg-format 2013-09-18 18:01:56 +08:00
Lu Wang
bcadc6be6a .. 2013-09-18 16:53:42 +08:00
Lu Wang
51499dcff0 .. 2013-09-18 16:52:56 +08:00