MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / os2

Method os2

tools/subset.py:352–360  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

350 return r
351
352 def os2(self):
353 r = {}
354 d = self.tables['OS/2']
355 r['fsSelection'], = struct.unpack('>H', d[62:64])
356 r['sTypoAscender'], r['sTypoDescender'], r['sTypoLineGap'] = \
357 struct.unpack('>hhh', d[68:74])
358 r['usWinAscender'], r['usWinDescender'] = struct.unpack(
359 '>HH', d[74:78])
360 return r
361
362
363def set_os2(pe, name, val):

Callers 1

extract_vert_to_scriptFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected