Home | History | Annotate | Download | only in fontTools

Lines Matching refs:attrs

92 	def fromXML(self, name, attrs, content):
103 fontName = attrs["name"]
111 name, attrs, content = element
112 topDict.fromXML(name, attrs, content)
117 name, attrs, content = element
119 subr.fromXML(name, attrs, content)
399 def fromXML(self, name, attrs, content):
403 subr.fromXML(name, attrs, content)
439 def fromXML(self, name, attrs, content):
446 name, attrs, content = element
447 fontDict.fromXML(name, attrs, content)
580 def fromXML(self, name, attrs, content):
584 name, attrs, content = element
589 fdID = safeEval(attrs["fdSelectIndex"])
594 glyphName = attrs["name"]
598 charString.fromXML(name, attrs, content)
667 def xmlRead(self, name, attrs, content, parent):
668 return attrs["value"]
678 def xmlRead(self, name, attrs, content, parent):
679 return tobytes(attrs["value"], encoding=("ascii"))
689 def xmlRead(self, name, attrs, content, parent):
690 return tobytes(attrs["value"], encoding=("latin1"))
701 def xmlRead(self, name, attrs, content, parent):
702 return parseNum(attrs["value"])
709 def xmlRead(self, name, attrs, content, parent):
710 values = attrs["value"].split()
720 def xmlRead(self, name, attrs, content, parent):
725 name, attrs, content = element
726 ob.fromXML(name, attrs, content)
769 def xmlRead(self, name, attrs, content, parent):
777 charStrings.fromXML(name, attrs, content)
819 def xmlRead(self, name, attrs, content, parent):
821 return safeEval(attrs["value"])
1003 def xmlRead(self, name, attrs, content, parent):
1004 if "name" in attrs:
1005 return attrs["name"]
1010 name, attrs, content = element
1011 code = safeEval(attrs["code"])
1012 glyphName = attrs["name"]
1108 def xmlRead(self, name, attrs, content, parent):
1113 name, attrs, content = element
1114 fdArray.fromXML(name, attrs, content)
1135 def xmlRead(self, name, attrs, content, parent):
1136 fmt = safeEval(attrs["format"])
1214 def xmlRead(self, name, attrs, content, parent):
1215 return (attrs['Registry'], attrs['Order'], safeEval(attrs['Supplement']))
1513 def fromXML(self, name, attrs, content):
1515 value = conv.xmlRead(name, attrs, content, self)