Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add a test for text_transform in markuptext-transform-3 | Matthias Clasen | 2021-08-20 | 2 | -0/+20 |
| | |||||
* | tests: Use en_US.UTF8 instead of C | Matthias Clasen | 2021-08-20 | 1 | -1/+1 |
| | | | | | The C locale gives us heartburn wrt to any non-ASCII chars. | ||||
* | Documentation tweaks | Matthias Clasen | 2021-08-20 | 1 | -27/+28 |
| | |||||
* | shaping: implement text transform | Matthias Clasen | 2021-08-20 | 1 | -81/+167 |
| | | | | | | Transform the text we hand to harfbuzz, as prescribed by the text transform attributes we have. This uses the log attrs to find word starts. | ||||
* | layout: Use pango_shape_item | Matthias Clasen | 2021-08-20 | 1 | -4/+5 |
| | | | | Use the new API, and pass our log attrs along. | ||||
* | Add pango_shape_item | Matthias Clasen | 2021-08-20 | 2 | -38/+103 |
| | | | | | | Add a pango_shape API variant that takes log attrs, so we can implement text transforms that depend on word boundaries, in the future. | ||||
* | tests: Handle text transform attrs | Matthias Clasen | 2021-08-20 | 1 | -0/+1 |
| | |||||
* | layout: Text transform affects shape | Matthias Clasen | 2021-08-20 | 1 | -0/+1 |
| | | | | | Classify text transform as an attribute that affects shaping. It will, in the future. | ||||
* | markup: Add a text transform attribute | Matthias Clasen | 2021-08-20 | 5 | -0/+68 |
| | | | | | | Add a PangoTextTransform enum, a PangoAttribute to set it on runs of text, and support for parsing it out of markup. | ||||
* | Merge branch 'matthiasc/for-main' into 'main' | Matthias Clasen | 2021-08-20 | 2 | -58/+17 |
|\ | | | | | | | | | Cosmetics See merge request GNOME/pango!420 | ||||
| * | Cosmetics | Matthias Clasen | 2021-08-20 | 2 | -58/+17 |
|/ | | | | Streamline the internals of shape.c a bit. | ||||
* | Merge branch 'matthiasc/for-main' into 'main' | Matthias Clasen | 2021-08-20 | 1 | -1/+1 |
|\ | | | | | | | | | Fix the build See merge request GNOME/pango!419 | ||||
| * | Fix up header inclusions | Matthias Clasen | 2021-08-20 | 1 | -1/+1 |
|/ | | | | | This worked for building pango itself, but not for using it. | ||||
* | Merge branch 'code-reorg' into 'main' | Matthias Clasen | 2021-08-20 | 24 | -2745/+2911 |
|\ | | | | | | | | | Cosmetics: Clean up pango-context.h See merge request GNOME/pango!418 | ||||
| * | Some code reorgcode-reorg | Matthias Clasen | 2021-08-20 | 1 | -506/+531 |
| | | | | | | | | Reshuffle pango-attributes.c internally. | ||||
| * | Cosmetics: Reorganize pango-attributes.h | Matthias Clasen | 2021-08-20 | 1 | -220/+214 |
| | | |||||
| * | Include pango-language.h | Matthias Clasen | 2021-08-20 | 1 | -0/+1 |
| | | |||||
| * | Cosmetics: Reindent pango-language.h | Matthias Clasen | 2021-08-20 | 2 | -20/+22 |
| | | |||||
| * | Cosmetics: Reindent pango-break.h | Matthias Clasen | 2021-08-20 | 1 | -28/+23 |
| | | |||||
| * | Cosmetics: Move a function around | Matthias Clasen | 2021-08-20 | 4 | -111/+108 |
| | | | | | | | | | | pango_find_paragraph_boundary has nothing to do with breaks, so move it to pango-utils.h | ||||
| * | Cosmetics: Reindent pango-glyph.h | Matthias Clasen | 2021-08-20 | 1 | -62/+65 |
| | | |||||
| * | Cosmetics: Move a function around | Matthias Clasen | 2021-08-20 | 3 | -7/+10 |
| | | | | | | | | | | Move pango_reorder_items to pango-item.h, since it is abou items, not about glyphs. | ||||
| * | Some more code reorg | Matthias Clasen | 2021-08-20 | 3 | -507/+496 |
| | | | | | | | | | | We use harfbuzz shaping on all platforms now, so just merge the code into shape.c | ||||
| * | Some code reorg | Matthias Clasen | 2021-08-20 | 7 | -1151/+1244 |
| | | | | | | | | | | Split the itemization code into its own file, and move things around a bit. | ||||
| * | Cosmetics: Reindent pango-item.h | Matthias Clasen | 2021-08-20 | 1 | -23/+24 |
| | | |||||
| * | Cosmetics: Reindent pango-context.h | Matthias Clasen | 2021-08-20 | 1 | -49/+41 |
| | | |||||
| * | Cosmetics: Clean up pango-context.h | Matthias Clasen | 2021-08-20 | 4 | -18/+20 |
| | | | | | | | | | | Move itemize functions to pango-item.h, and move the PangoContext typedef to pango-types.h. | ||||
| * | Cosmetics: Split off pango-color.h | Matthias Clasen | 2021-08-20 | 4 | -46/+78 |
| | | |||||
| * | Cosmetics: Split off pango-markup.h | Matthias Clasen | 2021-08-20 | 5 | -19/+56 |
|/ | |||||
* | Merge branch 'block-cursor-fixes' into 'main' | Matthias Clasen | 2021-08-20 | 3 | -143/+320 |
|\ | | | | | | | | | pango-view: Change annotation handling See merge request GNOME/pango!417 | ||||
| * | layout: Fix some wrapped line start positionsblock-cursor-fixes | Matthias Clasen | 2021-08-20 | 1 | -1/+2 |
| | | | | | | | | | | Make pango_layout_index_to_pos report non-empty pos for the first position in a wrapped line. | ||||
| * | layout: Fix some end-of-line position | Matthias Clasen | 2021-08-20 | 1 | -7/+8 |
| | | | | | | | | | | Make pango_layout_index_to_pos report non-empty rectangles at the end of a line. | ||||
| * | Fix pango_layout_index_to_pos results | Matthias Clasen | 2021-08-20 | 1 | -6/+9 |
| | | | | | | | | | | We were returning wildly incorrect results for anything but the first run in a line. | ||||
| * | Add a layout extents check | Matthias Clasen | 2021-08-20 | 1 | -0/+72 |
| | | | | | | | | | | Add a check that tests that layout, line, run, cluster and char extents are nested as expected. | ||||
| * | pango-view: Change annotation handling | Matthias Clasen | 2021-08-19 | 1 | -129/+229 |
|/ | | | | | Make this separate flags, so things can be turned on and off separately. | ||||
* | Merge branch 'log-attr-language' into 'main' | Matthias Clasen | 2021-08-19 | 1 | -0/+1 |
|\ | | | | | | | | | Use the language we are given See merge request GNOME/pango!415 | ||||
| * | Use the language we are givenlog-attr-language | Matthias Clasen | 2021-08-19 | 1 | -0/+1 |
|/ | | | | | | pango_get_log_attrs was not using its language argument at all. Pass it into pango_default_break as part of the PangoAnalysis struct. | ||||
* | Merge branch 'document-tabs' into 'main' | Matthias Clasen | 2021-08-19 | 1 | -1/+12 |
|\ | | | | | | | | | | | | | Document incompatibility of tabs and justification Closes #595 See merge request GNOME/pango!414 | ||||
| * | Document incompatibility of tabs and justificationdocument-tabs | Matthias Clasen | 2021-08-19 | 1 | -1/+12 |
|/ | | | | | | Not great, but these *are* conflicting features. Fixes: #595 | ||||
* | Merge branch 'glyph-string-const-char' into 'main' | Matthias Clasen | 2021-08-17 | 2 | -24/+24 |
|\ | | | | | | | | | Add a few missing const See merge request GNOME/pango!412 | ||||
| * | Add a few missing constglyph-string-const-char | Matthias Clasen | 2021-08-17 | 2 | -24/+24 |
| | | | | | | | | | | We should only pass char * when we actually modify the string. Everything else is const char *. | ||||
* | | Merge branch 'fix-gravity-error' into 'main' | Matthias Clasen | 2021-08-17 | 2 | -2/+2 |
|\ \ | |/ | | | | | | | | | | | Correct an error message Closes #598 See merge request GNOME/pango!410 | ||||
| * | Correct an error messagefix-gravity-error | Matthias Clasen | 2021-08-17 | 2 | -2/+2 |
| | | | | | | | | | | | | Update affected tests Fixes: #598 | ||||
* | | Merge branch 'fribidi-api' into 'main' | Matthias Clasen | 2021-08-17 | 1 | -22/+0 |
|\ \ | |/ |/| | | | | | bidi: Cleanup FriBiDi API usage See merge request GNOME/pango!411 | ||||
| * | bidi: Cleanup FriBiDi API usage | Khaled Hosny | 2021-08-17 | 1 | -22/+0 |
|/ | | | | Since FriBiDi 1.x is now required, we can remove use of pre-1.x API. | ||||
* | Merge branch 'add-multani-gravity' into 'main' | Matthias Clasen | 2021-08-17 | 1 | -0/+1 |
|\ | | | | | | | | | | | | | gravity: Add missing Multani script Closes #597 See merge request GNOME/pango!408 | ||||
| * | gravity: Add missing Multani scriptadd-multani-gravity | Matthias Clasen | 2021-08-17 | 1 | -0/+1 |
|/ | | | | | | | An unfortunate oversight in 709af063 omitted Multani, and threw the rest of the table off. Fixes: #597 | ||||
* | Merge branch 'fribidi-version' into 'main' | Matthias Clasen | 2021-08-17 | 1 | -1/+1 |
|\ | | | | | | | | | build: Raise required fribidi version See merge request GNOME/pango!407 | ||||
| * | build: Raise required fribidi version | Matt Turner | 2021-08-12 | 1 | -1/+1 |
|/ | | | | | | Pango uses the FRIBIDI_TYPE_RLI macro. It was not usable until fribidi commit 46f52d588ab5 ("Fixed bug PFRIBIDI_TYPE_PDF_LRI is undefined. Issue #69") which was first included in v1.0.6. | ||||
* | Merge branch 'fix-issue-592' into 'main' | Matthias Clasen | 2021-08-11 | 1 | -1/+1 |
|\ | | | | | | | | | | | | | Add check for a NULL font in PangoAnalysis structure Closes #592 See merge request GNOME/pango!405 |