Lines Matching refs:widths
55 widths = {'courier': [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,600,600,600,6… variable
99 widths = [0] * 255
108 widths[string.atoi(cid)] = string.atoi(width)
111 for i in range(len(widths)):
112 if widths[i] == 0:
113 widths[i] == widths[32]
115 return widths
122 global widths
123 self.__widtharrays = widths
130 widths = parseAFMfile(filename)
131 self.__widtharrays[fontname] = widths
147 widths = self.getfont(string.lower(font))
150 w = w + widths[ord(char)]
162 _psWidths = { 'StandardEncoding' : widths,
169 widths = _psWidths[encoding][string.lower(font) ]
174 w = w + widths[ord(char)]