summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Support size as percentage in markupmarkup-percentageMatthias Clasen2019-07-115-26/+84
| | | | | | Test included. Closes https://gitlab.gnome.org/GNOME/pango/issues/23
* test-itemize: Print out attributes tooMatthias Clasen2019-07-112-7/+125
| | | | Update existing tests.
* Merge branch 'attribute-boxes' into 'master'Matthias Clasen2019-07-112-0/+7
|\ | | | | | | | | | | | | Make PangoAttribute a boxed type Closes #259 See merge request GNOME/pango!78
| * Make PangoAttribute a boxed typeMatthias Clasen2019-07-112-0/+7
|/ | | | | | Based on a patch by Matijs van Zuijlen <matijs@matijs.net>. Closes https://gitlab.gnome.org/GNOME/pango/issues/259
* bidi: Be safer against bad inputMatthias Clasen2019-07-101-2/+5
| | | | | | | Don't run off the end of an array that we allocated to certain length. Closes: https://gitlab.gnome.org/GNOME/pango/issues/342
* Merge branch 'line-separator-font' into 'master'Matthias Clasen2019-07-101-0/+4
|\ | | | | | | | | itemize: Don't change font for line separator See merge request GNOME/pango!71
| * itemize: Don't change font for line separatorMatthias Clasen2019-07-081-0/+4
| | | | | | | | | | | | | | | | | | | | | | If we render this (in single-paragraph mode), we draw a hex box, so changing font just for the line separator is never useful, and in fact, counterproductive in cases where the font has a (typically empty) glyph for it. This fixes the [LS] or [PS] hex boxes not showing up in single-paragraph mode depending on font fallback.
* | Merge branch 'move-fc' into 'master'Matthias Clasen2019-07-104-19/+33
|\ \ | | | | | | | | | | | | Move fontconfig See merge request GNOME/pango!77
| * | Move pangofc to libpangoMatthias Clasen2019-07-091-8/+22
| | | | | | | | | | | | | | | Move the fontconfig+harfbuzz using parts to libpango, since we want to start using harfbuzz on all platforms.
| * | Reduce overlinkingMatthias Clasen2019-07-092-8/+8
| | | | | | | | | | | | | | | Only link libpangoxft and libpangocairo against xft and cairo.
| * | utils: Link against libpangocairoMatthias Clasen2019-07-091-1/+1
| | | | | | | | | | | | Same here.
| * | tests: Link against libpangocairoMatthias Clasen2019-07-091-2/+2
|/ / | | | | | | Some tests were not having the right dependencies.
* | install itemize test dataMatthias Clasen2019-07-091-0/+11
| |
* | install break test dataMatthias Clasen2019-07-091-0/+13
| |
* | Add a testcase for itemizationMatthias Clasen2019-07-092-0/+8
| | | | | | | | Seems that the testsuite fails without any.
* | Fix a compiler warningMatthias Clasen2019-07-091-1/+0
| |
* | Fix a typoMatthias Clasen2019-07-091-1/+1
| |
* | Merge branch 'kill-lang-engine' into 'master'Matthias Clasen2019-07-094-69/+19
|\ \ | | | | | | | | | | | | Remove lang engine use See merge request GNOME/pango!73
| * | Remove language engine remnantsMatthias Clasen2019-07-094-59/+3
| | | | | | | | | | | | | | | Drop all internal use of language engines. The lang_engine field in PangoAnalysis is now unused.
| * | break: Call break_script directlyMatthias Clasen2019-07-091-11/+17
| |/ | | | | | | No need to go through the engine api anymore.
* | Merge branch 'soft-hyphen-cleanup' into 'master'Matthias Clasen2019-07-095-51/+75
|\ \ | | | | | | | | | | | | Soft hyphen cleanup See merge request GNOME/pango!72
| * | Update testsMatthias Clasen2019-07-092-10/+5
| | | | | | | | | | | | | | | | | | test-break was using the is_soft_hyphen log attr that we've just removed again. Adapt, and update expected test output.
| * | Revert "break: Mark breaks induced by soft hyphens"Matthias Clasen2019-07-092-12/+2
| | | | | | | | | | | | This reverts commit 50b1e8532c5211cebd3cea935f9ac91a087d5c35.
| * | Don't rely on log attrs for soft hyphenMatthias Clasen2019-07-091-1/+12
| | | | | | | | | | | | | | | Instead, look at the pre- and post-break text to figure out what is needed.
| * | Separate out the soft hyphen handlingMatthias Clasen2019-07-091-29/+57
| |/ | | | | | | Move things into some helper functions.
* | Add an itemize testMatthias Clasen2019-07-092-0/+270
|/ | | | | | | | This is similar to test-break in that it produces useful output for understanding itemization. Non testcases for now. One issue is that this, like so many other tests is font-dependent.
* Add another break testcaseMatthias Clasen2019-07-072-0/+7
|
* test-break: Print line separator in hexMatthias Clasen2019-07-071-1/+3
| | | | This alternative is not useful.
* Add another break testcaseMatthias Clasen2019-07-072-0/+8
| | | | This one is taken from #218.
* Document the break testcaseMatthias Clasen2019-07-071-0/+1
|
* test-break: Skip initial comment in test filesMatthias Clasen2019-07-071-4/+12
| | | | This is useful for documenting tests.
* Merge branch 'break-test' into 'master'Matthias Clasen2019-07-073-7/+17
|\ | | | | | | | | Make the break test actually test things See merge request GNOME/pango!70
| * Make the break test actually test thingsMatthias Clasen2019-07-073-7/+17
|/ | | | | We were not diffing the output against the expected results.
* Merge branch 'soft-hyphen' into 'master'Matthias Clasen2019-07-077-3/+403
|\ | | | | | | | | Soft hyphen See merge request GNOME/pango!68
| * layout: Insert hyphens at soft hyphen breaksMatthias Clasen2019-07-071-1/+95
| | | | | | | | | | When we take a break at a soft hyphen, insert a visible hyphen.
| * Add a test for log attrsMatthias Clasen2019-07-074-0/+296
| | | | | | | | This is useful for exploring line breaking.
| * break: Mark breaks induced by soft hyphensMatthias Clasen2019-07-072-2/+12
| | | | | | | | | | | | Use a bit in PangoLogAttr to mark line breaks that are due to soft hyphens; we want to insert hyphens here later, if the break is taken.
* | Merge branch 'no-space-box' into 'master'Matthias Clasen2019-07-072-1/+52
|\ \ | |/ |/| | | | | Don't render hex boxes for space See merge request GNOME/pango!67
| * cairo: Give missing spaces a better widthMatthias Clasen2019-07-071-0/+46
| | | | | | | | | | We are not rendering hex boxes for missing spaces, so we don't need to give them the hex box width.
| * cairo: Don't render hex box for spaceMatthias Clasen2019-07-071-1/+6
|/ | | | | | Even if a font has no space glyph, we don't want to render a hex box for it, since just rendering nothing does a decent approximation of space.
* Keep PangoFontmap derivableMatthias Clasen2019-07-072-91/+71
| | | | This functionality is used in PackageKit.
* Merge branch 'install-test-option' into 'master'Matthias Clasen2019-07-063-6/+18
|\ | | | | | | | | | | | | Make installed tests optional Closes #354 See merge request GNOME/pango!66
| * ci: Install glibc-langpack-enMatthias Clasen2019-07-061-0/+1
| | | | | | | | We need a Unicode locale.
| * ci: preserve logsMatthias Clasen2019-07-061-0/+5
| | | | | | | | Hard to find out what is going wrong, otherwise.
| * Make installed tests optionalMatthias Clasen2019-07-062-6/+12
|/ | | | Closes: https://gitlab.gnome.org/GNOME/pango/issues/354
* Remove an unused labelMatthias Clasen2019-07-061-1/+0
|
* Avoid a critical from markup parsingMatthias Clasen2019-07-051-0/+13
| | | | | | gravity='auto' is not a valid value here. Closes: https://gitlab.gnome.org/GNOME/pango/issues/203
* Forgotten fileMatthias Clasen2019-07-051-0/+2
|
* Merge branch 'line-height' into 'master'Matthias Clasen2019-07-0514-91/+800
|\ | | | | | | | | Support line height See merge request GNOME/pango!64
| * Update docsMatthias Clasen2019-07-054-3/+500
| | | | | | | | Make a new image for layout parameters.