1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-07-05 01:28:39 +00:00
Commit Graph

567 Commits

Author SHA1 Message Date
Lu Wang
f4ae2e26dd revise 2013-02-04 18:13:04 +08:00
Lu Wang
429ff6bcd6 working 2013-02-04 00:40:07 +08:00
Lu Wang
4364a5d322 working 2013-02-03 17:36:28 +08:00
Lu Wang
d7032d5607 working... 2013-02-03 03:35:56 +08:00
Lu Wang
767958ecef .. 2013-02-03 03:35:45 +08:00
Lu Wang
59b89510cc clean code 2013-02-02 20:32:09 +08:00
John Hewson
6973760a85 Merge branch 'master' of git://github.com/coolwanglu/pdf2htmlEX
Conflicts:
	src/HTMLRenderer/general.cc
	src/HTMLRenderer/state.cc
2013-01-31 22:50:21 +00:00
John Hewson
42452d45b0 stroked text 2013-01-31 22:21:57 +00:00
Lu Wang
a41c7cff67 new option --process-outline 2013-01-31 02:18:18 +08:00
Lu Wang
f4de5a298b create separate reset_state func 2013-01-30 23:56:27 +08:00
Lu Wang
a6cde2f17e Revert "fix crop"
This reverts commit 5a7bd3af89.
2013-01-30 22:13:03 +08:00
Lu Wang
5a7bd3af89 fix crop 2013-01-30 22:05:50 +08:00
Lu Wang
b8e49c448b Merge branch 'master' of github.com:coolwanglu/pdf2htmlEX 2013-01-30 21:48:31 +08:00
Lu Wang
6d03449998 update readme 2013-01-30 12:15:22 +08:00
Lu Wang
2b70f5b2a1 fix float point number comparison in install_* 2013-01-30 04:06:48 +08:00
Lu Wang
71f1cb3b8a clean unuseful warning messages in ArgParser 2013-01-30 03:40:17 +08:00
Lu Wang
a7bba1bf48 clean ArgParser 2013-01-30 03:22:11 +08:00
Lu Wang
b2ae01a2fa make type_name a member function 2013-01-30 02:48:05 +08:00
Lu Wang
d987294082 Merge pull request #79 from jahewson/master
Automatically infer @font-face src format
2013-01-29 10:19:33 -08:00
John Hewson
b9763d1072 cosmetic changes 2013-01-29 18:13:48 +00:00
Lu Wang
2e91696b33 improve manpage; show data-dir in -v 2013-01-29 22:52:32 +08:00
Lu Wang
9efa67681b outline is closed by default, and will be opened by pdf2htmlEX.js if not empty 2013-01-29 22:23:59 +08:00
John Hewson
b2d28e2490 fixed formatting 2013-01-29 13:38:34 +00:00
John Hewson
6fda07bec3 automatically infer @font-face src format 2013-01-29 12:07:51 +00:00
John Hewson
efbd9c8c1e usage: default is -> default: 2013-01-29 10:39:25 +00:00
John Hewson
e79c2884bb usage: embedded fonts -> fonts 2013-01-29 10:38:39 +00:00
John Hewson
4cddb4dbb3 re-ordered Param.h to match new usage order 2013-01-28 23:11:29 +00:00
John Hewson
c80a732ea5 re-ordered usage descriptions to be more like pdftocairo,etc 2013-01-28 22:54:42 +00:00
John Hewson
d250ccf829 cleaned-up usage descriptions 2013-01-28 22:45:12 +00:00
John Hewson
81ee37e4ae show argument types, like pdftohtml/pdftocairo/etc 2013-01-28 22:30:04 +00:00
John Hewson
35d9668e90 pdftohtml/pdftocairo/etc style usage defaults 2013-01-28 22:26:07 +00:00
John Hewson
40e9f89833 don't need every program telling people how to use unix 2013-01-28 22:17:57 +00:00
John Hewson
952a3409f3 cleaned up usage beahviour 2013-01-28 22:16:38 +00:00
Lu Wang
272fb57755 fix file copy for empty input 2013-01-28 21:56:22 +08:00
Lu Wang
a9bc242c1c process outline 2013-01-28 21:01:02 +08:00
Lu Wang
e0c859188e new parameter for outline 2013-01-28 20:00:20 +08:00
Lu Wang
b7ffd969e5 fix build with git version of poppler 2013-01-28 19:45:40 +08:00
Lu Wang
d38697d890 refactor file objects 2013-01-28 18:46:44 +08:00
Lu Wang
014ef7ecc2 expose get_linkdest_str 2013-01-28 18:31:02 +08:00
Lu Wang
4d94c1d072 fix build with git version of poppler 2013-01-28 18:16:01 +08:00
Lu Wang
4a7b62a0b7 typo 2013-01-27 04:38:34 +08:00
Lu Wang
4798945c1d .. 2013-01-26 19:45:48 +08:00
Lu Wang
be5186592d Update src/util/ffw.c 2013-01-26 02:30:56 +08:00
Lu Wang
8c621e5c0d Merge pull request #75 from jahewson/master
Travis CI, etc.
2013-01-25 05:20:05 -08:00
John Hewson
f3d8b8a954 make -v flag exit with success 2013-01-25 13:13:27 +00:00
John Hewson
30577ee546 change no-drm parameter to int, updated manpage 2013-01-25 12:38:44 +00:00
Lu Wang
f9399859e4 add a class for 'left' 2013-01-25 16:39:20 +08:00
John Hewson
88467667a2 flag to override DRM 2013-01-25 00:56:49 +00:00
Lu Wang
e1989652fa fix GfxRGB_hash 2013-01-24 22:44:08 +08:00
Lu Wang
8d09a25baf fixed a typo for GfxRGB_equal 2013-01-24 22:41:59 +08:00
Lu Wang
062c12aa73 Merge branch 'devv' 2013-01-24 22:41:28 +08:00
Lu Wang
f76003ecc4 .. 2013-01-24 22:21:06 +08:00
Lu Wang
78704cca61 track strokecolor/ colorspace / render 2013-01-24 20:39:24 +08:00
John Hewson
43ae72b9b0 removed version from usage 2013-01-23 15:02:11 +00:00
John Hewson
df054d70cf fixed memory leak 2013-01-23 14:40:28 +00:00
John Hewson
b1dc3eb11a enhanced version information 2013-01-23 12:29:59 +00:00
Lu Wang
d274d4f6c8 fix width of type 3 fonts; don't show hidden text for type 3 fonts 2013-01-19 20:13:31 +08:00
Lu Wang
da8a18c2d9 .. 2013-01-19 19:33:29 +08:00
Lu Wang
e81b0e7456 .. 2013-01-19 19:19:15 +08:00
Lu Wang
342628ed03 .. 2013-01-19 17:17:12 +08:00
Lu Wang
2595cbcfa0 explicitly set visible for fonts in order to override derivation 2013-01-19 16:56:37 +08:00
Lu Wang
68d7e7f529 render Type 3 fonts as image 2013-01-19 16:46:50 +08:00
Lu Wang
f4e82f6049 .. 2013-01-08 20:37:08 +08:00
Lu Wang
2dbb226e0e .. 2012-12-11 20:52:36 +08:00
Lu Wang
495dabf964 separate TextLineBuffer 2012-12-11 20:48:10 +08:00
Lu Wang
5842d2279d separate TextLineBuffer 2012-12-11 20:48:01 +08:00
Lu Wang
add1d1e28e reorganize 2012-12-11 20:20:52 +08:00
Lu Wang
804f86b127 reorganize coce 2012-12-11 20:17:36 +08:00
Lu Wang
59a571ac8a new param use-cropbox 2012-12-07 20:31:09 +08:00
Lu Wang
c886e22292 merge #54 2012-12-07 20:14:51 +08:00
Herbert Jones
5f919c8d3f Fix problem with certain pdfs that transform the entire document upside
down, including the fonts, which normally appear correctly in other
renderers. Since CSS doesn't know how to handle negative font sizes, the
document needs to be transformed correctly.
2012-12-05 16:10:22 -06:00
Lu Wang
2e0b9c6721 should fix a span with only a space 2012-11-30 17:59:36 +08:00
Lu Wang
d1dfb33e43 .. 2012-11-30 17:33:27 +08:00
Lu Wang
b4257e7f9f fix #51 2012-11-30 17:18:12 +08:00
Lu Wang
6fb3421860 nope, hinting of fontforge is not reliable 2012-11-29 21:41:48 +08:00
Lu Wang
36a340ecf9 auto-hint is now default 2012-11-29 21:38:53 +08:00
Lu Wang
e534298e1b .. 2012-11-29 21:38:23 +08:00
Lu Wang
02305d560b .. 2012-11-29 21:20:26 +08:00
Lu Wang
195a6cc581 refining 2012-11-29 20:39:30 +08:00
Lu Wang
9d99fd9b82 clean code 2012-11-29 19:43:19 +08:00
Lu Wang
ba77c1cc6c refince code: base64 2012-11-29 19:38:57 +08:00
Lu Wang
56e59baeb2 split util.h 2012-11-29 18:28:07 +08:00
Lu Wang
d179b50147 working on util.h 2012-11-29 18:16:05 +08:00
Lu Wang
ab28c44034 moving base64/string_formatter out 2012-11-29 17:50:40 +08:00
Lu Wang
35fccdc28c reorganizaing 2012-11-29 17:45:26 +08:00
Lu Wang
63287ce491 reorganize files 2012-11-29 17:28:05 +08:00
filodej
db23e31e6a Add changes requested in code review 2012-11-29 16:55:22 +08:00
filodej
a5ccc7f073 merge filodej 2012-11-29 16:55:20 +08:00
filodej
462e8dc541 Add missing includes to the utils.h file 2012-11-29 16:53:26 +08:00
Lu Wang
210a2451e6 text in writing mode are rendered as image 2012-11-16 20:46:52 +08:00
Lu Wang
ef72038894 correct page count in prompt 2012-11-16 20:41:44 +08:00
Lu Wang
76df0f4e97 progress indicator 2012-10-24 22:30:52 +08:00
Lu Wang
90fcf4ed08 fix --fit-width/height 2012-10-24 22:24:33 +08:00
Lu Wang
c68d593d8c .. 2012-10-24 22:19:59 +08:00
Lu Wang
b58df8cc16 check compiler flag 2012-10-12 22:39:58 +08:00
Lu Wang
52fb22f430 Merge branch 'master' into devv 2012-10-12 20:08:56 +08:00
Lu Wang
eb521b7a55 render text to the background when as clip path 2012-10-12 20:06:43 +08:00
Lu Wang
57bd310d7b calculate zoom factors in the constructoer 2012-10-09 23:17:47 +08:00
Lu Wang
792c2ff728 .. 2012-10-09 23:10:06 +08:00
Lu Wang
b3dabae52a squeeze-widt-glyph is now default 2012-10-08 20:16:43 +08:00
Lu Wang
e604ba7565 .. 2012-10-08 16:36:47 +08:00
Lu Wang
12676ccc4a create a glyph for ' ' when there is not one 2012-10-08 16:26:19 +08:00
Lu Wang
9a34d44809 bump version 2012-10-08 15:00:55 +08:00
Lu Wang
cb9a89d7b3 .. 2012-10-07 00:51:03 +08:00
Lu Wang
8b09338cad typo 2012-10-06 23:36:52 +08:00
Lu Wang
90af54acc4 .. 2012-10-06 22:41:06 +08:00
Lu Wang
a67a74fd51 remove-unused-glyphs is now default 2012-10-06 20:44:08 +08:00
Lu Wang
baf6ad22b6 fix mem issue of 'selected' 2012-10-06 20:25:11 +08:00
Lu Wang
7664fb5a79 remove alternate unicodes 2012-10-06 19:20:35 +08:00
Lu Wang
b2633ffc1b remove debug info 2012-10-06 15:23:20 +08:00
Lu Wang
250d23c712 remove hypot 2012-10-06 15:06:26 +08:00
Lu Wang
091b623872 new option: remove unused glyphs 2012-10-05 23:38:17 +08:00
Lu Wang
f2cc4b4bd1 dump raw font in debug mode 2012-10-04 22:21:46 +08:00
Lu Wang
5f5747738f working on integrating splash 2012-10-03 22:46:27 +08:00
Lu Wang
49fd259d6f css draw 2012-10-03 12:42:00 +08:00
Lu Wang
2c56c6f6ae cross-browser linear gradient 2012-10-03 03:00:51 +08:00
Lu Wang
2755cf6567 first implementation of linear gradient 2012-10-03 02:52:45 +08:00
Lu Wang
2041c2d146 working on linear gradient 2012-10-03 02:19:40 +08:00
Lu Wang
6ae97943df .. 2012-10-02 21:11:00 +08:00
Lu Wang
8c5851863c working on integrating splash/cairo 2012-10-02 20:56:40 +08:00
Lu Wang
a9790d68b3 integrating cairo outputdev 2012-10-02 20:41:39 +08:00
Lu Wang
2b06319207 TODO 2012-10-02 16:06:08 +08:00
Lu Wang
779c91f81e draw_scale->draw_text_scale 2012-10-02 14:19:20 +08:00
Lu Wang
4090d79eac typo 2012-10-02 12:43:08 +08:00
Lu Wang
a4a2252741 don't stroke when fill 2012-10-02 04:31:55 +08:00
Lu Wang
b5d73e6850 .. 2012-10-02 04:26:13 +08:00
Lu Wang
a568383a21 working on CSS draw 2012-10-02 04:06:38 +08:00
Lu Wang
1bfe86187e working on CSS draw 2012-10-02 01:59:04 +08:00
Lu Wang
c8133d64e3 new option for fixing glyph width 2012-10-01 00:37:53 +08:00
Lu Wang
dafc4b86dd fix glyph widths when not consistent with PDF [need more work] 2012-09-30 15:43:23 +08:00
Lu Wang
6b28049d76 Merge branch 'devv' of github.com:coolwanglu/pdf2htmlEX into devv
Conflicts:
	src/HTMLRenderer/text.cc
