Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix testserialize | Matthias Clasen | 2022-01-24 | 1 | -4/+1 |
| | |||||
* | tests: Update expected results for breaks | Matthias Clasen | 2022-01-24 | 1 | -1/+1 |
| | | | | | | | One of the break tests has an inconsequential change in output. I believe it is due to us now feeding paragraph terminators through the break code. Update the test result. | ||||
* | port testrandom | Matthias Clasen | 2022-01-24 | 1 | -21/+21 |
| | |||||
* | utils: Port pango-segmentation | Matthias Clasen | 2022-01-24 | 1 | -7/+6 |
| | |||||
* | Port test-pangocairo-threads | Matthias Clasen | 2022-01-24 | 1 | -9/+12 |
| | |||||
* | testmisc: fix build | Matthias Clasen | 2022-01-24 | 1 | -1/+1 |
| | |||||
* | Port testmisc to simple layout | Matthias Clasen | 2022-01-24 | 1 | -145/+148 |
| | |||||
* | testiter: more fixes | Matthias Clasen | 2022-01-24 | 1 | -74/+74 |
| | |||||
* | Port test-ellipsize to simple layout | Matthias Clasen | 2022-01-24 | 1 | -26/+26 |
| | |||||
* | Port test-break to simple layout | Matthias Clasen | 2022-01-24 | 1 | -21/+6 |
| | |||||
* | test-layout: port to simple-para | Matthias Clasen | 2022-01-24 | 1 | -6/+8 |
| | |||||
* | Port test-bidi to simple layout | Matthias Clasen | 2022-01-24 | 1 | -54/+68 |
| | |||||
* | Port examples | Matthias Clasen | 2022-01-24 | 3 | -221/+223 |
| | |||||
* | debug: check invariants in pango-layout too | Matthias Clasen | 2022-01-24 | 1 | -0/+53 |
| | | | | | this is for comparison purposes, and to see what to aim for. | ||||
* | Add a text flow example | Matthias Clasen | 2022-01-24 | 2 | -0/+135 |
| | | | | | | | This formats text in two columns. Use it like: columns INPUT OUTPUT | ||||
* | Add a parshape example | Matthias Clasen | 2022-01-24 | 4 | -0/+128 |
| | | | | | | | | | Use it like: parshape INPUT OUTPUT There's two input files provided. One in Latin and one in Hebrew. | ||||
* | serializer: fix build | Matthias Clasen | 2022-01-24 | 1 | -43/+3 |
| | |||||
* | Implement serialization for PangoSimpleLayout | Matthias Clasen | 2022-01-24 | 2 | -12/+483 |
| | |||||
* | Implement rendering for PangoLine | Matthias Clasen | 2022-01-24 | 5 | -84/+375 |
| | |||||
* | Add PangoLineIter | Matthias Clasen | 2022-01-24 | 9 | -0/+1011 |
| | |||||
* | Add PangoSimpleLayout | Matthias Clasen | 2022-01-24 | 4 | -0/+1700 |
| | | | | | This is a simplified reimplementation of PangoLayout around PangoLineBreaker and PangoLines. | ||||
* | Add PangoLines | Matthias Clasen | 2022-01-24 | 5 | -0/+1337 |
| | | | | | This is an array of positioned PangoLine objects. | ||||
* | Add PangoLineBreaker | Matthias Clasen | 2022-01-24 | 4 | -0/+2698 |
| | | | | This is the guts of PangoLayout, spilled out. | ||||
* | Implement ellipsization for PangoLine | Matthias Clasen | 2022-01-24 | 1 | -88/+145 |
| | |||||
* | Add PangoLine | Matthias Clasen | 2022-01-24 | 5 | -0/+1715 |
| | | | | | This is an opaque, immutable object holding a line of shaped text. | ||||
* | Add PangoLayoutRun | Matthias Clasen | 2022-01-24 | 5 | -0/+212 |
| | | | | | Make this a separate type from PangoGlyphItem, and give it some minimal api. | ||||
* | Add PangoLeadingTrim | Matthias Clasen | 2022-01-24 | 1 | -0/+24 |
| | |||||
* | Add PangoAlignment | Matthias Clasen | 2022-01-24 | 1 | -0/+9 |
| | | | | | | | Tnis is an enum that combines alignment and justification. This makes sense, is commonly done in other systems, and lets us pass a single argument instead of 3 (align, justify and justify-last). | ||||
* | Add single-paragraph mode to ItemProperties | Matthias Clasen | 2022-01-24 | 2 | -12/+18 |
| | | | | | The line breaking code will pick it up there later. | ||||
* | Move ItemProperties | Matthias Clasen | 2022-01-24 | 3 | -129/+131 |
| | | | | | This will be used in multiple places going forward, so move it to pango-item.c | ||||
* | Add a paragraph attribute | Matthias Clasen | 2022-01-24 | 3 | -0/+43 |
| | | | | This will be used to implement single-paragraph mode. | ||||
* | pango-layout: export a helper | Matthias Clasen | 2022-01-24 | 1 | -1/+7 |
| | | | | | Make pango_layout_run_get_extents_and_height available for use outside of pango-layout.c. | ||||
* | itemize: Break paragraph separators | Matthias Clasen | 2022-01-24 | 1 | -5/+12 |
| | | | | | | We don't normally meet paragraph separators in the text that gets itemized. But if we do, we want them in their own items. | ||||
* | shape: Cosmetics | Matthias Clasen | 2022-01-24 | 1 | -5/+4 |
| | | | | Tweak a comment | ||||
* | break: Cosmetics | Matthias Clasen | 2022-01-24 | 1 | -12/+7 |
| | | | | Just rearrange the hyphen code slightly. | ||||
* | layout: Move enum types to pango-types.h | Matthias Clasen | 2022-01-24 | 2 | -64/+65 |
| | | | | This will make it easier to rearrange things later. | ||||
* | attributes: Better error message | Matthias Clasen | 2022-01-24 | 1 | -1/+6 |
| | | | | Mention relevant details | ||||
* | Merge branch 'matthiasc/for-main' into 'main' | Matthias Clasen | 2022-01-21 | 3 | -16/+16 |
|\ | | | | | | | | | Quiet down break tests See merge request GNOME/pango!582 | ||||
| * | Quiet down break tests | Matthias Clasen | 2022-01-21 | 2 | -15/+15 |
| | | | | | | | | | | | | | | | | | | The output from the testboundaries tests just overwhelms the test reports and makes it hard to find the actual problems. Stop that. You can still get the noise, by passing --verbose to the tests. | ||||
| * | docs: Fix a typo | Matthias Clasen | 2022-01-21 | 1 | -1/+1 |
|/ | |||||
* | Merge branch 'fix-allow-breaks' into 'main' | Matthias Clasen | 2022-01-21 | 2 | -4/+4 |
|\ | | | | | | | | | Fix allow_breaks handling See merge request GNOME/pango!581 | ||||
| * | Fix allow_breaks handlingfix-allow-breaks | Matthias Clasen | 2022-01-20 | 2 | -4/+4 |
|/ | | | | | | | | | handling of segmentation attributes can introduce line breaks, after we removed them in allow_breaks handling. Change the order to handle allow_breaks last, so this doesn't happen. Update affected tests. | ||||
* | Merge branch 'fix-asciid-call' into 'main' | Matthias Clasen | 2022-01-18 | 7 | -20/+20 |
|\ | | | | | | | | | | | | | Fix a g_ascii_formatd call Closes #659 See merge request GNOME/pango!580 | ||||
| * | Fix a g_ascii_formatd callfix-asciid-call | Matthias Clasen | 2022-01-18 | 7 | -20/+20 |
|/ | | | | | | | | | | | We were passing a format specifier that starts with ' ', which some implementations of that API don't like. This change removes an extraneous space from the output. Update affected tests. Fixes: #659 | ||||
* | Merge branch 'no-fontmap-no-fun' into 'main' | Matthias Clasen | 2022-01-14 | 2 | -3/+5 |
|\ | | | | | | | | | | | | | Check for fontmaps Closes #658 See merge request GNOME/pango!578 | ||||
| * | Check for fontmapsno-fontmap-no-fun | Matthias Clasen | 2022-01-14 | 1 | -0/+2 |
| | | | | | | | | | | | | | | To avoid trivialities, check that our context has a fontmap, at a strategic place. Fixes: #658 | ||||
| * | docs: Fix a typo | Matthias Clasen | 2022-01-14 | 1 | -3/+3 |
|/ | |||||
* | Merge branch 'deprecate-coverage-ref' into 'main' | Matthias Clasen | 2022-01-10 | 12 | -21/+49 |
|\ | | | | | | | | | Drop uses of pango_coverage_ref/unref See merge request GNOME/pango!577 | ||||
| * | Deprecate pango_coverage_ref/unrefdeprecate-coverage-ref | Matthias Clasen | 2022-01-10 | 2 | -3/+7 |
| | | | | | | | | These are just wrappers of g_object_ref/unref. | ||||
| * | Drop uses of pango_coverage_ref/unref | Matthias Clasen | 2022-01-10 | 9 | -18/+18 |
| | | | | | | | | Just use g_object_ref/unref. |