- 03 Dec, 2021 1 commit
-
-
Matthias Clasen authored
Properly document deserialization errors, and drop unused enum values.
-
- 02 Dec, 2021 14 commits
-
-
Matthias Clasen authored
-
Matthias Clasen authored
-
Matthias Clasen authored
-
Matthias Clasen authored
Just let the parser carry the error.
-
Matthias Clasen authored
-
Matthias Clasen authored
Replace json-glib by a homegrown json parser/printer.
-
Matthias Clasen authored
Add pango_tab_array_set_positions_in_pixels, to help the serializer out.
-
Matthias Clasen authored
Add pango_tab_array_sort See merge request !530
-
Matthias Clasen authored
-
Matthias Clasen authored
Don't calculate line width the hard way when we can do it much easier.
-
Matthias Clasen authored
We don't need to iterate the entire tab array every time, we just continue from the previous tab stop position.
-
Matthias Clasen authored
We want to optimize access to tab stops, and will assume they are ordered.
-
Matthias Clasen authored
Introduce a LastTab struct, and use it.
-
Matthias Clasen authored
A utility function to ensure tab stops are in increasing order.
-
- 30 Nov, 2021 2 commits
-
-
Matthias Clasen authored
NEWS: Updates See merge request !529
-
Matthias Clasen authored
-
- 29 Nov, 2021 11 commits
-
-
Matthias Clasen authored
Support tab alignment Closes #34 See merge request !527
-
Matthias Clasen authored
-
Matthias Clasen authored
Use newlines to separate tabs, rather than spaces.
-
Matthias Clasen authored
This is useful for PANGO_TAB_DECIMAL. Implement this in PangoLayout, in the serializer, and update tests.
-
Matthias Clasen authored
Implement the other tab alignments by adjusting the tab width as we go. Based on an old patch by Itai Bar-Haim. This also includes a fix for the previously supported left tab alignment in the presence of indent. Fixes: #34
-
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.
-
Matthias Clasen authored
Fix pango-view crash See merge request !528
-
Peng Wu authored
Remove cairo_debug_reset_static_data function call in pango-view to avoid crash.
-
- 28 Nov, 2021 6 commits
-
-
Matthias Clasen authored
Never show variation selectors See merge request !526
-
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 6 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.
-