Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add segmentation attributesbreak-tailoring | Matthias Clasen | 2021-08-25 | 16 | -51/+509 |
| | | | | | | | Add attributes that let us override word and sentence boundaries (and, indirectly, line breaks). Tests included. | ||||
* | Merge branch 'hyphen-log-attr' into 'main' | Matthias Clasen | 2021-08-25 | 18 | -201/+275 |
|\ | | | | | | | | | | | | | Add hyphens to log attrs Closes #603 See merge request GNOME/pango!436 | ||||
| * | Add some new tests for hyphenshyphen-log-attr | Matthias Clasen | 2021-08-25 | 4 | -0/+16 |
| | | |||||
| * | test-break: Print out hyphens | Matthias Clasen | 2021-08-25 | 9 | -42/+66 |
| | | | | | | | | | | | | Print out all the log attrs we have. Update expected test outputs. | ||||
| * | Refine hyphenation | Matthias Clasen | 2021-08-25 | 5 | -21/+83 |
| | | | | | | | | | | | | | | | | Replace ‧ and | with a - when we break there. Update affected test output. Fixes: #603 | ||||
| * | shape: Rearrange hb buffer setup | Matthias Clasen | 2021-08-25 | 1 | -8/+7 |
| | | | | | | | | | | Rearrange the buffer setup code slightly, so that we can change it easier, later. | ||||
| * | layout: Use need_hyphen from log attrs | Matthias Clasen | 2021-08-24 | 1 | -130/+1 |
| | | |||||
| * | Add hyphens to log attrs | Matthias Clasen | 2021-08-24 | 2 | -3/+105 |
| | | | | | | | | | | | | The code computing this is much better off in break.c, so move it there, and keep the information in the log attr array. | ||||
| * | Quiet a compiler warning | Matthias Clasen | 2021-08-24 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'caret-slope' into 'main' | Matthias Clasen | 2021-08-25 | 7 | -5/+644 |
|\ \ | |/ |/| | | | | | Add pango_layout_get_caret_pos See merge request GNOME/pango!435 | ||||
| * | Add an illustration for caret metricscaret-slope | Matthias Clasen | 2021-08-24 | 6 | -1/+543 |
| | | |||||
| * | Add pango_layout_get_caret_pos | Matthias Clasen | 2021-08-24 | 2 | -5/+102 |
|/ | | | | | This is like pango_layout_get_cursor_pos, but returns a rectangle that has caret font metrics applied to it. | ||||
* | Merge branch 'log-attr-things' into 'main' | Matthias Clasen | 2021-08-24 | 6 | -76/+153 |
|\ | | | | | | | | | break-thai: Fix up word break handling See merge request GNOME/pango!434 | ||||
| * | docs: Update some linkslog-attr-things | Matthias Clasen | 2021-08-23 | 1 | -4/+5 |
| | | | | | | | | We have added new APIs breaking and shaping, link to them. | ||||
| * | break: Add pango_attr_break api | Matthias Clasen | 2021-08-23 | 3 | -9/+62 |
| | | | | | | | | | | | | | | | | | | | | | | | | So far, we've been applying attribute-based customization while doing per-item tailoring. But this is suboptimal, since it means we don't have a full view of the log attrs, and can't do invariant fixes that cross item boundaries. Therefore, add a separate pango_attr_break api that applies attributes to to the whole paragraph, and make PangoLayout use it. | ||||
| * | break: Some code reorganization | Matthias Clasen | 2021-08-23 | 2 | -49/+60 |
| | | | | | | | | Shuffle break.c around a bit. | ||||
| * | break-thai: Fix up word break handling | Matthias Clasen | 2021-08-23 | 2 | -14/+26 |
|/ | | | | | | | | | | | We want to insert word start+end if libthai hands us line breaks between letters. But must be careful not to overwrite existing word boundaries, or we end up with a nonsense sequence. This was found by checking log attr invariants. Regenerate affected test outputs. | ||||
* | Merge branch 'matthiasc/for-main' into 'main' | Matthias Clasen | 2021-08-24 | 1 | -15/+21 |
|\ | | | | | | | | | layout: Only recompute log_attrs when needed See merge request GNOME/pango!433 | ||||
| * | layout: Only recompute log_attrs when needed | Matthias Clasen | 2021-08-23 | 1 | -15/+21 |
|/ | | | | | | There is no need to throw away the log_attrs when we just change the width, or other layout properties that do not affect segmentation. | ||||
* | Merge branch 'doc-font-metrics' into 'main' | Matthias Clasen | 2021-08-23 | 6 | -1/+1398 |
|\ | | | | | | | | | docs: Add another illustration See merge request GNOME/pango!432 | ||||
| * | docs: Add another illustrationdoc-font-metrics | Matthias Clasen | 2021-08-22 | 6 | -1/+1398 |
|/ | | | | Show font metrics. | ||||
* | Merge branch 'fix-test-lists' into 'main' | Matthias Clasen | 2021-08-22 | 1 | -1/+25 |
|\ | | | | | | | | | | | | | Sync up test file lists Closes #600 See merge request GNOME/pango!431 | ||||
| * | Sync up test file listsfix-test-lists | Matthias Clasen | 2021-08-22 | 1 | -1/+25 |
|/ | | | | | | We have more tests than meson knows about. Fixes: #600 | ||||
* | 1.49.01.49.0 | Matthias Clasen | 2021-08-22 | 1 | -5/+11 |
| | |||||
* | Merge branch 'matthiasc/for-main' into 'main' | Matthias Clasen | 2021-08-22 | 1 | -1/+1 |
|\ | | | | | | | | | Fix an oversight with text-transform See merge request GNOME/pango!430 | ||||
| * | Fix an oversight with text-transform | Matthias Clasen | 2021-08-22 | 1 | -1/+1 |
|/ | | | | | With the current implementation of text-transform, we need the attribute to be constant across runs. | ||||
* | Merge branch 'compiler-warnings' into 'main' | Matthias Clasen | 2021-08-22 | 16 | -58/+124 |
|\ | | | | | | | | | build: More compiler warnings See merge request GNOME/pango!428 | ||||
| * | build: More compiler warningscompiler-warnings | Matthias Clasen | 2021-08-22 | 1 | -4/+39 |
| | | | | | | | | | | | | Now that the code has been fixed, we can enable these warnings. The flags here match what is used in GTK. | ||||
| * | renderer: Silence compiler warnings | Matthias Clasen | 2021-08-22 | 1 | -0/+8 |
| | | |||||
| * | markup: Silence compiler warnings | Matthias Clasen | 2021-08-22 | 1 | -0/+3 |
| | | |||||
| * | layout: Silence compiler warnings | Matthias Clasen | 2021-08-22 | 1 | -26/+27 |
| | | |||||
| * | break: Silence compiler warnings | Matthias Clasen | 2021-08-22 | 1 | -8/+16 |
| | | |||||
| * | tests: Silence compiler warnings | Matthias Clasen | 2021-08-22 | 6 | -7/+12 |
| | | |||||
| * | fcfontmap: Silence compiler warnings | Matthias Clasen | 2021-08-22 | 1 | -0/+2 |
| | | |||||
| * | bidi: Silence compiler warnings | Matthias Clasen | 2021-08-22 | 1 | -0/+1 |
| | | |||||
| * | emoji: Silence compiler warnings | Matthias Clasen | 2021-08-22 | 1 | -0/+3 |
| | | |||||
| * | attributes: Silence compiler warnings | Matthias Clasen | 2021-08-22 | 1 | -9/+9 |
| | | |||||
| * | glyphstring: Silence compiler warnings | Matthias Clasen | 2021-08-22 | 1 | -4/+4 |
|/ | |||||
* | Merge branch 'matthiasc/for-main' into 'main' | Matthias Clasen | 2021-08-22 | 1 | -18/+9 |
|\ | | | | | | | | | testattributes: Assert properly See merge request GNOME/pango!429 | ||||
| * | testattributes: Assert properly | Matthias Clasen | 2021-08-22 | 1 | -18/+9 |
|/ | |||||
* | Merge branch 'matthiasc/for-main' into 'main' | Matthias Clasen | 2021-08-22 | 14 | -170/+272 |
|\ | | | | | | | | | break: Some code reorg See merge request GNOME/pango!427 | ||||
| * | attributes: Cosmetics | Matthias Clasen | 2021-08-22 | 1 | -2/+2 |
| | | | | | | | | Fix a few comments. | ||||
| * | tests: Make test-itemize work better | Matthias Clasen | 2021-08-22 | 1 | -3/+3 |
| | | | | | | | | | | This wasn't working when passed a file on the commandline. Fix that. | ||||
| * | tests: Add more attribute tests | Matthias Clasen | 2021-08-22 | 2 | -0/+110 |
| | | | | | | | | | | Handle all attribute types when testing copying, and add tests for the binding helpers. | ||||
| * | Add a forgotten binding helper | Matthias Clasen | 2021-08-22 | 1 | -0/+1 |
| | | | | | | | | The new text-transform attribute was overlooked. | ||||
| * | Trivial | Matthias Clasen | 2021-08-22 | 1 | -1/+1 |
| | | | | | | | | Fix a comment | ||||
| * | Fix binding helpers for absolute-line-height | Matthias Clasen | 2021-08-22 | 1 | -0/+1 |
| | | | | | | | | This was overlooked. | ||||
| * | tests: Tweak test-break output | Matthias Clasen | 2021-08-22 | 8 | -23/+24 |
| | | | | | | | | | | | | Change the order in test-break output to be sentence, word, grapheme. Update all affected test outputs. | ||||
| * | break: Some code reorg | Matthias Clasen | 2021-08-22 | 1 | -141/+130 |
|/ | | | | Reshuffle things to make room for validation. | ||||
* | Merge branch 'matthiasc/for-master' into 'main' | Matthias Clasen | 2021-08-21 | 4 | -4/+0 |
|\ | | | | | | | | | Remove leftover test files See merge request GNOME/pango!426 |