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

237 Commits

Author SHA1 Message Date
Michele Redolfi
ea1878e233 caching of height / width; rendering optimizations while zooming 2013-07-16 20:19:25 +02:00
Michele Redolfi
43c330f9b7 basic zoom 0.1 2013-07-16 17:42:02 +02:00
Daniel Bonniot
b78cdd0a9d Use scrollHeight to find out how to scroll to the end for ctrl-end.
https://github.com/coolwanglu/pdf2htmlEX/issues/180
2013-07-14 16:34:02 +02:00
joshweinstein
8cc3852b26 Replaced errant colon with a semicolon. 2013-07-05 15:20:45 -04:00
Daniel Bonniot
08ba884b7f Simplify the implementation of ctrl-home, we don't need to care about pages in this case.
https://github.com/coolwanglu/pdf2htmlEX/issues/180
2013-07-03 22:16:41 +02:00
Daniel Bonniot
972c92540e Use return in the non-handled key cases, and call preventDefault() in a single place, as suggested.
https://github.com/coolwanglu/pdf2htmlEX/issues/180
2013-07-03 22:02:59 +02:00
Daniel Bonniot
4bde91423d https://github.com/coolwanglu/pdf2htmlEX/issues/180
Scroll pages with alt-page up/down, not page up/down.

Implement screen scrolling for page up/down.

Fix comment about which key is up (code was right, but comments were inverted :D)
2013-07-03 12:16:32 +02:00
Daniel Bonniot
d9bd8106fe https://github.com/coolwanglu/pdf2htmlEX/issues/180
Call e.preventDefault() when the key was handled.
2013-07-03 11:27:12 +02:00
Daniel Bonniot
40dc097ebd https://github.com/coolwanglu/pdf2htmlEX/issues/180
Better name for the key handler.
2013-07-03 11:22:42 +02:00
Daniel Bonniot
316d547ac0 https://github.com/coolwanglu/pdf2htmlEX/issues/180
Add key handler, and implement page up, page down, ctrl-home and ctrl-end.

