summaryrefslogtreecommitdiff
path: root/tests/test-shape.c
Commit message (Collapse)AuthorAgeFilesLines
* test-shape: Show color glyph informationcolor-glyphMatthias Clasen2021-09-011-2/+11
|
* test-shape: Print out glyph classesMatthias Clasen2021-08-291-2/+31
| | | | | | These are not very reliable for things other than marks, but even that is useful for debugging cluster handling.
* test-shape: Show cluster boundaries correctlyMatthias Clasen2021-08-271-11/+12
| | | | | | Cluster boundaries were cutting off the first character of a new cluster. Not great if the tools print out misleading information.
* test-shape: Add an option for hex charsMatthias Clasen2021-08-271-1/+20
| | | | | This is useful when trying to understand the output for scripts I don't read.
* tests: Improve test-shapeMatthias Clasen2021-08-251-5/+20
| | | | This helps with understanding clusters.
* tests: Make test-shape work like the othersMatthias Clasen2021-08-251-6/+1
| | | | | | There was some extra code here that was getting in the way of using all the dumper tests on the same input files. Get rid of it.
* 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.