#/usr/local/bin/fontforge # First argument should be an sfd file containing an outline font and a # set of "good" bitmap strikes. # This checks that rasterizing using the current rasterizer will produce the # same (or very similar) results. Open($1) sizes = $bitmaps Reencode("Original") /* Make sure no holes in encoding */ SelectAll() Copy() BitmapsRegen(sizes) CompareGlyphs(-1,-1,.01) Print("Ok") /* Otherwise we will die in CompareGlyphs with an error */