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

31 Commits

Author SHA1 Message Date
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
Duan Yao
0b873f62b2 Revert "Workaround chrome/webkit bug of word-spacing with leading spaces."
This reverts commit fdf1c36744.
2015-03-15 21:47:31 +08:00
Lu Wang
568dc8e650 revert previous commit, which broke the test case for text visibility 2015-03-15 17:36:06 +08:00
Lu Wang
7706bd7a96 0.13.0
- Use micro version number
- Do not output leading space due to a chromium bug
- Fixed test case for with_form
2015-03-15 14:39:58 +08:00
Duan Yao
fdf1c36744 Workaround chrome/webkit bug of word-spacing with leading spaces. 2014-08-19 10:30:43 +08:00
Duan Yao
c7053f392b Fix offset optimizing issue introduced by padding char (#398). 2014-08-04 02:47:51 +08: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
25d53ba0d1 Fix call to Color constructor. 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
ce28c00a49 Implement covered text handling. 2014-06-29 13:04:12 +08:00
Duan Yao
04c66439ba Fix issue of calling abs() in C stdlib 2014-06-24 16:31:33 +08:00
Lu Wang
c4aa9cb384 new option: --process-annotation 2014-06-06 21:43:53 -07: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
Lu Wang
25b70bb1e1 output* -> write* 2013-10-18 16:31:59 +08:00
Lu Wang
09856c0910 improve ascent/descent for type 3 fonts 2013-09-20 16:35:19 +08:00
Lu Wang
a82996eeb7 check clip changes 2013-05-04 21:17:35 +08:00
Lu Wang
0cd9405565 simple clipping 2013-05-04 19:26:26 +08:00
Lu Wang
fe4aca9faf reinitialize vertical_align in check_state 2013-05-03 15:19:09 +08:00
Lu Wang
cf5507f997 workaround for NBSP 2013-05-02 14:32:17 +08:00
Lu Wang
b8cfac4574 escape input file name; aware of 0xa0 as space 2013-05-01 23:56:20 +08:00
Lu Wang
1da9be54d9 refactor line/page stuffs, preparing to support clip 2013-04-07 23:50:23 +08:00
Lu Wang
cf9b917ba1 .. 2013-04-07 17:10:36 +08:00
Lu Wang
4a0f422b31 working 2013-04-07 16:10:52 +08:00
Lu Wang
68791299e5 add HTMLTextPage for further optimization 2013-04-07 00:42:54 +08:00
Lu Wang
8f929a663a TextLineBuffer -> HTMLTextLine 2013-04-06 23:51:33 +08:00