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

145 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
Andreas K. Hüttel
65be29559d Add fontforge internal headers. Evil. 2018-01-11 08:23:44 -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
Jakub Wilk
b1e4d9c4ef fix typos 2016-01-01 12:02:27 +01:00
Lu Wang
ace5b9a178 Merge branch 'master' into incoming 2015-06-30 14:47:37 +08:00
Steven Lee
9d97ed7356 fix issue when compile windows version
fix issue: '_mkdir' was not declared in this scope
2015-06-23 18:30:24 +08:00
Lu Wang
4da3a78821 do not abort when attempting to flatten a non-CID font 2015-05-03 19:22:00 +08:00
Lu Wang
1a90525a8b wipe out font names; fixes #486 2015-05-02 17:16:10 +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
5a66ac5a55 mark U+200B as illegal 2015-03-18 18:07:50 +08: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
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
ea226cf302 Corrections as per Wang Lu's suggestions 2014-10-02 16:08:42 -04: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
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
Duan Yao
65e82028bb Allow covered text handling (--process-covered-text) to work without cairo. 2014-06-29 13:12:35 +08:00
Duan Yao
69ceff7dbd Delete an unintentionally commited file. 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
ce28c00a49 Implement covered text handling. 2014-06-29 13:04:12 +08:00
Lu Wang
fdd858b102 for latest fontforge 2014-06-23 17:35:39 -07:00
Lu Wang
d335ce0f70 fix build 2014-02-08 21:13:19 +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
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
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
1cd9f00955 clean 2014-01-11 16:25:09 +08:00
Marc Sanfacon
5f388ad147 Use _mkdir in Windows 2013-12-06 11:17:43 -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
8c65a2826b Compile under MinGW 2013-11-22 13:32:40 -05: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
8ba0ce3e25 update jquery; include jquery from google cdn 2013-10-21 15:04:34 +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
7e636ffb8f fix typo; #218 2013-10-11 15:17:07 +08:00
Lu Wang
cddfaf6ae2 add rotating logo 2013-09-27 19:48:40 +08:00
Lu Wang
84b0966551 set correct width 2013-09-20 20:30:46 +08:00
Lu Wang
8cac1e6aaf improve accuray for type 3 fonts 2013-09-20 20:06:06 +08:00
Lu Wang
09856c0910 improve ascent/descent for type 3 fonts 2013-09-20 16:35:19 +08:00
Lu Wang
8812bb52fb scale type 3 fonts 2013-09-19 22:02:12 +08:00
Lu Wang
8c4e14b1fa working on type3 processing 2013-09-19 05:56:57 +08:00