• Show log

    Commit

  • Hash : c35961a9
    Author : Alex Richardson
    Date : 2021-07-15T18:02:57

    * tests/issue-1063/main.c (main): Fix uninitialized variable. I tried running `meson test` but the test just crashed and gdb reported that the face argument to `FT_Get_Char_Index` was nonsense. With this change the test prints 'Could not open file: ' as it should.

  • README.md

  • Unit and regression tests for the FreeType library

    Quick Start

    Download test fonts

    Run the tests/scripts/download-fonts.py script, which will download test fonts to the tests/data/ directory first.

    Build the test programs

    The tests are only built with the Meson build system, and are disabled by default, enable the ‘tests’ option to compile them, as in:

    meson setup out -Dtests=enabled meson compile -C out

    Run the test programs

    meson test -C out