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

60 Commits

Author SHA1 Message Date
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
5842d2279d separate TextLineBuffer 2012-12-11 20:48:01 +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
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
b58df8cc16 check compiler flag 2012-10-12 22:39:58 +08:00
Lu Wang
250d23c712 remove hypot 2012-10-06 15:06:26 +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
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