Home | History | Annotate | Download | only in ttLib

Lines Matching refs:fond

134 		fond_res.AddResource('FOND', self.res_id, self.fullname)
137 fond = fondLib.FontFamily(fond_res, "w")
139 fond.ffFirstChar = 0
140 fond.ffLastChar = 255
141 fond.fondClass = 0
142 fond.fontAssoc = [(0, 0, self.res_id)]
143 fond.ffFlags = 20480 # XXX ???
144 fond.ffIntl = (0, 0)
145 fond.ffLeading = 0
146 fond.ffProperty = (0, 0, 0, 0, 0, 0, 0, 0, 0)
147 fond.ffVersion = 0
148 fond.glyphEncoding = {}
150 fond.styleIndices = (1,) * 48 # uh-oh, fondLib is too dumb.
152 fond.styleIndices = (2,) * 48
153 fond.styleStrings = []
154 fond.boundingBoxes = None
155 fond.ffFamID = self.res_id
156 fond.changed = 1
157 fond.glyphTableOffset = 0
158 fond.styleMappingReserved = 0
162 fond.ffAscent = scale * self.ttFont['hhea'].ascent
163 fond.ffDescent = scale * self.ttFont['hhea'].descent
164 fond.ffWidMax = scale * self.ttFont['hhea'].advanceWidthMax
166 fond.ffFamilyName = self.familyname
167 fond.psNames = {0: self.psname}
169 fond.widthTables = {}
170 fond.kernTables = {}
184 fond.kernTables = {0: fondkerning}
191 fond.widthTables = {0: fondwidths}
192 fond.save()