1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-07-07 10:20:33 +00:00
Commit Graph

263 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
Jakub Wilk
b1e4d9c4ef fix typos 2016-01-01 12:02:27 +01:00
Lu Wang
fa01e025f9 JS: view_history_handler 2015-07-10 21:04:22 +08:00
Lu Wang
8628ce1cfa js: get hash for current view 2015-07-10 20:22:13 +08:00
Lu Wang
d48b3ccd69 fixes #506; fixes fit_width/height() in JS 2015-05-03 12:03:24 +08:00
Lu Wang
7163d4dded use simple optimization to retain api in js 2015-05-03 11:55:54 +08:00
Lu Wang
be3311ab2d use configured css class name for input_radio 2015-05-03 11:52:02 +08:00
Lu Wang
2edf41eaa1 Merge branch 'incoming' 2015-04-29 21:25:46 +08:00
intellisense
9326378bbf Only add loading indicator if not already present
If for some reason the xhr request failed, the loading indicator cloned again upon new request. This pull request makes sure that the loading indicator should only be cloned into page container if not already present.
2015-03-31 03:26:34 +05:00
Lu Wang
61e5a18c40 fixing tests 2015-03-17 13:47:29 +08:00
Duan Yao
ebbdbef47e Workaround bugs of blink/webkit: (negative) word-spacing, leading spaces, inline/inline-block elements. 2015-03-16 02:44:38 +08: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
Lu Wang
527e7b6216 improve test runner 2014-11-16 13:40:02 +08:00
Lu Wang
22d19329c0 working on unittest
use fontforge PPA in travis

exluding test/ in the archive

..

rewrite test_naming.py

migrate old test_nameing.py to new unittest
2014-11-16 00:06:43 +08:00
Simon Chenard
c9201c6a1d some more corrections and cleaning 2014-11-14 14:28:17 -05: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
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
9c0b2a8a74 fix rise with optimize-text 2014-06-28 02:04:20 -07:00
Lu Wang
ffbb32ab8a Merge pull request #357 from duanyao/master
Fix XHR failure for file: protocol.
2014-06-07 01:24:02 -07:00
Lu Wang
1c966fdb32 workaround for Webkit #35443 2014-06-06 22:00:48 -07:00
Duan Yao
dd540d3c39 Fix XHR failure for file: protocol. 2014-06-07 00:51:19 +08:00
Lu Wang
fac78e9f44 fix #315 2014-03-07 16:07:54 +08:00
Lu Wang
eacb35286c fix #261 2013-12-17 12:09:52 +08:00
Lu Wang
9252089c07 rescaling preserves the fixed point 2013-11-22 20:23:38 +08:00
Lu Wang
a527bd0443 add CONTRIBUTING.md 2013-11-20 21:21:51 +08:00
Lu Wang
feaa13e36f fix css for loading indicator 2013-11-19 16:18:17 +08:00
Lu Wang
a793190afc fix animation 2013-11-18 21:41:53 +08:00
Lu Wang
af67d7a5dd fix loading indicator 2013-11-18 20:56:07 +08:00
Lu Wang
aca390cd48 .. 2013-11-18 20:02:33 +08:00
Lu Wang
c949183bca maintain first visible page 2013-11-17 17:44:29 +08:00
Lu Wang
920b693a06 clean js; all position are now in scaled coordiante system 2013-11-16 06:52:29 +08:00
Lu Wang
6e61ee5d19 .. 2013-11-16 19:31:52 +08:00
Lu Wang
a60570f81c support hashchange 2013-11-16 16:50:18 +08:00
Lu Wang
32366bf580 clean js 2013-11-15 22:27:53 +08:00
Lu Wang
292b2d4eed , 2013-11-12 16:02:11 +08:00
Lu Wang
932e21cc0f home/end without ctrl 2013-11-11 20:28:01 +08:00
Lu Wang
5cb26697a8 maintain currenet page number 2013-11-11 17:36:35 +08:00
Lu Wang
f09ede489c clean js 2013-11-10 16:56:07 +08:00
Lu Wang
8a192e03e0 clean js 2013-11-10 16:54:43 +08:00
Lu Wang
4a8d0bcd31 clean a few pointers to jquery 2013-11-09 16:22:45 +08:00
Lu Wang
80e6df6c2b support zoom in links 2013-11-08 16:45:32 +08:00
Lu Wang
8d2b6d0308 clean js 2013-11-08 15:06:33 +08:00
Lu Wang
c57085f600 always generate ttf first; use woff as default 2013-11-08 13:53:42 +08:00
Lu Wang
288b1c1719 clean js 2013-11-07 20:57:28 +08:00