Home
last modified time | relevance | path

Searched refs:afm (Results 1 – 8 of 8) sorted by relevance

/external/fonttools/Tests/afmLib/
DafmLib_test.py16 afm = afmLib.AFM(AFM)
17 self.assertEqual(sorted(afm.kernpairs()),
19 self.assertEqual(afm['V', 'A'], -60)
20 self.assertEqual(afm['V', 'd'], 30)
21 self.assertEqual(afm['A'], (65, 668, (8, -25, 660, 666)))
24 afm = afmLib.AFM(AFM)
25 newAfm, afmData = self.write(afm)
26 self.assertEqual(afm.kernpairs(), newAfm.kernpairs())
27 self.assertEqual(afm.chars(), newAfm.chars())
28 self.assertEqual(afm.comments(), newAfm.comments()[1:]) # skip the "generated by afmLib" comment
[all …]
/external/fonttools/Lib/fontTools/
DafmLib.py353 afm = AFM(path) variable
355 if afm.has_char(char):
356 print(afm[char]) # print charnum, width and boundingbox
358 if afm.has_kernpair(pair):
359 print(afm[pair]) # print kerning value for pair
360 print(afm.Version) # various other afm entries have become attributes
361 print(afm.Weight)
363 print(afm.comments())
366 print(afm)
367 afm.write(path + ".muck")
/external/fonttools/
DMANIFEST.in34 recursive-include Tests *.afm
DNEWS.rst488 - Added missing ``*.afm`` test assets to MAINFEST.in (#1137).
DPKG-INFO905 - Added missing ``*.afm`` test assets to MAINFEST.in (#1137).
/external/fonttools/Lib/fonttools.egg-info/
DPKG-INFO905 - Added missing ``*.afm`` test assets to MAINFEST.in (#1137).
DSOURCES.txt336 Tests/afmLib/data/TestAFM.afm
/external/freetype/
DChangeLog.201033 * src/type1/t1afm.c (T1_Done_AFM): Free `afm'.