Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

made minor chages

  • Loading branch information...
commit 0e2ce7e951e851a16cc0b2c08b08485d6173704d 1 parent e1edb78
@natsag2000 authored
Showing with 1 addition and 4 deletions.
  1. +1 −4 fontcreator/mongoluseg.py
View
5 fontcreator/mongoluseg.py
@@ -23,11 +23,8 @@ def main():
usegdesc = readlines(USEG_DESC)
atoms = read_atoms(usegatoms)
descs = read_desc(usegdesc)
- #for k, v in descs.items():
- # print k, ' = ', v
useg_uusge(atoms, descs, GLYPH_OUT)
-# TODO: check file if exits!
def useg_uusge(Atoms, Desc, AFolder):
atomkeys = Atoms.keys()
for Name, Instr in Desc.items():
@@ -36,7 +33,7 @@ def useg_uusge(Atoms, Desc, AFolder):
if not I in atomkeys:
print Name, ':', "Key not found: ", I
break
- if I == ' ':
+ if I == ' ' or I == '':
continue
li.append(AFolder+'/' + Atoms[I] + '.svg')
Cmd = 'pythonx ' + " ".join(li) + ' > ' + AFolder +'/'+Name + '.svg'
Please sign in to comment.
Something went wrong with that request. Please try again.