mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-22 04:50:09 +00:00
typo
This commit is contained in:
parent
4ce7fa3400
commit
b6f5855533
@ -47,7 +47,7 @@ var pdf2htmlEX = (function(){
|
||||
|
||||
this.n = parseInt(this.$p.data('page-no'), 16);
|
||||
this.$b = $('.'+CSS_CLASS_NAMES['page_content_box'], this.$p);
|
||||
this.$d = this.$p.parents('.'+CSS_CLASS_NAMES['page_decoration']);
|
||||
this.$d = this.$p.parent('.'+CSS_CLASS_NAMES['page_decoration']);
|
||||
|
||||
this.h = this.$p.height(); // Need to make rescale work when page_content_box is not loaded, yet
|
||||
this.w = this.$p.width();
|
||||
|
@ -13,7 +13,7 @@ with open('out.html','w') as outf:
|
||||
if not f.lower().endswith('.pdf'):
|
||||
continue
|
||||
print f
|
||||
if os.system('pdf2htmlEX -l 10 --optimize-text 1 --no-drm 1 --fit-width 1024 --dest-dir html --external-hint-tool="ttfautohint" "%s/%s"' % (DIR,f)) != 0:
|
||||
if os.system('pdf2htmlEX -l 10 --no-drm 1 --fit-width 1024 --dest-dir html --external-hint-tool="ttfautohint" "%s/%s"' % (DIR,f)) != 0:
|
||||
print "error on ", f
|
||||
sys.exit(-1)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user