summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix testserializeMatthias Clasen2022-01-241-4/+1
|
* tests: Update expected results for breaksMatthias Clasen2022-01-241-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 testrandomMatthias Clasen2022-01-241-21/+21
|
* utils: Port pango-segmentationMatthias Clasen2022-01-241-7/+6
|
* Port test-pangocairo-threadsMatthias Clasen2022-01-241-9/+12
|
* testmisc: fix buildMatthias Clasen2022-01-241-1/+1
|
* Port testmisc to simple layoutMatthias Clasen2022-01-241-145/+148
|
* testiter: more fixesMatthias Clasen2022-01-241-74/+74
|
* Port test-ellipsize to simple layoutMatthias Clasen2022-01-241-26/+26
|
* Port test-break to simple layoutMatthias Clasen2022-01-241-21/+6
|
* test-layout: port to simple-paraMatthias Clasen2022-01-241-6/+8
|
* Port test-bidi to simple layoutMatthias Clasen2022-01-241-54/+68
|
* Port examplesMatthias Clasen2022-01-243-221/+223
|
* debug: check invariants in pango-layout tooMatthias Clasen2022-01-241-0/+53
| | | | | this is for comparison purposes, and to see what to aim for.
* Add a text flow exampleMatthias Clasen2022-01-242-0/+135
| | | | | | | This formats text in two columns. Use it like: columns INPUT OUTPUT
* Add a parshape exampleMatthias Clasen2022-01-244-0/+128
| | | | | | | | | Use it like: parshape INPUT OUTPUT There's two input files provided. One in Latin and one in Hebrew.
* serializer: fix buildMatthias Clasen2022-01-241-43/+3
|
* Implement serialization for PangoSimpleLayoutMatthias Clasen2022-01-242-12/+483
|
* Implement rendering for PangoLineMatthias Clasen2022-01-245-84/+375
|
* Add PangoLineIterMatthias Clasen2022-01-249-0/+1011
|
* Add PangoSimpleLayoutMatthias Clasen2022-01-244-0/+1700
| | | | | This is a simplified reimplementation of PangoLayout around PangoLineBreaker and PangoLines.
* Add PangoLinesMatthias Clasen2022-01-245-0/+1337
| | | | | This is an array of positioned PangoLine objects.
* Add PangoLineBreakerMatthias Clasen2022-01-244-0/+2698
| | | | This is the guts of PangoLayout, spilled out.
* Implement ellipsization for PangoLineMatthias Clasen2022-01-241-88/+145
|
* Add PangoLineMatthias Clasen2022-01-245-0/+1715
| | | | | This is an opaque, immutable object holding a line of shaped text.
* Add PangoLayoutRunMatthias Clasen2022-01-245-0/+212
| | | | | Make this a separate type from PangoGlyphItem, and give it some minimal api.
* Add PangoLeadingTrimMatthias Clasen2022-01-241-0/+24
|
* Add PangoAlignmentMatthias Clasen2022-01-241-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 ItemPropertiesMatthias Clasen2022-01-242-12/+18
| | | | | The line breaking code will pick it up there later.
* Move ItemPropertiesMatthias Clasen2022-01-243-129/+131
| | | | | This will be used in multiple places going forward, so move it to pango-item.c
* Add a paragraph attributeMatthias Clasen2022-01-243-0/+43
| | | | This will be used to implement single-paragraph mode.
* pango-layout: export a helperMatthias Clasen2022-01-241-1/+7
| | | | | Make pango_layout_run_get_extents_and_height available for use outside of pango-layout.c.
* itemize: Break paragraph separatorsMatthias Clasen2022-01-241-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: CosmeticsMatthias Clasen2022-01-241-5/+4
| | | | Tweak a comment
* break: CosmeticsMatthias Clasen2022-01-241-12/+7
| | | | Just rearrange the hyphen code slightly.
* layout: Move enum types to pango-types.hMatthias Clasen2022-01-242-64/+65
| | | | This will make it easier to rearrange things later.
* attributes: Better error messageMatthias Clasen2022-01-241-1/+6
| | | | Mention relevant details
* Merge branch 'matthiasc/for-main' into 'main'Matthias Clasen2022-01-213-16/+16
|\ | | | | | | | | Quiet down break tests See merge request GNOME/pango!582
| * Quiet down break testsMatthias Clasen2022-01-212-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 typoMatthias Clasen2022-01-211-1/+1
|/
* Merge branch 'fix-allow-breaks' into 'main'Matthias Clasen2022-01-212-4/+4
|\ | | | | | | | | Fix allow_breaks handling See merge request GNOME/pango!581
| * Fix allow_breaks handlingfix-allow-breaksMatthias Clasen2022-01-202-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 Clasen2022-01-187-20/+20
|\ | | | | | | | | | | | | Fix a g_ascii_formatd call Closes #659 See merge request GNOME/pango!580
| * Fix a g_ascii_formatd callfix-asciid-callMatthias Clasen2022-01-187-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 Clasen2022-01-142-3/+5
|\ | | | | | | | | | | | | Check for fontmaps Closes #658 See merge request GNOME/pango!578
| * Check for fontmapsno-fontmap-no-funMatthias Clasen2022-01-141-0/+2
| | | | | | | | | | | | | | To avoid trivialities, check that our context has a fontmap, at a strategic place. Fixes: #658
| * docs: Fix a typoMatthias Clasen2022-01-141-3/+3
|/
* Merge branch 'deprecate-coverage-ref' into 'main'Matthias Clasen2022-01-1012-21/+49
|\ | | | | | | | | Drop uses of pango_coverage_ref/unref See merge request GNOME/pango!577
| * Deprecate pango_coverage_ref/unrefdeprecate-coverage-refMatthias Clasen2022-01-102-3/+7
| | | | | | | | These are just wrappers of g_object_ref/unref.
| * Drop uses of pango_coverage_ref/unrefMatthias Clasen2022-01-109-18/+18
| | | | | | | | Just use g_object_ref/unref.