~ubuntu-branches/debian/sid/pyx/sid

« back to all changes in this revision

Viewing changes to pyx/font/metric.py

  • Committer: Package Import Robot
  • Author(s): Stuart Prescott
  • Date: 2012-12-17 13:45:12 UTC
  • mto: (9.1.1 experimental)
  • mto: This revision was merged to the branch mainline in revision 10.
  • Revision ID: package-import@ubuntu.com-20121217134512-q85pr3q75fxii7mq
Tags: upstream-0.12.1
ImportĀ upstreamĀ versionĀ 0.12.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
    def width_ds(self, glyphname):
27
27
        raise NotImplementedError()
28
28
 
29
 
    def width_pt(self, glyphnames, size):
30
 
        raise NotImplementedError()
31
 
 
32
 
    def height_pt(self, glyphnames, size):
33
 
        raise NotImplementedError()
34
 
 
35
 
    def depth_pt(self, glyphnames, size):
 
29
    def width_pt(self, glyphnames, size_pt):
 
30
        raise NotImplementedError()
 
31
 
 
32
    def height_pt(self, glyphnames, size_pt):
 
33
        raise NotImplementedError()
 
34
 
 
35
    def depth_pt(self, glyphnames, size_pt):
36
36
        raise NotImplementedError()
37
37
 
38
38
    def resolveligatures(self, glyphnames):
39
39
        return glyphnames
40
40
 
41
 
    def resolvekernings(self, glyphnames, size=None):
 
41
    def resolvekernings(self, glyphnames, size_pt=None):
42
42
        result = [None]*(2*len(glyphnames)-1)
43
43
        for i, glyphname in enumerate(glyphnames):
44
44
            result[2*i] = glyphname