- 25 Nov, 2021 16 commits
-
-
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.
-
Matthias Clasen authored
-
Matthias Clasen authored
They are produced by deserialization, so call them that.
-
Matthias Clasen authored
-
Matthias Clasen authored
Make space actually show up as visible space when we want that.
-
- 23 Nov, 2021 3 commits
-
-
Matthias Clasen authored
Fix a case of unintended hyphenation See merge request !519
-
Matthias Clasen authored
When handling items that fix completely, we were not consistently taking extra width into account, leading to hyphens sticking out in some cases.
-
Matthias Clasen authored
When looking at scripts, we want to look at the script of the *previous* character. And then we need to exclude SHY from the common script.
-
- 22 Nov, 2021 2 commits
-
-
Matthias Clasen authored
When we take a complete item because there are no breakpoints, we were inserting a hyphen at the end even though there may not be a breakpoint there, and ending up with a hyphen in the middle of an (overlong) line: Brat-wurst. Test included. This but was discovered with the help of http://gitlab.gnome.org/matthiasc/layout-editor
-
Matthias Clasen authored
-
- 20 Nov, 2021 5 commits
-
-
Matthias Clasen authored
Don't replace | with hyphens Closes #630 See merge request !516
-
Matthias Clasen authored
I don't know why it started to fail, and am not in a position to debug it. So, let it fail, like we already do with the testsuite :(
-
Matthias Clasen authored
That is what we have in ci.
-
Matthias Clasen authored
I hope this will give some insight into what is happening in ci builds.
-
Matthias Clasen authored
I went a bit overboard in #603. The vertical bar is too common, and this usage to specialized to do it by default. To enable this, we should rather make log attrs tweakable. We still replace hyphenation points with hyphens. Fixes: #630
-
- 19 Nov, 2021 4 commits
-
-
Matthias Clasen authored
Tweak word and sentence attributes See merge request !515
-
Matthias Clasen authored
You can now do pango-view --serialized file All layout-related options will be overwritten by the serialized data. Other options can still be used.
-
Matthias Clasen authored
-
Matthias Clasen authored
The value does not really matter for these, but it looks more natural if they have a value of 1, and not 0.
-
- 18 Nov, 2021 8 commits
-
-
Matthias Clasen authored
Add layout serialization api See merge request !513
-
Matthias Clasen authored
This is necessary for ci on MacOs to build.
-
Matthias Clasen authored
Also suppress pango_language_from_string and GLib thread creation.
-
Matthias Clasen authored
Now that we have this api, lets use it for our tests.
-
Matthias Clasen authored
Add api to serialize PangoLayout, for the benefit of testing and debugging. Currently, this uses json, but that is an implementation detail. Some tests included.
-
Matthias Clasen authored
This is needed now for the serialization code.
-
Matthias Clasen authored
Neuter g_debug in line-breaking See merge request !514
-
Matthias Clasen authored
This code gets run for gtks size-allocation, and we don't want it to be any slower than it has to be, when not debugging it.
-
- 17 Nov, 2021 2 commits
-
-
Matthias Clasen authored
Add pango_attr_list_to/from_string See merge request !512
-
Matthias Clasen authored
-