Lines Matching +full:- +full:- +full:strip +full:- +full:components
15 -60
19 (65, 668, (8, -25, 660, 666))
24 'TestFont-Regular'
35 >>> f[("A","V")] = -150 # Tighten kerning
39 >>> #f.write("testfont-squished.afm")
51 identifierRE = re.compile(r"^([A-Za-z]+).*")
55 r"(-?\d+)" # charnum
57 r"(-?\d+)" # width
59 r"([.A-Za-z0-9_]+)" # charname
61 r"(-?\d+)" # left
63 r"(-?\d+)" # bottom
65 r"(-?\d+)" # right
67 r"(-?\d+)" # top
73 r"([.A-Za-z0-9_]+)" # leftchar
75 r"([.A-Za-z0-9_]+)" # rightchar
77 r"(-?\d+)" # value
84 r"([.A-Za-z0-9_]+)" # char name
91 r"([.A-Za-z0-9_]+)" # base char name
93 r"(-?\d+)" # x offset
95 r"(-?\d+)" # y offset
158 if not line.strip():
166 rest = line[pos:].strip()
222 components = []
230 components.append((basechar, xoffset, yoffset))
234 assert len(components) == ncomponents
235 self._composites[charname] = components
277 """Custom key function to make sure unencoded chars (-1)
279 if a[0] == -1:
304 for charname, components in composites:
305 line = "CC %s %s ;" % (charname, len(components))
306 for basechar, xoffset, yoffset in components:
340 def addComposite(self, glyphName, components): argument
341 """Specifies that the glyph `glyphName` is made up of the given components.
342 The components list should be of the following form::
350 self._composites[glyphName] = components