Skip to content

Perform visual regression test #53

@sladen

Description

@sladen

Ideally this could be more automated (make visual-test or something), but this can be done with something like ftview from the freetype2-demos suite:

$ ftview -w 1000 -h 1000 16 old/Ubuntu-Regular.ttf release/Ubuntu-Regular.ttf

Then switching forward/backward with n and p keyboard inputs.

Where 16 is the point size, and the following arguments are the TTFs to test render. The resolution can either be specified with -w/-h for width/height, or -r for resolution.

*(A more mechanical way would be to output overlaid renderings to PDF, render these with various PDF engines (mupdf/Popper/…) and look for colour fringing where there is not a perfect overlap.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions