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

519 Commits

Author SHA1 Message Date
Stephen Gaito
583c343d76 found change in Poppler ABI in the form of who has to do incRefCnt for CharCodeToUnicode objects 2019-07-03 13:16:41 +01:00
Stephen Gaito
1d39d5a3b6 added all required consts 2019-06-29 12:42:55 +01:00
Stephen Gaito
356d3f103d commit of initial update of pdf2htmlEX to poppler 68 2019-05-06 13:03:24 +01: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
Jakub Wilk
b1e4d9c4ef fix typos 2016-01-01 12:02:27 +01:00
Lu Wang
2a5ce90818 handle subtype OpenType for FontFile3, in pdf 1.6 2015-05-03 18:40:40 +08:00
Duan Yao
66231996fd Improve checking of illegal unicode in HTML, matching Webkit and Firefox's implementation. 2015-03-18 19:06:06 +08:00
Lu Wang
d4fc82b901 fix for poppler 0.31.0 2015-02-16 16:56:43 +08:00
Simon Chenard
a90ae31a8a cleanup in form.cc 2015-01-27 16:01:30 -05:00
Simon Chenard
54781e0523 include-forms option : a few style changes 2015-01-26 10:20:00 -05:00
Simon Chenard
db10f6744a added mention when encountering unsupported field + some stylistic changes 2015-01-16 15:23:38 -05:00
Simon Chenard
9fd1ba37de As suggested by Lu Wand, merging the adobe-form branch into the incoming branch 2014-12-03 14:32:01 -05:00
Simon Chenard
87bc6c06d4 small CSS fix for the radio button image 2014-12-03 14:31:38 -05:00
Lu Wang
92413fdec3 use auto when possible
fix typo
2014-11-16 22:11:03 +08:00
Simon Chenard
c9201c6a1d some more corrections and cleaning 2014-11-14 14:28:17 -05: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
Simon Chenard
6fe0262427 The cross symbol for checkboxes is now an image. 2014-10-16 10:34:41 -04:00
Simon Chenard
ea226cf302 Corrections as per Wang Lu's suggestions 2014-10-02 16:08:42 -04:00
Simon Chenard
f8404691ed cleanup a bit, output css only once 2014-08-14 10:35:27 +02:00
Simon Chenard
5223541c1f working but ugly code 2014-08-11 16:36:35 +02: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
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
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
24b5eeb1e5 re-apply "fix rise with optimize-text(9c0b2a8a)" after rebase 2014-06-29 13:51:31 +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
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
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
b9899d8d4a Fix issue in char displacement calculation. 2014-06-29 13:08:53 +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
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
04c66439ba Fix issue of calling abs() in C stdlib 2014-06-24 16:31:33 +08:00
Duan Yao
4add9da6e4 Move BackgroundRenderer fallback logic to HTMLRenderer. 2014-06-14 12:26:34 +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
Marc Sanfacon
5fab160e05 Modifications following code review
Fixed rmdir under Windows/MINGW
2014-01-09 08:14:12 -05: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
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
45f9cd116b Trim the withespaces & \r before comparing the lines to fix Windows \r 2013-11-29 14:00:14 -05:00