Debian Codegraph @

tests/test123.pe

raw
1 #Needs: fonts/MinionPro-Regular.otf
2
3 # Check that our new subroutine usage in cff fonts produces an equivalent font.
4 Open($1)
5 Generate("MinionPro.otf")
6 Open("MinionPro.otf");
7 #comparing fonts exactly doesn't work because ff will remove control points
8 #if it thinks they are colinear with the to end points.
9 if ( CompareFonts($1,"/dev/null",0x1|0x8|0x20)!=0 )
10 Error("!!!! Otf Font differed");
11 endif
12
13 Open($1)
14 if ( SizeOf(GetLookups("GSUB"))<=0 )
15 Error("No lookups")
16 endif
17 Select("uni0394"); SelectMore("uni03A9"); SelectMore("uni03BC");
18 DetachAndRemoveGlyphs()
19 Generate("MinionPro.pfb")
20 Open("MinionPro.pfb");
21 if ( CompareFonts($1,"/dev/null",0x1|0x20)!=0 )
22 Error("!!!! Pfb Font differed");
23 endif