In the following "regression" style test, cmptxtrender is asked to compare rendering of a font file with that of the same font file, but it reports differences:
$ cd font-scheherazade/references/4.000
$ cmptxtrender -e ot -e ot -s "arab" -l "" -t "../../tests/AllChars-auto.ftml" --outputtype json -g ../../source/glyph_data.csv "ScheherazadeNew-Regular.ttf" "ScheherazadeNew-Regular.ttf"
{
"U+060C" : [[["comma-ar.downward", 0.0, 0.0], ["_adv_", 929.0, 0.0]], [["comma-ar", 0.0, 0.0], ["_adv_", 929.0, 0.0]]],
"U+061B" : [[["semicolon-ar.downward", 0.0, 0.0], ["_adv_", 929.0, 0.0]], [["semicolon-ar", 0.0, 0.0], ["_adv_", 929.0, 0.0]]],
"":[]}
$
In the following "regression" style test, cmptxtrender is asked to compare rendering of a font file with that of the same font file, but it reports differences:
NB: This failure was seen in Sch project as a result of
smith testwhich was comparing rendering ofresults/*.ttfwith corresponding fonts inreferences/, so passing the same font file as the two arguments tocmptxtrenderis not the issue, but is done here to make it easier to replicate and possibly debug.