1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-09-13 03:36:03 +00:00
Commit Graph

146 Commits

Author SHA1 Message Date
Ryan Morlok
83c947462a added input sanitation for split page generation when accepting a custom outfile file name format. Added unit tests for various file name generation scenarios. 2013-03-17 00:08:06 -05:00
Ryan Morlok
af8e9c10ae Merge remote-tracking branch 'upstream/master' 2013-03-16 13:30:42 -05:00
Lu Wang
bd1c9c138f fallback mode 2013-03-09 01:45:13 +08:00
Lu Wang
72e010acf2 use cropbox by default 2013-03-07 09:37:27 +08:00
Lu Wang
4cf8ffb95b hide annotations for print 2013-03-01 00:00:06 +08:00
Ryan Morlok
ff59857ef4 Added ability to explicitly specify page name format when splitting
output across multiple pages. Can include page number position
in the output file name.

Examples:
pdf2htmlEX --split-pages 1 foo.pdf bar%d.html
pdf2htmlEX --split-pages 1 foo.pdf bar%02d.page
2013-02-27 23:59:07 -06:00
Lu Wang
81934107e0 .. 2013-02-28 12:14:45 +08:00
Lu Wang
2d5dc47367 fix build for gcc 4.4.6 2013-02-28 10:15:01 +08:00
Lu Wang
a41c7cff67 new option --process-outline 2013-01-31 02:18:18 +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
Lu Wang
2e91696b33 improve manpage; show data-dir in -v 2013-01-29 22:52:32 +08:00
John Hewson
6fda07bec3 automatically infer @font-face src format 2013-01-29 12:07:51 +00:00
John Hewson
e79c2884bb usage: embedded fonts -> fonts 2013-01-29 10:38:39 +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
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
e0c859188e new parameter for outline 2013-01-28 20:00:20 +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
John Hewson
88467667a2 flag to override DRM 2013-01-25 00:56:49 +00:00
Lu Wang
f76003ecc4 .. 2013-01-24 22:21:06 +08:00
John Hewson
43ae72b9b0 removed version from usage 2013-01-23 15:02:11 +00:00
John Hewson
b1dc3eb11a enhanced version information 2013-01-23 12:29:59 +00:00
Lu Wang
342628ed03 .. 2013-01-19 17:17:12 +08:00
Lu Wang
59a571ac8a new param use-cropbox 2012-12-07 20:31:09 +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
d179b50147 working on util.h 2012-11-29 18:16:05 +08:00
Lu Wang
63287ce491 reorganize files 2012-11-29 17:28:05 +08:00
Lu Wang
b3dabae52a squeeze-widt-glyph is now default 2012-10-08 20:16:43 +08:00
Lu Wang
8b09338cad typo 2012-10-06 23:36:52 +08:00
Lu Wang
a67a74fd51 remove-unused-glyphs is now default 2012-10-06 20:44:08 +08:00
Lu Wang
091b623872 new option: remove unused glyphs 2012-10-05 23:38:17 +08:00
Lu Wang
2041c2d146 working on linear gradient 2012-10-03 02:19:40 +08:00
Lu Wang
2b06319207 TODO 2012-10-02 16:06:08 +08:00
Lu Wang
4090d79eac typo 2012-10-02 12:43:08 +08:00
Lu Wang
c8133d64e3 new option for fixing glyph width 2012-10-01 00:37:53 +08:00
Lu Wang
6e03e6d12a --fit-width/height 2012-09-27 00:17:56 +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
b8dff4ea0d hinting 2012-09-24 02:28:53 +08:00
Lu Wang
9e7f34bd5a working on external font hint tool 2012-09-23 20:25:22 +08:00
Lu Wang
b6ac8eb8f0 js 2012-09-23 13:04:29 +08:00
Lu Wang
9ed1931caa multiplier->8 2012-09-23 00:38:34 +08:00
Lu Wang
1c48a9a4e1 disable auto hint by default 2012-09-21 20:06:53 +08:00
Lu Wang
661b1aa92a tweaking font-size-multiplier and auto-hint 2012-09-21 18:12:14 +08:00
Lu Wang
acfcb62bfc disable auto-hint by default 2012-09-21 17:37:21 +08:00
Lu Wang
818bbc7f67 set font-size-multiplier to 1 2012-09-21 17:05:01 +08:00
Lu Wang
6b60c08c7e add 'auto-hint' 2012-09-21 16:51:13 +08:00
Lu Wang
79601b6605 fix output filename 2012-09-13 11:38:56 +08:00
Lu Wang
4b2b7be7cf add data-dir 2012-09-13 00:16:34 +08:00
Lu Wang
0a7d0f20a2 bahaviour with single-html & split-pages 2012-09-12 23:55:29 +08:00
Lu Wang
61cdce7e7d add manifest & split-pages 2012-09-12 23:26:14 +08:00
Lu Wang
3a5e776fa9 merging code 2012-09-11 22:08:55 +08:00
Lu Wang
4a908db655 fixed: cannot parse arguments with spaces; add namespace pdf2htmlEX 2012-09-11 21:52:46 +08:00
Lu Wang
6cb77ab57f remove boost header inclusion 2012-09-10 23:48:00 +08:00
Lu Wang
d49dbc3deb working on arg parsing 2012-09-10 22:44:19 +08:00
Lu Wang
03779406b8 finish arg parsing 2012-09-10 22:22:01 +08:00
Lu Wang
2cc7da786a working on getopt 2012-09-10 17:01:15 +08:00
Lu Wang
efd15e3735 rearrange files 2012-09-10 13:08:47 +08:00
Lu Wang
236d3ff668 rearrange files 2012-09-10 13:03:25 +08:00
Lu Wang
59fb41d708 use abort() instead of exit(-1) 2012-09-10 03:30:54 +08:00
Lu Wang
88bde718c5 fix tounicode 2012-09-10 02:38:40 +08:00
Lu Wang
02a735aa9f use mkdtemp instead of tmpnam 2012-09-10 02:22:49 +08:00
Lu Wang
ec6ce4d888 fix suffix 2012-09-10 02:07:35 +08:00
Lu Wang
2e3efcc964 fix temp dir 2012-09-10 01:23:28 +08:00
Lu Wang
8792527ef6 removing boost::filesystem 2012-09-10 01:18:09 +08:00
Lu Wang
16de2e5f5e buildable with gcc 4.4.6 2012-09-09 14:48:10 +08:00
Lu Wang
0eb3c5af99 working on new --tounicode 2012-09-09 01:49:47 +08:00
Lu Wang
94fe5f51a2 get rid of boost::algorithm 2012-09-08 01:18:15 +08:00
Lu Wang
c12e064f74 set default space_threshold as 1/8 2012-09-07 16:19:22 +08:00
Lu Wang
c82b140243 option 'space-as-offset' 2012-09-07 08:39:21 +08:00
Lu Wang
2c8134ab73 fix cmake; cross-platform tmp-dir 2012-09-06 16:28:49 +08:00
Lu Wang
79778e0ff3 add option 'decompose-ligature' 2012-09-06 15:09:47 +08:00
Lu Wang
e191f8127d removed 'optmized' option, use greedy method automatically 2012-09-06 14:37:09 +08:00
Lu Wang
2d558253a5 add an option 'optimize' 2012-09-05 16:19:01 +08:00
Lu Wang
5459447127 disable embed-base-font by default, as duplicated fonts are not detected now 2012-09-02 21:34:30 +08:00
Lu Wang
0ef68558ae added an option to embed local font for base 14 fonts 2012-08-31 15:27:17 +08:00
Lu Wang
a1fa24422d better space detection 2012-08-31 13:00:24 +08:00
Lu Wang
6916ffb91b unify asc/dsc for ff/chrome, need more work 2012-08-31 10:10:06 +08:00
Lu Wang
d36a227a9e .. 2012-08-28 18:27:45 +08:00
Lu Wang
1642b4a37e disable toUnicode for non-ttf fonts by default 2012-08-27 23:09:01 +08:00
Lu Wang
db3a54159e clean code 2012-08-21 20:37:25 +02:00
Lu Wang
fb449223dd add 'font-size-multiplier', remove unused 'metadata' 2012-08-20 22:09:54 +02:00
Lu Wang
e621ae6716 move data files to share/ 2012-08-17 18:13:21 +08:00
Lu Wang
b68136c428 re-fixed the issue 2012-08-16 15:54:50 +08:00
Lu Wang
63734c608c fix filename path issue 2012-08-16 15:41:32 +08:00
Lu Wang
a8afb70fb8 change dpi options, add 'zoom' option 2012-08-15 21:26:13 +08:00
Lu Wang
29d41573ef add 'clean_tmp' option 2012-08-15 15:43:49 +08:00
Lu Wang
63dd9b3e27 clean code, solve the infinite-writing problem when tmp_dir == dest_dir 2012-08-15 15:29:35 +08:00
Lu Wang
dfb258c7a0 working on single HTML 2012-08-15 02:54:39 +08:00
Lu Wang
29a2d35202 working on single-html 2012-08-14 20:30:18 +08:00
Lu Wang
ed130cee60 add the 'dest-dir' option 2012-08-14 18:12:58 +08:00
Lu Wang
0182ea303b clean code 2012-08-14 17:50:16 +08:00
Lu Wang
b406fb4e13 better cmake, better installation 2012-08-14 13:56:41 +08:00