3 def width_ds(self
, glyphname
):
4 raise NotImplementedError()
6 def width_pt(self
, glyphnames
, size
):
7 raise NotImplementedError()
9 def height_pt(self
, glyphnames
, size
):
10 raise NotImplementedError()
12 def depth_pt(self
, glyphnames
, size
):
13 raise NotImplementedError()
15 def resolveligatures(self
, glyphnames
):
18 def resolvekernings(self
, glyphnames
, size
=None):
19 result
= [None]*(2*len(glyphnames
)-1)
20 for i
, glyphname
in enumerate(glyphnames
):
21 result
[2*i
] = glyphname