- 29 Nov, 2021 4 commits
-
-
Matthias Clasen authored
Serialize tab alignment in addition to tab position. We still accept the old format and default alignment to left. Update testserialize and layout tests for this.
-
Matthias Clasen authored
Add right, center, decimal tab alignments and support them in serialization. They are not implemented yet.
-
Matthias Clasen authored
We want to use this without initializing tests.
-
Matthias Clasen authored
Explain that tabs really only work with PANGO_ALIGN_LEFT.
-
- 28 Nov, 2021 5 commits
-
-
Matthias Clasen authored
-
Matthias Clasen authored
Even when we show ignorables, we still want to ignore variation selectors and other ignorables that we don't have nicks for. Test included.
-
Matthias Clasen authored
Fix misplaced glyphs in gravity east Closes #631 See merge request !524
-
Matthias Clasen authored
Without this, we end up with line height being zero in gravity north or west. The visible symptom is that wrapped lines are drawn on top of each other with line-height != 0. Affected tests have been updated. Fixes: #631
-
Matthias Clasen authored
This was showing up as glyphs placed outside their logical extents.
-
- 27 Nov, 2021 9 commits
-
-
Matthias Clasen authored
-
Matthias Clasen authored
Avoid cosmetic ugliness See merge request !522
-
Matthias Clasen authored
Now that we have fonts in git, we can reliably test this.
-
Matthias Clasen authored
When setting variations to "", font descriptions would add an ugly useless " @" at the end of their serialization. Avoid that. Test included.
-
Matthias Clasen authored
Make sure glyphinfo is fully initialized See merge request !523
-
Matthias Clasen authored
We can only use the width of the previous char if we are not at the first char. Found by asan.
-
Matthias Clasen authored
-
Matthias Clasen authored
We need to copy the scale hack for bitmaps.
-
Matthias Clasen authored
-
- 26 Nov, 2021 3 commits
-
-
Matthias Clasen authored
The alternative is random test failures, now that we check all these fields in test-layout.
-
Matthias Clasen authored
-
Matthias Clasen authored
Hinted metrics fixes Closes #626 See merge request !518
-
- 25 Nov, 2021 19 commits
-
-
Matthias Clasen authored
Rename the serialize errors See merge request !520
-
Matthias Clasen authored
It should work there, but it doesn't.
-
Matthias Clasen authored
This makes more sense.
-
Matthias Clasen authored
Our new, more precise font checks rely on data from fontconfig to identify fonts uniquely. So make sure that we use a custom fc fontmap, if we have one.
-
Matthias Clasen authored
Otherwise editing the output in an editor is likely to make the data not match anymore, since most editors will add a final newline. Update all tests
-
Matthias Clasen authored
Add Cantarell, DejaVu Sans and a subset of Noto Color Emoji to git, and make test-layout use just those fonts. This should help with keeping the ci from breaking due to different system fonts. Update tests.
-
Matthias Clasen authored
Not used anymore.
-
Matthias Clasen authored
-
Matthias Clasen authored
Another debug api. This function produces a serialization of a font that is enough to uniquely identify the font. This is more detailed than what pango_font_describe creates.
-
Matthias Clasen authored
These were produced with the help of http://gitlab.gnome.org/matthiasc/layout-editor
-
Matthias Clasen authored
Json doesn't have comments, so we have to add an explicit comment value. This will be useful to describe what test cases are about.
-
Matthias Clasen authored
Use the new output serialization in test-layout to store both the input and output in the same file.
-
Matthias Clasen authored
If requested, serialize lines, runs, and log attrs. This will let us use the serialization format to record not just the test inputs, but outputs as well.
-
Matthias Clasen authored
Add some private api for the serializer to get the font matrix. This is needed to let the serializer write a unique fingerprint for the font.
-
Matthias Clasen authored
This lets us transfer things like base gravity from layout-editor to pango-view.
-
Matthias Clasen authored
-
Matthias Clasen authored
Avoid writing out empty attributes or tabs.
-
Matthias Clasen authored
Optionally include context information in the serialization and restore it. This will be useful for transporting for giving tests complete data that affects their output. Some tests included.
-
Matthias Clasen authored
This gives us some room to add more things to these apis, e.g. a way to store not just the input part of a layout, but also the output.
-