tests/test122.pe
raw| 1 | #Needs: fonts/Hinting.sfd |
| 2 | |
| 3 | #Check that AutoHint does what it should |
| 4 | #Check that generating type1/2 retain those hints |
| 5 | |
| 6 | Open($1) |
| 7 | Reencode("Original") |
| 8 | SelectAll() |
| 9 | Copy() |
| 10 | AutoHint() |
| 11 | CompareGlyphs(-1,-1,-1,-1,1) |
| 12 | |
| 13 | Generate("Hinting.cff") |
| 14 | Open("Hinting.cff") |
| 15 | Reencode("Original") |
| 16 | SelectAll() |
| 17 | CompareGlyphs(-1,-1,-1,-1,1) |
| 18 | |
| 19 | Generate("Hinting.pfb") |
| 20 | Open("Hinting.pfb") |
| 21 | Reencode("Original") |
| 22 | SelectAll() |
| 23 | CompareGlyphs(-1,-1,-1,-1,1) |