summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* shape: More tweaks to space handlingMatthias Clasen2021-12-173-22/+40
| | | | | | | | | | | | | | It is a difficult dance between HarfBuzz and pango which glyphs we let hb synthesize, and which ones we need to fake ourselves. HarfBuzz knows how to create other spaces from 0x20, so if the font is lacking spaces, we want to tell HarfBuzz that we don't have that glyph *except* for 0x20 where we need to fake one, and provide HarfBuzz with a suitable width. Update affected tests.
* Merge branch 'fix-vertical-regression' into 'main'Matthias Clasen2021-12-1717-57/+331
|\ | | | | | | | | Revert "Fix advance widths with transforms" See merge request GNOME/pango!556
| * Revert "Fix advance widths with transforms"fix-vertical-regressionMatthias Clasen2021-12-1717-57/+331
| | | | | | | | | | | | | | | | | | This reverts commit ccb651dd2a876a4f4a4cb9351f05332173e709ba. This broke vertical text rendering, see https://gitlab.com/inkscape/inkscape/-/issues/2950. Update affected tests and add a vertical test.
* | Merge branch 'viewer-serialize-output' into 'main'Matthias Clasen2021-12-171-2/+17
|\ \ | |/ | | | | | | pango-view: Add --serialize-to option See merge request GNOME/pango!555
| * pango-view: Add --serialize-to optionviewer-serialize-outputMatthias Clasen2021-12-171-2/+17
|/ | | | Add an option to produce a serialized output.
* Merge branch 'doc-no-pangoot' into 'main'Matthias Clasen2021-12-171-23/+23
|\ | | | | | | | | docs: Don't build pangoot bits if not enabled See merge request GNOME/pango!554
| * docs: Don't build pangoot bits if not enableddoc-no-pangootChun-wei Fan2021-12-171-23/+23
|/ | | | | PangoOT is actually a part of PangoFT2, so don't attempt to build its docs if FontConfig is not found.
* 1.50.21.50.2Matthias Clasen2021-12-162-1/+8
|
* Merge branch 'fix-spaceless-fonts' into 'main'Matthias Clasen2021-12-167-14/+160
|\ | | | | | | | | | | | | Fix handling of space-less fonts Closes #641 See merge request GNOME/pango!552
| * Fix handling of space-less fontsfix-spaceless-fontsMatthias Clasen2021-12-167-14/+160
| | | | | | | | | | | | | | | | | | | | | | HarfBuzz knows how to synthesize spaces, we just need to tickle it in the right way. Test included. Update affected tests. Fixes: #641
* | Merge branch 'arabic-format' into 'main'Matthias Clasen2021-12-165-18/+114
|\ \ | |/ | | | | | | | | | | Fix Arabic format chars Closes #642 See merge request GNOME/pango!553
| * Add a test for 0x6ddarabic-formatMatthias Clasen2021-12-164-0/+92
| | | | | | | | This tests the fix in the previous commit.
| * Fix Arabic format charsMatthias Clasen2021-12-161-18/+22
| | | | | | | | | | | | | | We can't treat these like spaces, since they are visible and need the proper font. Fixes: #642
* | Merge branch 'missing-include' into 'main'Matthias Clasen2021-12-161-0/+1
|\ \ | |/ |/| | | | | | | | | Add a missing include Closes #640 See merge request GNOME/pango!551
| * Add a missing includemissing-includeMatthias Clasen2021-12-161-0/+1
|/ | | | | | This was breaking the build on some macOs versions. Fixes: #640
* Merge branch 'fix-x32' into 'main'Matthias Clasen2021-12-131-1/+1
|\ | | | | | | | | | | | | pango-item-private.h: fix x86-64 x32 builds Closes #637 See merge request GNOME/pango!548
| * pango-item-private.h: fix x86-64 x32 buildsAlexander Kanavin2021-12-131-1/+1
|/ | | | Fixes: #637
* Merge branch 'stdlib-h' into 'main'Matthias Clasen2021-12-131-0/+1
|\ | | | | | | | | gtkjsonparser.c: Include stdlib.h See merge request GNOME/pango!547
| * gtkjsonparser.c: Include stdlib.hChun-wei Fan2021-12-131-0/+1
|/ | | | It is needed for strtol()/strtoul().
* Merge branch 'fix-pango-view-options' into 'main'Matthias Clasen2021-12-111-3/+3
|\ | | | | | | | | Fix pango-view option handling See merge request GNOME/pango!546
| * Fix pango-view option handlingfix-pango-view-optionsMatthias Clasen2021-12-111-3/+3
|/ | | | | The --serialized option did not quite work as expected.
* Merge branch 'misc-doc-fixups' into 'main'Matthias Clasen2021-12-1125-179/+224
|\ | | | | | | | | docs: Various improvements See merge request GNOME/pango!545
| * docs: Cosmeticsmisc-doc-fixupsMatthias Clasen2021-12-1013-161/+169
| | | | | | | | | | Add more links to GLib apis and to various Unicode specs.
| * docs: Some cross-linkingMatthias Clasen2021-12-101-2/+6
| |
| * docs: CosmeticsMatthias Clasen2021-12-101-1/+1
| |
| * docs: Expand PangoTabArray docsMatthias Clasen2021-12-102-7/+11
| |
| * docs: Add a missing imageMatthias Clasen2021-12-101-0/+1
| |
| * Document new variant valuesMatthias Clasen2021-12-102-2/+5
| |
| * docs: Various improvementsMatthias Clasen2021-12-107-6/+31
|/ | | | Add a urlmap file, and fix the license tags.
* 1.50.11.50.1Matthias Clasen2021-12-102-3/+3
|
* tests: Cover new tab alignmentsMatthias Clasen2021-12-101-7/+15
|
* Merge branch 'bilelmoussaoui/gi' into 'main'Matthias Clasen2021-12-101-0/+6
|\ | | | | | | | | g-i: add missing since annotations See merge request GNOME/pango!544
| * g-i: add missing since annotationsBilal Elmoussaoui2021-12-101-0/+6
|/
* Merge branch 'bump-ci-image' into 'main'Matthias Clasen2021-12-103-4/+10
|\ | | | | | | | | ci: Rebase the image to Fedora 34 See merge request GNOME/pango!542
| * ci: Rebase the image to Fedora 34bump-ci-imageMatthias Clasen2021-12-102-4/+3
| | | | | | | | This gives us a newer meson, among other things.
| * NEWS: UpdatesMatthias Clasen2021-12-091-0/+7
|/
* Merge branch 'newer-json-parser' into 'main'Matthias Clasen2021-12-093-123/+439
|\ | | | | | | | | json: Fix up select_string See merge request GNOME/pango!541
| * serializer: Use gtk_json_parser_select_stringnewer-json-parserMatthias Clasen2021-12-091-101/+315
| | | | | | | | Take advantage of the new parser api.
| * json: Fix up select_stringMatthias Clasen2021-12-091-1/+1
| | | | | | | | There was a copy-paste error here.
| * Update to a newer json parserMatthias Clasen2021-12-092-22/+124
|/
* Merge branch 'broken-underlines' into 'main'Matthias Clasen2021-12-091-9/+16
|\ | | | | | | | | | | | | fc: Handle fonts with broken metrics better Closes #616 See merge request GNOME/pango!537
| * fc: Handle fonts with broken metrics betterMatthias Clasen2021-12-081-9/+16
| | | | | | | | | | | | | | | | | | It seems that some fonts don't have meaningful values for underline and strikethrough metrics. Ignore these font-provided values if they are zero. Fixes: #616
* | Merge branch 'tab-assert-fix' into 'main'Matthias Clasen2021-12-093-1/+187
|\ \ | | | | | | | | | | | | | | | | | | layout: Handle a corner case Closes #638 See merge request GNOME/pango!539
| * | layout: Handle a corner caseMatthias Clasen2021-12-093-1/+187
|/ / | | | | | | | | | | | | | | | | We can't break in a tab run. This fixes an assertion found by afl. Testcase included. Fixes: #638
* | Merge branch 'fix-break-latin' into 'main'Matthias Clasen2021-12-081-21/+19
|\ \ | |/ |/| | | | | | | | | Fix break-latin.c Closes #636 See merge request GNOME/pango!536
| * Fix break-latin.cMatthias Clasen2021-12-081-21/+19
|/ | | | | | | | The loop termination condition in break_latin() was incorrect. Fix this by copying the loop setup from break_arabic(). Fixes #636
* Merge branch 'fix-tabs-nowrap' into 'main'Matthias Clasen2021-12-077-17/+412
|\ | | | | | | | | | | | | Fix line width computation Closes #635 See merge request GNOME/pango!535
| * Fix line width computationMatthias Clasen2021-12-063-1/+390
| | | | | | | | | | | | | | | | | | | | We an only use the line_width - remaining_width shortcut if we are actually maintaining remaining_width, i.e. not if we don't wrap lines. Testcase included. Fixes: #635
| * Add a monospace font for ciMatthias Clasen2021-12-064-16/+22
| | | | | | | | Update affected test outputs.
* | Merge branch 'matthiasc/for-main' into 'main'Matthias Clasen2021-12-063-239/+765
|\ \ | |/ |/| | | | | Update the json parser See merge request GNOME/pango!534