First commit on github and first javascript coding :)
2013-07-03 09:57:00 +02:00
Lu Wang
0afced18bd disable auto ligature in ff 2013-06-26 20:03:58 +08:00
Lu Wang
b71efb7f4e fix .data() 2013-06-13 23:08:47 +08:00
Lu Wang
3b3efb6845 add dollar sign for jquery objects 2013-06-13 23:00:42 +08:00
Michele Redolfi
25a3273bac event triggering removed 2013-06-13 14:40:50 +02:00
Michele Redolfi
51dd4fdecd load_page idx now starts from 1; pages_loading move to Viewer instance; fixes; pdf2htmlEX.js.in executable bit removed; 2013-06-13 12:39:52 +02:00
Michele Redolfi
d5ade42d5a lazy load with deferrered scroll_to 2013-06-12 17:53:14 +02:00
Lu Wang
dd41565c3c dump empty frames for split-pages 2013-06-09 22:19:12 +08:00
Lu Wang
73d84524f8 override default unicode bidi for RTL languages like Hebrew 2013-05-31 22:17:14 +08:00
Lu Wang
c4757c7fae strict mode in js 2013-05-30 02:31:48 +08:00
Chris Cinelli
2d53c6174a Updated default viewer name 2013-05-22 23:38:07 -06:00
Chris Cinelli
0310176601 Update manifest to provide a object accessible to parent when the HTML is in an iframe 2013-05-21 18:27:53 -06:00
Lu Wang
7c12b228c2 disable dragging on background images 2013-05-06 19:53:56 +08:00
Lu Wang
26eba18e83 minor css improvements 2013-05-04 19:31:07 +08:00
Lu Wang
0cd9405565 simple clipping 2013-05-04 19:26:26 +08:00
Lu Wang
7ac858f4b8 .. 2013-05-02 20:27:45 +08:00
Lu Wang
83b25c091b pdf2htmlEX.js: reveal prev and next page for a better reading experience 2013-05-02 16:45:00 +08:00
Lu Wang
11f3bb715e changelog 2013-05-02 16:25:39 +08:00
Lu Wang
64279bd26d --page-filename; a default HTML when --split-pages is on; Fixes #125 2013-05-02 16:09:42 +08:00
Lu Wang
3d0b872a7b .. 2013-05-02 14:38:56 +08:00
Lu Wang
0712b39659 .. 2013-05-01 21:56:02 +08:00
Lu Wang
ca69f28a4f UI tweaking; --remove-unused-glyph is off by default 2013-05-01 20:01:24 +08:00
Lu Wang
d4d85eac15 fancy css 2013-05-01 17:14:29 +08:00
Lu Wang
84988c7c28 support multiple distribution for PPA 2013-04-30 12:20:31 +08:00
Lu Wang
7e5fc3080d vim modeline 2013-04-06 17:13:19 +08:00
Lu Wang
a641bee616 .. 2013-04-04 22:13:08 +08:00
Lu Wang
395d02e802 add x-ua-compatible 2013-04-04 21:28:30 +08:00
Lu Wang
13873d990f .. 2013-03-31 17:41:38 +08:00
Lu Wang
bd1c9c138f fallback mode 2013-03-09 01:45:13 +08:00
Lu Wang
3ed576b5c8 disable backgruond image selection and dragging 2013-03-01 14:02:11 +08:00
Lu Wang
34a53f9d14 use img instead of background-image for better printing 2013-03-01 13:24:29 +08:00
Lu Wang
4cf8ffb95b hide annotations for print 2013-03-01 00:00:06 +08:00
Lu Wang
f982a6964c background image css for print 2013-02-28 22:37:15 +08:00
Lu Wang
80fc92defe fix css 2013-02-28 02:52:00 +08:00
Lu Wang
c6630561e6 fix css 2013-02-28 02:17:33 +08:00
Lu Wang
eb0a1ef8a3 consistent css class names 2013-02-28 02:11:34 +08:00
Lu Wang
d59f95c54a css comments 2013-02-24 10:41:51 +08:00
Lu Wang
92103f8696 css comments 2013-02-22 16:52:11 +08:00
Lu Wang
2f26531130 padding 0 for #pdf-main 2013-02-22 16:34:36 +08:00
Lu Wang
285b4c052e .. 2013-02-17 19:00:37 +08:00
Lu Wang
3bc732ae0f ugly fix for FF 2013-02-06 20:52:53 +08:00
Lu Wang
bc80a79ac0 .. 2013-02-06 20:29:48 +08:00
Lu Wang
b98ab8781e .. 2013-02-06 19:52:34 +08:00
Lu Wang
33db881c46 fix printing for Firefox 2013-02-06 01:54:15 +08:00
Lu Wang
864cfdda35 print background images in Chrome 2013-02-06 01:09:56 +08:00
Lu Wang
46c1161b50 working on printing 2013-02-06 01:05:58 +08:00
Lu Wang
31861e7acb color managers 2013-02-05 21:56:19 +08:00
Lu Wang
dfa0d29e0a css class name constants 2013-02-05 18:19:25 +08:00
Lu Wang
d95b0bc5ff .. 2013-02-03 01:22:01 +08:00
Lu Wang
ffb7d9517d share/LICENSE 2013-02-03 01:21:25 +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
9efa67681b outline is closed by default, and will be opened by pdf2htmlEX.js if not empty 2013-01-29 22:23:59 +08:00
Lu Wang
f3b31362e1 .. 2013-01-29 02:42:39 +08:00
Lu Wang
c00a83723c fix css, don't increase specificity 2013-01-29 02:35:34 +08:00
Lu Wang
e09a4cd78e better sidebar on/off class; precise jump from outline 2013-01-29 00:38:07 +08:00
Lu Wang
f45e650e7d fix link jump from outline 2013-01-28 23:58:00 +08:00
Lu Wang
821ae624d2 auto hide sidebar if empty 2013-01-28 22:11:42 +08:00
Lu Wang
f3b6c2c889 tweak css for outline 2013-01-28 21:38:21 +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
d38697d890 refactor file objects 2013-01-28 18:46:44 +08:00
Lu Wang
4d94c1d072 fix build with git version of poppler 2013-01-28 18:16:01 +08:00
Lu Wang
a543dfac48 comments for css classes 2013-01-19 17:24:30 +08:00
Lu Wang
2e0b9c6721 should fix a span with only a space 2012-11-30 17:59:36 +08:00
Lu Wang
575c959c39 space placeholder are below text now 2012-10-08 16:29:21 +08:00
Lu Wang
baa375f8ec meta info 2012-10-05 11:47:57 +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
9990046263 more types or links 2012-09-26 16:00:55 +08:00
Lu Wang
52f1e50797 tweaking js 2012-09-26 00:27:58 +08:00
Lu Wang
9cbfbe390d tweak 2012-09-26 00:09:15 +08:00
Lu Wang
da85585d3f tweaking appearance 2012-09-26 00:06:41 +08:00
Lu Wang
f4613582e8 change design of pdf2htmlEX 2012-09-25 22:40:21 +08:00
Lu Wang
0532ad4274 .. 2012-09-25 22:32:17 +08:00
Lu Wang
c4d415dbba improve js 2012-09-25 22:24:36 +08:00
Lu Wang
b969b5adfe page drop shadow 2012-09-25 21:58:02 +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
157bf2e3e6 bug in js event handler 2012-09-24 20:20:34 +08:00
Lu Wang
8ab03df921 manpage 2012-09-24 16:43:24 +08:00
Lu Wang
7d4ad75b5d copyright 2012-09-24 00:42:04 +08:00
Lu Wang
baddd64c2f disable js zoom 2012-09-23 17:26:12 +08:00
Lu Wang
b6ac8eb8f0 js 2012-09-23 13:04:29 +08:00
Lu Wang
cc7babd901 js 2012-09-23 00:24:17 +08:00
Lu Wang
0774e4a063 zoom by js 2012-09-23 00:17:30 +08:00
Lu Wang
dce8fd9949 .. 2012-09-22 23:14:19 +08:00
Lu Wang
ca0b3e6cac single js 2012-09-22 22:47:44 +08:00
Lu Wang
ead9f06281 generate 'none' for id_matrix 2012-09-22 20:56:53 +08:00
Lu Wang
6b60c08c7e add 'auto-hint' 2012-09-21 16:51:13 +08:00
Lu Wang
d17e340643 fix space height 2012-09-19 12:24:13 +08:00
Lu Wang
356ee117f1 fix asc/dsec, but breaking '_', need create glyph for ' ' 2012-09-19 03:50:00 +08:00
Lu Wang
c55fee198e fix link 2012-09-19 02:13:26 +08:00
Lu Wang
d63ef17538 improve scroll.js 2012-09-18 15:27:17 +08:00
Lu Wang
1765dac680 basic support for annot link 2012-09-16 18:30:34 +08:00
Lu Wang
602e03771c move comment below doctype, fix for IE 2012-09-13 14:30:03 +08:00
Lu Wang
5d3136668f fix base.css 2012-09-13 12:19:20 +08:00
Lu Wang
3bc62dfe9d fix js: hide page in the beginning 2012-09-13 00:49:02 +08:00
Lu Wang
4b2b7be7cf add data-dir 2012-09-13 00:16:34 +08:00
Lu Wang
61cdce7e7d add manifest & split-pages 2012-09-12 23:26:14 +08:00
Lu Wang
812a41bdba .. 2012-09-11 22:18:31 +08:00
Lu Wang
0153a8bfc6 fix tail 2012-09-11 22:16:52 +08:00
Lu Wang
068f5b19a8 fix css 2012-09-11 22:12:14 +08:00
Lu Wang
b837c6173c fix js 2012-09-11 22:11:00 +08:00
Lu Wang
3a5e776fa9 merging code 2012-09-11 22:08:55 +08:00
Hongliang TIAN
6579b54309 Silent Chrome warning by using MIME type font/opentype 2012-09-11 22:02:57 +08:00
Hongliang TIAN
19e4b97cf6 Smooth scrolling 2012-09-11 22:02:57 +08:00
Hongliang TIAN
90d97e4df2 Silent Chrome warning by using MIME type font/opentype 2012-09-11 21:21:38 +08:00
Hongliang TIAN
c2827e2235 Smooth scrolling 2012-09-11 21:04:55 +08:00
Lu Wang
ab9dd287e6 .. 2012-09-07 00:04:22 +08:00
Lu Wang
d1d51787a8 generated pages should work when js is disabled 2012-09-06 23:54:22 +08:00
Lu Wang
4543fc9dbc remove scripts, link to fontforge directly 2012-09-03 20:57:14 +08:00
Lu Wang
14a137b449 fix unify.pe 2012-08-31 17:06:19 +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
e49459d21f better asc/des handling 2012-08-31 12:45:16 +08:00
Lu Wang
e9b353c3de do not round the coordinates 2012-08-30 23:36:30 +08:00
Lu Wang
4b1aff0da5 Better solution for ascent/descent
but need more work when:
- different styles in the same line
- non-embedded fonts (that we cannot find the correct ascent/descent)
2012-08-30 20:08:42 +08:00
Lu Wang
02d5cbf244 better solution to the ascent/descent problem 2012-08-30 08:39:49 +08:00
Lu Wang
6f87affd82 corrected vertical position of LaTeX Math fonts, but this may hurt the font? just wait for bugs 2012-08-30 01:01:45 +08:00
Lu Wang
1ee8518096 seems better font re-encoding 2012-08-27 15:56:16 +08:00
Lu Wang
c8d942b511 update css 2012-08-27 11:22:20 +08:00
Lu Wang
cde35df1a1 add a class for rise 2012-08-24 19:40:43 +02:00
Lu Wang
1801ec52df do not use hacky zero font size 2012-08-24 19:15:15 +02:00
Lu Wang
f07fe3089c better accuracy with new positioning method, but break text selection in Chrome 2012-08-23 18:29:40 +02:00
Lu Wang
6ee3d2b949 better line merging 2012-08-19 13:05:14 +02:00
Lu Wang
922ae10132 Merge branch 'devv' of github.com:coolwanglu/pdf2htmlEX into devv 2012-08-18 22:11:35 +08:00
Lu Wang
e621ae6716 move data files to share/ 2012-08-17 18:13:21 +08:00