HomeSort by relevance Sort by last modified time
    Searched refs:namerecord (Results 1 - 3 of 3) sorted by null

  /frameworks/layoutlib/rename_font/
build_font_single.py 57 # These constants represent the value of nameID parameter in the namerecord for
124 for namerecord in tag.iter('namerecord'):
125 if 'nameID' in namerecord.attrib:
126 name_id = int(namerecord.attrib['nameID'])
137 font.family = namerecord.text.strip()
139 font.style = namerecord.text.strip()
141 font.ends_in_regular = ends_in_regular(namerecord.text)
142 font.fullname = namerecord.text.strip()
144 font.version = get_version(namerecord.text
    [all...]
build_font.py 55 # These constants represent the value of nameID parameter in the namerecord for
140 for namerecord in tag.iter('namerecord'):
141 if 'nameID' in namerecord.attrib:
142 name_id = int(namerecord.attrib['nameID'])
153 font.family = namerecord.text.strip()
155 font.style = namerecord.text.strip()
157 font.ends_in_regular = ends_in_regular(namerecord.text)
158 font.fullname = namerecord.text.strip()
160 font.version = get_version(namerecord.text
    [all...]
  /external/fonttools/Lib/fontTools/ttLib/tables/
_n_a_m_e.py 36 name, data = sstruct.unpack2(nameRecordFormat, data, NameRecord())
51 self.names.sort() # sort according to the spec; see NameRecord.__lt__()
73 if name != "namerecord":
77 name = NameRecord()
82 for namerecord in self.names:
83 if ( namerecord.nameID == nameID and
84 namerecord.platformID == platformID and
85 namerecord.platEncID == platEncID):
86 if langID is None or namerecord.langID == langID:
87 return namerecord
    [all...]

Completed in 789 milliseconds