MCPcopy Create free account
hub / github.com/clips/pattern / char_width

Method char_width

pattern/web/pdf/pdffont.py:491–492  ·  view source on GitHub ↗
(self, cid)

Source from the content-addressed store, hash-verified

489 return h * self.vscale
490
491 def char_width(self, cid):
492 return self.widths.get(cid, self.default_width) * self.hscale
493
494 def char_disp(self, cid):
495 return 0

Callers 2

string_widthMethod · 0.95
render_charMethod · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected