1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-09-19 21:50:08 +00:00
Commit Graph

51 Commits

Author SHA1 Message Date
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
1bfe86187e working on CSS draw 2012-10-02 01:59:04 +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
eafa6986ea multi font in the same line 2012-09-24 02:35:06 +08:00
Lu Wang
ca0b3e6cac single js 2012-09-22 22:47:44 +08:00
Lu Wang
1c5ea6daee fixe multiplier, don't make it too big 2012-09-21 21:02:54 +08:00
Lu Wang
011aab96bc typo 2012-09-18 16:02:17 +08:00
Lu Wang
a28d9f8a20 fix for IE, use new em size 2012-09-13 15:01:20 +08:00
Lu Wang
61cdce7e7d add manifest & split-pages 2012-09-12 23:26:14 +08:00
Lu Wang
16de2e5f5e buildable with gcc 4.4.6 2012-09-09 14:48:10 +08:00
Lu Wang
6079a05e34 first implemenation of LineBuffer 2012-09-04 23:33:15 +08:00
Lu Wang
0cfd146173 fix some states depends on draw_scale that are not updated correctly 2012-09-04 12:27:06 +08:00
Lu Wang
d12b8d086b fixed a line merging bug 2012-08-31 23:46:59 +08:00
Lu Wang
4e13bece0e fix using wrong abs() bug 2012-08-31 23:14:05 +08:00
Lu Wang
a1fa24422d better space detection 2012-08-31 13:00:24 +08:00
Lu Wang
c99f725c72 unify asc/dsc for FF/Chrome 2012-08-31 10:24:26 +08:00
Lu Wang
1492d815ad better positioning
need to check:
Q1Q2.pdf on FF
simple.pdf
2012-08-31 01:08:31 +08:00
Lu Wang
f661aa5d8a use real asc/dec of the extracted font; cache line for multiple font/size 2012-08-31 00:25:05 +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
1642b4a37e disable toUnicode for non-ttf fonts by default 2012-08-27 23:09:01 +08:00
Lu Wang
1ee8518096 seems better font re-encoding 2012-08-27 15:56:16 +08:00
Lu Wang
32fd0c6fdf remove debug code 2012-08-24 20:21:34 +02:00
Lu Wang
6e0b487ff5 fixed a padding bug 2012-08-24 20:21:04 +02:00
Lu Wang
cde35df1a1 add a class for rise 2012-08-24 19:40:43 +02:00
Lu Wang
beb1f7fbb7 .. 2012-08-24 19:19:09 +02:00
Lu Wang
1801ec52df do not use hacky zero font size 2012-08-24 19:15:15 +02:00
Lu Wang
17c44e8cb0 working on new positioning 2012-08-23 23:07:01 +02:00
Lu Wang
5892b2438a better positioning 2012-08-23 22:36:27 +02:00
Lu Wang
ec87a51a75 .. 2012-08-23 21:47:26 +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
a17cb3c0e9 install default values after css file is opened; don't ignore default values, as it could be nested span 2012-08-20 22:43:38 +02:00
Lu Wang
fb449223dd add 'font-size-multiplier', remove unused 'metadata' 2012-08-20 22:09:54 +02:00
Lu Wang
88cf573dff do not enable 10x now 2012-08-19 23:42:56 +02:00
Lu Wang
a5757d578b don't mess with draw_ty when we cannot merge the line 2012-08-19 23:01:21 +02:00
Lu Wang
3cdde4bce7 better line merging 2012-08-19 22:30:05 +02:00
Lu Wang
6ee3d2b949 better line merging 2012-08-19 13:05:14 +02:00
Lu Wang
4c05a64513 working on harder line merging 2012-08-19 12:02:18 +02:00
Lu Wang
4c20fc6eee disable font change using span; adjust hightlight color 2012-08-16 22:25:02 +08:00
Lu Wang
9ed6e9c325 integrate negative whtiespace; restructru prepare_line 2012-08-16 20:26:09 +08:00
Lu Wang
dc0fd477d8 [experimental], styling change within a line 2012-08-16 18:11:22 +08:00
Lu Wang
ad6d6a31a0 prepare sytle changing withint a line using <span> 2012-08-16 16:20:16 +08:00
Lu Wang
820c37607e enable shift-left again, bug fixed 2012-08-16 14:00:30 +08:00
Lu Wang
0ebde85465 text pos state bug 2012-08-15 21:51:39 +08:00
Lu Wang
87204a9e9e clean code; add support for letter-spacing, word-spacing, horizontal-scale and rise 2012-08-15 18:48:11 +08:00
Lu Wang
04eecc6cd3 clean code: namespace 2012-08-14 17:13:29 +08:00