summaryrefslogtreecommitdiff
path: root/tests/test-shape.c
Commit message (Collapse)AuthorAgeFilesLines
* tests: Silence compiler warningsMatthias Clasen2021-08-221-2/+3
|
* tests: Locale handling fixesMatthias Clasen2021-07-211-1/+0
| | | | | The return value of setlocale is only good until the next call. Also, consistently use en_US.UTF-8.
* Apply 1 suggestion(s) to 1 file(s)Matthias Clasen2021-01-201-1/+1
|
* Fix leaks found by asanSzunti2021-01-161-1/+4
|
* tests: Don't free attributes prematurelyMatthias Clasen2020-11-061-2/+2
| | | | | test-shape was using one of its attribute lists after dropping the reference on it. Don't do that.
* tests: Improve output of test-shapetest-shape-fixMatthias Clasen2020-11-061-1/+1
| | | | | | | We don't have any test cases for this in our testsuite, but it is useful to run this manually to see the shaping results. The output was missing all but the first char for the last cluster in an item.
* tests: Use the appropriate GTest APIEmmanuele Bassi2020-04-141-1/+2
| | | | | | | | Do not use homegrown assertion and failure macros, when GTest has perfectly functional API to deal with all the cases Pango covers. Using GTest also allows us to rely on appropriate formatting for results and logging.
* test-shape: CosmeticsMatthias Clasen2019-11-021-22/+2
| | | | Remove an unused function, and rename another.
* tests: The show attribute affects shapingMatthias Clasen2019-07-251-0/+1
|
* shape-test: Match PangoLayoutMatthias Clasen2019-07-241-1/+84
| | | | | Use the same logic as PangoLayout for filtering attributes.
* test-shape: Exit quietlyMatthias Clasen2019-07-181-0/+4
| | | | | We don't have any testcases for this yet, no reason to fail the testsuite.
* test-shape: Print glyph ids in decimalMatthias Clasen2019-07-181-1/+1
|
* test-shape: Print widths and offsets separatelyMatthias Clasen2019-07-181-7/+21
|
* shape test: Output glyph widthsMatthias Clasen2019-07-181-1/+1
|
* Fix more compiler warningsMatthias Clasen2019-07-181-1/+1
| | | | These are clang warnings.
* Add a shape testMatthias Clasen2019-07-171-0/+297
This is similar in spirit to hb-shape. Take an input and produce a sequence of glyphs as output. There are no testcases yet.