summaryrefslogtreecommitdiff
path: root/tests/testmatrix.c
Commit message (Collapse)AuthorAgeFilesLines
* Add PangoFcHbFontMapMatthias Clasen2022-01-281-0/+4
| | | | | | | | | This is a new fontmap implementation that works by populating a PangoHbFontMap from fontconfig data. It relies on the base class to provide caching and lookups. In contrast to the existing fontconfig fontmap, this does not include every font in every fontset.
* Add pango_matrix_get_slant_ratioMatthias Clasen2022-01-021-0/+26
| | | | | Add API to extract the slant ratio from a PangoMatrix. Tests included.
* tests: Drop an unused includeMatthias Clasen2021-06-281-1/+0
| | | | Now that we aren't using the M_ constants, drop math.h.
* testmatrix.c: use G_SQRT2 insead of M_SQRT2Jordan Petridis2021-06-281-3/+3
| | | | | | | | | | Math implementations are platform dependent, and for example msvc requires a define before enabling the constants [1] Use G_SQRT2 implementation which is independent instead. [1] https://docs.microsoft.com/en-us/cpp/c-runtime-library/math-constants?view=msvc-160
* tests: Add tests for PangoMatrixMatthias Clasen2021-06-281-0/+205