avoid CMap.upr

git-svn-id: https://pdfminerr.googlecode.com/svn/trunk/pdfminer@26 1aa58f4a-7d42-0410-adbc-911cccaed67c
pull/1/head
yusuke.shinyama.dummy 2008-04-28 12:08:12 +00:00
parent 5b8874ff05
commit d30248029b
1 changed files with 1 additions and 0 deletions

View File

@ -24,6 +24,7 @@ def convert_cmap(files, cmapdir, cdbcmapdir, force=False):
from cmap import CMapDB
CMapDB.initialize(cmapdir)
for fname in files:
if fname.endswith('.upr'): continue
cmapname = os.path.basename(fname)
cdbname = os.path.join(cdbcmapdir, cmapname+'.cmap.cdb')
if not force and os.path.exists(cdbname):