Skip to content

cmptxtrender identifies differences when comparing a font file with itself #13

Description

@bobh0303

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]]],
"":[]}
$

NB: This failure was seen in Sch project as a result of smith test which was comparing rendering of results/*.ttf with corresponding fonts in references/, so passing the same font file as the two arguments to cmptxtrender is not the issue, but is done here to make it easier to replicate and possibly debug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions