summaryrefslogtreecommitdiff
path: root/test/toy-font-face.c
Commit message (Collapse)AuthorAgeFilesLines
* Drop the conditional inclusion of config.hEmmanuele Bassi2021-05-011-2/+0
| | | | | | | | | | | | We *always* generate this file, and we depend on its existence. The idea behind HAVE_CONFIG_H was being able to include random files from different projects, back in a time where "libraries" were literally just random files instead of actual shared objects. Since we're not in the '80s any more, and our build system(s) define HAVE_CONFIG_H *and* generate the config.h header file, we don't need a conditional guard around its inclusion.
* test: Improve memfault behaviour.Chris Wilson2010-05-031-3/+13
| | | | | Various minor tweaks to convert asserts into error returns and to improve error checking on intermediate surfaces.
* [test] Fix assert on default font family in toy-font-faceJeff Muizelaar2009-02-191-4/+15
| | | | | | | | toy-font-face was checking that cairo_toy_font_face_get_family returned "" which is CAIRO_FONT_FAMILY_DEFAULT when the freetype font backend is the default. However, when other font backends are the default the returned family is different. Therefore, instead of checking for "", we check for the appropriate string depending on the backend.
* [test] Build test suite into single binary.Chris Wilson2008-10-311-7/+9
| | | | | | | | | Avoid calling libtool to link every single test case, by building just one binary from all the sources. This binary is then given the task of choosing tests to run (based on user selection and individual test requirement), forking each test into its own process and accumulating the results.
* [test/toy-font-face] Use cairo_test_init/fini().Chris Wilson2008-08-171-10/+7
| | | | Minor step to harmonise the test with the rest of the suite.
* Add toy font constructor and gettersBehdad Esfahbod2008-08-081-0/+129
New public API: cairo_toy_font_face_create() cairo_toy_font_face_get_family() cairo_toy_font_face_get_slant() cairo_toy_font_face_get_weight()