Lu Wang
|
7ee0cc0111
|
add class for height
|
2012-09-16 15:53:41 +08:00 |
|
Lu Wang
|
bae60e96c7
|
enable annotaion again... need check before disabling...
|
2012-09-16 14:04:43 +08:00 |
|
Lu Wang
|
f02e1d4e1a
|
don't hurt em size..breaking IE, will fix this later
|
2012-09-14 17:53:54 +08:00 |
|
Lu Wang
|
4d996a14a3
|
rounding float point numbers
|
2012-09-14 15:19:53 +08:00 |
|
Lu Wang
|
ec57ec7ef3
|
rounding float point numbers
|
2012-09-14 15:18:29 +08:00 |
|
Lu Wang
|
4a5c3e1d3e
|
show warning when file cannot be opened
|
2012-09-14 14:53:24 +08:00 |
|
Lu Wang
|
a28d9f8a20
|
fix for IE, use new em size
|
2012-09-13 15:01:20 +08:00 |
|
Lu Wang
|
f6508fc86e
|
remove debug code...oops
|
2012-09-13 01:41:57 +08:00 |
|
Lu Wang
|
27df68ffe1
|
fix for split-pages
|
2012-09-13 01:30:51 +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
|
812a41bdba
|
..
|
2012-09-11 22:18:31 +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 |
|
Lu Wang
|
4a908db655
|
fixed: cannot parse arguments with spaces; add namespace pdf2htmlEX
|
2012-09-11 21:52:46 +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
|
64a765e90f
|
fix a potential dangerous pointer
|
2012-09-11 16:37:41 +08:00 |
|
Lu Wang
|
70c287a565
|
working on bugs
|
2012-09-11 12:26:54 +08:00 |
|
Lu Wang
|
e087a42c6b
|
..
|
2012-09-11 03:01:02 +08:00 |
|
Lu Wang
|
181d0242cc
|
successfully built with CYGWIN
|
2012-09-11 01:53:33 +08:00 |
|
Lu Wang
|
efd15e3735
|
rearrange files
|
2012-09-10 13:08:47 +08:00 |
|
Lu Wang
|
919658fc2b
|
fix namespace
|
2012-09-10 03:03:21 +08:00 |
|
Lu Wang
|
88bde718c5
|
fix tounicode
|
2012-09-10 02:38:40 +08:00 |
|
Lu Wang
|
a9cc5b7031
|
remove boost::algorithm
|
2012-09-10 02:26:10 +08:00 |
|
Lu Wang
|
ec6ce4d888
|
fix suffix
|
2012-09-10 02:07:35 +08:00 |
|
Lu Wang
|
f860fb59e8
|
remove boost::filesystem
|
2012-09-10 01:40:37 +08:00 |
|
Lu Wang
|
b3ee260c6c
|
fix font path
|
2012-09-10 01:27:32 +08:00 |
|
Lu Wang
|
52df16011f
|
removing boost::filesystem
|
2012-09-10 00:21:46 +08:00 |
|
Lu Wang
|
16de2e5f5e
|
buildable with gcc 4.4.6
|
2012-09-09 14:48:10 +08:00 |
|
Lu Wang
|
3de65a5156
|
working on relaxing c++11 dependency
|
2012-09-09 13:58:15 +08:00 |
|
Lu Wang
|
4baba1fa3c
|
always-aply-tounicode now covers cid type0
|
2012-09-08 10:54:34 +08:00 |
|
Lu Wang
|
5cf7f2fdf2
|
add encoding confliction warning in the 2nd phase
|
2012-09-08 10:24:04 +08:00 |
|
Lu Wang
|
94fe5f51a2
|
get rid of boost::algorithm
|
2012-09-08 01:18:15 +08:00 |
|
Lu Wang
|
296e91c951
|
optimize code; add some scope guards
|
2012-09-08 01:09:09 +08:00 |
|
Lu Wang
|
ff9b079a4f
|
git rid of boost::format
|
2012-09-08 00:38:41 +08:00 |
|
Lu Wang
|
c82b140243
|
option 'space-as-offset'
|
2012-09-07 08:39:21 +08:00 |
|
Lu Wang
|
e4ea4a975b
|
disable annotation
|
2012-09-07 08:13:45 +08:00 |
|
Lu Wang
|
82dd71c803
|
slightly better memory management
|
2012-09-07 07:55:10 +08:00 |
|
Lu Wang
|
3b8452e717
|
README
|
2012-09-07 01:33:00 +08:00 |
|
Lu Wang
|
45b54d18c4
|
add a font preprocessor
|
2012-09-07 00:58:23 +08:00 |
|
Lu Wang
|
ef339371c4
|
fix state optimization
|
2012-09-06 19:05: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
|
5986cee893
|
fixed a encoding bug
|
2012-09-06 01:01:47 +08:00 |
|
Lu Wang
|
96a87f8976
|
working on encoding
|
2012-09-06 00:07:21 +08:00 |
|
Lu Wang
|
27b11243bd
|
disable image.cc
|
2012-09-05 21:01:51 +08:00 |
|
Lu Wang
|
5adccb8b58
|
working on cmake
|
2012-09-05 18:43:37 +08:00 |
|
Lu Wang
|
2d558253a5
|
add an option 'optimize'
|
2012-09-05 16:19:01 +08:00 |
|
Lu Wang
|
bbe9b99b4e
|
optimize states in HTML
|
2012-09-05 15:13:21 +08:00 |
|
Lu Wang
|
6079a05e34
|
first implemenation of LineBuffer
|
2012-09-04 23:33:15 +08:00 |
|
Lu Wang
|
aed5f3ba04
|
clean code
|
2012-09-04 12:54:47 +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
|
8bfd45d4d1
|
build ps encodnig directly without read/write fiels
|
2012-09-03 22:32:56 +08:00 |
|
Lu Wang
|
ba305ae9fd
|
disable poppler log function
|
2012-09-03 21:59:39 +08:00 |
|
Lu Wang
|
069a072642
|
fixing working with fontforge
|
2012-09-03 21:54:48 +08:00 |
|
Lu Wang
|
4543fc9dbc
|
remove scripts, link to fontforge directly
|
2012-09-03 20:57:14 +08:00 |
|
Lu Wang
|
c68974c5e5
|
..
|
2012-09-02 02:25:54 +08:00 |
|
Lu Wang
|
5cf21b4fb7
|
added a warning for conflicted font encoding
|
2012-09-02 02:22:16 +08:00 |
|
Lu Wang
|
d12b8d086b
|
fixed a line merging bug
|
2012-08-31 23:46:59 +08:00 |
|
Lu Wang
|
5cf5a1c725
|
fix use_to_unicode
|
2012-08-31 23:23:03 +08:00 |
|
Lu Wang
|
4e13bece0e
|
fix using wrong abs() bug
|
2012-08-31 23:14:05 +08:00 |
|
Lu Wang
|
0e9cc3444e
|
added an option to embed external fonts
|
2012-08-31 17:47:37 +08:00 |
|
Lu Wang
|
14a137b449
|
fix unify.pe
|
2012-08-31 17:06:19 +08:00 |
|
Lu Wang
|
9a2047777f
|
use asc/dec of local matched font if possible
|
2012-08-31 15:50:14 +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
|
e49459d21f
|
better asc/des handling
|
2012-08-31 12:45:16 +08:00 |
|
Lu Wang
|
c99f725c72
|
unify asc/dsc for FF/Chrome
|
2012-08-31 10:24:26 +08:00 |
|
Lu Wang
|
6916ffb91b
|
unify asc/dsc for ff/chrome, need more work
|
2012-08-31 10:10:06 +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
|
cfc91c2a3f
|
..
|
2012-08-28 19:00:30 +08:00 |
|
Lu Wang
|
f75ee118ea
|
fixed re-encoding for cid nonttf fonts
|
2012-08-28 00:27:12 +08:00 |
|
Lu Wang
|
f460476c0f
|
best solution so far, need more check of CID fonts
|
2012-08-28 00:14:11 +08:00 |
|
Lu Wang
|
28eb708339
|
a little bit better encoding
|
2012-08-28 00:06:09 +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
|
92c929777e
|
working...
|
2012-08-27 07:26:30 +08:00 |
|
Lu Wang
|
a65c4924c2
|
better bold/italic recognition
|
2012-08-27 07:17:48 +08:00 |
|
Lu Wang
|
0103e02d70
|
still working...
|
2012-08-27 07:10:21 +08:00 |
|
Lu Wang
|
09cf5f6d6a
|
working on font encoding
|
2012-08-27 06:51:35 +08:00 |
|
Lu Wang
|
adf6d686c1
|
Merge branch 'exp' into devv
|
2012-08-26 23:57:56 +08:00 |
|
Lu Wang
|
a907cda379
|
working on font encoding
|
2012-08-26 23:56:38 +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
|
34b12b774c
|
Merge branch 'devv' into exp
|
2012-08-24 09:10:51 +02:00 |
|
Lu Wang
|
d920cbdc83
|
should get the mapping without ToUnicode, instead of disabling it
|
2012-08-24 09:10:45 +02:00 |
|
Lu Wang
|
3506805092
|
..
|
2012-08-24 08:21:20 +02:00 |
|
Lu Wang
|
1feaa11ecb
|
Merge branch 'devv' into exp
|
2012-08-23 23:26:45 +02:00 |
|
Lu Wang
|
65ad038459
|
..
|
2012-08-23 23:26:41 +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
|
7603f3cb88
|
Merge branch 'devv' into exp
|
2012-08-23 21:30:43 +02:00 |
|
Lu Wang
|
4fec08e764
|
better font processing
|
2012-08-23 21:30:37 +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
|
87ae148179
|
..
|
2012-08-21 22:34:39 +02:00 |
|
Lu Wang
|
e9f48e7480
|
don't write double in scientific notation
|
2012-08-21 22:22:56 +02:00 |
|
Lu Wang
|
62d29db121
|
..
|
2012-08-21 21:50:52 +02:00 |
|
Lu Wang
|
737f22a391
|
leave space for illegal unicodes
|
2012-08-21 21:44:48 +02:00 |
|
Lu Wang
|
58beb7a00b
|
better support for CID truetype font
|
2012-08-21 21:31:26 +02:00 |
|
Lu Wang
|
db3a54159e
|
clean code
|
2012-08-21 20:37:25 +02:00 |
|
Lu Wang
|
c9aec8d3b6
|
working on cid trutype
|
2012-08-21 07:29:40 +02:00 |
|
Lu Wang
|
45d90ea7d6
|
still need work for cid truetype
|
2012-08-21 00:32:03 +02:00 |
|
Lu Wang
|
abdc2f3da4
|
..
|
2012-08-21 00:23:23 +02:00 |
|
Lu Wang
|
53597cc288
|
remove default value
|
2012-08-21 00:20:20 +02:00 |
|
Lu Wang
|
f660464a7b
|
..
|
2012-08-20 23:59:02 +02:00 |
|
Lu Wang
|
cab38518de
|
working on cid truetype
|
2012-08-20 23:48:21 +02:00 |
|
Lu Wang
|
b40782d800
|
correct a NULL_FILENAME bug
|
2012-08-20 22:50:07 +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
|
188ce4f997
|
..
|
2012-08-19 22:50:28 +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
|
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 |
|
Lu Wang
|
bcde37feaf
|
disable drawimage
|
2012-08-17 02:09:19 +08:00 |
|
Lu Wang
|
d876a2319a
|
check result of fontforge
|
2012-08-16 22:36:52 +08: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
|
5882a5e288
|
fixed a tm recognition bug
|
2012-08-16 14:24:38 +08:00 |
|
Lu Wang
|
2906e89fec
|
disable debug output
|
2012-08-16 14:14:01 +08:00 |
|
Lu Wang
|
820c37607e
|
enable shift-left again, bug fixed
|
2012-08-16 14:00:30 +08:00 |
|
Lu Wang
|
b68b421578
|
temporarily disable shift-left due to cur_ty bug
|
2012-08-16 13:46:48 +08:00 |
|
Lu Wang
|
4f49f6b795
|
fixed bugs of font & offset
|
2012-08-16 13:24:22 +08:00 |
|
Lu Wang
|
3b44d3059c
|
shit left within a line
|
2012-08-16 12:59:31 +08:00 |
|
Lu Wang
|
0ebde85465
|
text pos state bug
|
2012-08-15 21:51:39 +08:00 |
|
Lu Wang
|
a8afb70fb8
|
change dpi options, add 'zoom' option
|
2012-08-15 21:26:13 +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
|
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
|
b21042021b
|
clean code, working on tmp_dir
|
2012-08-15 14:27:59 +08:00 |
|
Lu Wang
|
27d99ebcf5
|
clean tmp files
|
2012-08-15 12:27:41 +08:00 |
|
Lu Wang
|
5c2fa8ead1
|
..
|
2012-08-15 11:15:33 +08:00 |
|
Lu Wang
|
dfb258c7a0
|
working on single HTML
|
2012-08-15 02:54:39 +08:00 |
|
Lu Wang
|
58eaeb8f22
|
font embedding
|
2012-08-15 02:46:53 +08:00 |
|
Lu Wang
|
5a157def7e
|
background image embedding works now
|
2012-08-15 02:28:19 +08:00 |
|
Lu Wang
|
7c344bc2e4
|
working on base64
|
2012-08-14 21:48:57 +08:00 |
|
Lu Wang
|
1bee39547e
|
working on base64
|
2012-08-14 21:23:33 +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
|
04eecc6cd3
|
clean code: namespace
|
2012-08-14 17:13:29 +08:00 |
|
Lu Wang
|
5f7f28a41f
|
better file structure
|
2012-08-14 16:23:15 +08:00 |
|
Lu Wang
|
0982bf8b34
|
split HTMLRenderer.cc
|
2012-08-14 14:35:55 +08:00 |
|