Beispiel #1
0
def _glifTreeFromFile(aFile):
	try:
		tree = buildTree(aFile, stripData=False)
		stripCharacterData(tree[2], recursive=False)
		assert tree[0] == "glyph"
		_stripGlyphXMLTree(tree[2])
		return tree
	except:
		print "Problem with glif file", aFile
		raise
	return None
Beispiel #2
0
def _glifTreeFromFile(aFile):
	try:
		tree = buildTree(aFile, stripData=False)
		stripCharacterData(tree[2], recursive=False)
		assert tree[0] == "glyph"
		_stripGlyphXMLTree(tree[2])
		return tree
	except:
		print "Problem with glif file", aFile
		raise
	return None
Beispiel #3
0
def _glifTreeFromFile(aFile):
    tree = buildTree(aFile, stripData=False)
    stripCharacterData(tree[2], recursive=False)
    assert tree[0] == "glyph"
    _stripGlyphXMLTree(tree[2])
    return tree
Beispiel #4
0
def _glifTreeFromFile(aFile):
	tree = buildTree(aFile, stripData=False)
	stripCharacterData(tree[2], recursive=False)
	assert tree[0] == "glyph"
	_stripGlyphXMLTree(tree[2])
	return tree