From 19db1a908da1fce2251b197b165e30bad6437142 Mon Sep 17 00:00:00 2001 From: Lu Wang Date: Wed, 3 Oct 2012 03:37:00 +0800 Subject: [PATCH] test.py --- test/test.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/test.py b/test/test.py index 6ccdf11..bfa9068 100755 --- a/test/test.py +++ b/test/test.py @@ -11,7 +11,8 @@ with open('out.html','w') as outf: if not f.lower().endswith('.pdf'): continue print f - os.system('pdf2htmlEX --dest-dir html --auto-hint=1 --external-hint-tool="ttfautohint" "%s/%s"' % (DIR,f)) + #os.system('pdf2htmlEX --dest-dir html --auto-hint=1 --external-hint-tool="ttfautohint" "%s/%s"' % (DIR,f)) + os.system('pdf2htmlEX --dest-dir html --process-nontext 0 --css-draw 1 "%s/%s"' % (DIR,f)) ff = f[:-3] outf.write('%s
' % (ff,ff)) outf.flush();