This repository contains minimal OTF fonts intended for testing CFF opcode support.
The naming format is cff . <opcode> . (<optional dependencies>) . otf.
Currently all these fonts are "good" fonts, i.e. no intentionally bad charstrings have been included. This may change in the future, although if you want to submit your own fonts in a PR, please note whether it's a good or a bad font.
All fonts, except for cff.random.ttf, encode a 700 x 700 rectangle for the letter "a" (as well as several others) that, after evaluating all operators, corresponds to the following charstring:
0 0 rmoveto
0 700 rlineto
700 0 rlineto
0 -700 rlineto
-700 0 rlineto
If, after interpreting, the glyph does not match a 700x700 font unit rectangle starting at (0,0) and traced clockwise, whatever did the decoding does not properly support the relevant CFF opcodes.
Note: these fonts assume the subr and gsubr opcodes are already supported.