1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-12-22 04:50:09 +00:00

Changelog

This commit is contained in:
Lu Wang 2012-10-06 21:14:22 +08:00
parent a67a74fd51
commit 6713edf772
3 changed files with 7 additions and 3 deletions

View File

@ -1,6 +1,12 @@
Latest v0.5
* New option: --remove-unused-glyph
* New options: --stretch-narrow-glyph, --squeeze-wide-glyph
* Fixed glyph width adjusting
* Fixed a memory issue
* Working on css-draw
* Working on integrating background-renderer, preparing for svg renderer in
the future
v0.4
2012.09.26

2
TODO
View File

@ -1,5 +1,3 @@
remove unused glyphs
don't dump image when there is nothing
Integrate splash/cairo

View File

@ -13,7 +13,7 @@ with open('out.html','w') as outf:
if not f.lower().endswith('.pdf'):
continue
print f
if os.system('pdf2htmlEX --dest-dir html --auto-hint=1 --external-hint-tool="ttfautohint" --remove-unused-glyph 1 "%s/%s"' % (DIR,f)) != 0:
if os.system('pdf2htmlEX --dest-dir html --auto-hint=1 --external-hint-tool="ttfautohint" "%s/%s"' % (DIR,f)) != 0:
print "error on ", f
sys.exit(-1)