2012-09-28 20:07:25 +08:00
Lu Wang
f2af4be094 dirty fix:decompose ligatures when tounicode is not used 2012-09-28 17:53:36 +08:00
Lu Wang
10c55cffcb don't decompose ligature when tounicode map is not used, need more fix laster 2012-09-28 17:25:12 +08:00
Lu Wang
6a4c0856a7 Merge branch 'devv' of github.com:coolwanglu/pdf2htmlEX into devv 2012-09-28 17:21:23 +08:00
Lu Wang
88df24f78f avoid using round() 2012-09-27 20:17:11 +08:00
Lu Wang
e85ff593ee always use default font files for base 14 fonts 2012-09-27 17:17:08 +08:00
Lu Wang
09aa812460 debug info 2012-09-27 12:30:11 +08:00
Lu Wang
6fa147924e fix zoom factors" 2012-09-27 00:25:41 +08:00
Lu Wang
6e03e6d12a --fit-width/height 2012-09-27 00:17:56 +08:00
Lu Wang
d7ba0a95c6 avoid using rename() 2012-09-26 21:31:29 +08:00
Lu Wang
e3dc7214e1 better coordination for scrolling; page decoration 2012-09-25 21:56:48 +08:00
Lu Wang
835c1de436 remove debug info 2012-09-25 19:32:55 +08:00
Lu Wang
e8d09a0115 precise link dest 2012-09-25 19:29:59 +08:00
Lu Wang
a3a67d48ae fix scale 2012-09-25 01:12:28 +08:00
Lu Wang
49a527759b effect is too bad with muliplier=1, change it back to 4 and use old scale behavior in order to bypass the firefox bug 2012-09-25 00:55:41 +08:00
Lu Wang
26a23e856d set multiplier to 1.0 as FF has a bug about scrolling with transform 2012-09-25 00:39:45 +08:00
Lu Wang
983f6dfac2 auto mode when --tounicode=0 2012-09-24 16:59:47 +08:00
Lu Wang
eafa6986ea multi font in the same line 2012-09-24 02:35:06 +08:00
Lu Wang
b8dff4ea0d hinting 2012-09-24 02:28:53 +08:00
Lu Wang
a4f100a0af fixe logic of hinting 2012-09-24 02:22:42 +08:00