summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* pango-segmentation: fix compiler warningsMatthias Clasen2022-02-151-3/+3
|
* pango-view: Fix compiler warningsMatthias Clasen2022-02-152-0/+5
|
* 1.50.41.50.4Matthias Clasen2022-02-092-1/+15
|
* Fix layout testsMatthias Clasen2022-02-092-16/+16
| | | | | There are unfortunately some rounding differences, which I believe are due to harfbuzz changes.
* Merge branch 'doc-fix' into 'main'Matthias Clasen2022-01-281-1/+1
|\ | | | | | | | | pango/pango-version-macros.h: Mention correct version check macro See merge request GNOME/pango!583
| * pango/pango-version-macros.h: Mention correct version check macroGuido Günther2022-01-271-1/+1
|/ | | | | Pango names it PANGO_VERSION_CHECK not PANGO_CHECK_VERSION (like glib). Fix the one incorrect mention in the documentation comment.
* 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.
| * Add version macros for 1.52Matthias Clasen2022-01-101-0/+24
|/
* Merge branch 'matthiasc/for-main' into 'main'Matthias Clasen2022-01-103-1/+15
|\ | | | | | | | | Matthiasc/for main See merge request GNOME/pango!576
| * fonts: Fix get_face default implMatthias Clasen2022-01-101-1/+1
| |
| * Add a default implementation for list_facesMatthias Clasen2022-01-101-0/+13
| |
| * Add a bold sans to the test font setupMatthias Clasen2022-01-102-0/+1
|/
* Merge branch 'attrlist-splice' into 'main'Matthias Clasen2022-01-102-3/+35
|\ | | | | | | | | | | | | Clarify pango_attr_list_splice docs Closes #653 See merge request GNOME/pango!574
| * Reinstate previous behavior or pango_attr_list_spliceattrlist-spliceMatthias Clasen2022-01-072-3/+35
| | | | | | | | | | | | | | | | | | | | If gap is zero, don't limit the inserted attributes; that does not make sense. Spell out the different use cases in the docs. Testcase included. Fixes: #653
| * Clarify pango_attr_list_splice docsMatthias Clasen2022-01-071-1/+1
| | | | | | | | | | Make it explicit that the spliced-in attributes are limited to the the 'gap'.
* | Merge branch 'bilelmoussaoui/gi' into 'main'Matthias Clasen2022-01-102-14/+8
|\ \ | |/ |/| | | | | g-i: add since annotations to enum members See merge request GNOME/pango!575
| * g-i: add since annotations to enum membersbilelmoussaoui/giBilal Elmoussaoui2022-01-082-14/+8
|/
* Merge branch 'matthiasc/for-main' into 'main'Matthias Clasen2022-01-071-1/+4
|\ | | | | | | | | | | | | Avoid an uninitialized variable warning Closes #650 See merge request GNOME/pango!573
| * Avoid an uninitialized variable warningMatthias Clasen2022-01-061-1/+4
|/ | | | Fixes: #650
* Merge branch 'wip/smcv/json-unsigned-char' into 'main'Matthias Clasen2022-01-051-1/+1
|\ | | | | | | | | | | | | serializer: Serialize non-ASCII correctly if char is unsigned Closes #652 See merge request GNOME/pango!572
| * serializer: Serialize non-ASCII correctly if char is unsignedSimon McVittie2022-01-041-1/+1
|/ | | | | | | | | | | | | If char is unsigned, the first byte of a non-trivial UTF-8 sequence will be 0x80 or higher, instead of being negative. In this case we need to process it as UTF-8, instead of printing only the first byte and then skipping to the next UTF-8 character. char is usually signed on x86 and some other architectures, but not on the ARM or PowerPC families, among others. Resolves: https://gitlab.gnome.org/GNOME/pango/-/issues/652 Signed-off-by: Simon McVittie <smcv@debian.org>
* Merge branch 'matthiasc/for-main' into 'main'Matthias Clasen2022-01-031-1/+4
|\ | | | | | | | | layout: Make sloped carets work better See merge request GNOME/pango!571
| * layout: Make sloped carets work betterMatthias Clasen2022-01-031-1/+4
|/ | | | | | | | When the font matrix has uneven scales, we need to factor that into the slope that we get from the font metrics. Tested with a condensed italic Cantarell.
* Merge branch 'matthiasc/for-main' into 'main'Matthias Clasen2022-01-023-0/+137
|\ | | | | | | | | Add a test for letterspacing See merge request GNOME/pango!570
| * Turn off hlig too when letterspacingMatthias Clasen2022-01-021-0/+1
| | | | | | | | Just for completeness.
| * Add a test for letterspacingMatthias Clasen2022-01-022-0/+136
| | | | | | | | | | This tests that we turn off ligatures when letterspacing is enabled.
* | Merge branch 'synthetic-slant' into 'main'Matthias Clasen2022-01-024-2/+72
|\ \ | |/ |/| | | | | Pass synthetic slant to harfbuzz See merge request GNOME/pango!474
| * Pass synthetic slant to harfbuzzsynthetic-slantMatthias Clasen2022-01-021-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | When our font matrix includes a slant, pass that information to HarfBuzz, so it can adjust its mark positioning, metrics like caret slope, etc. This commit corrects the code that pulls the font matrix out of fontconfig to properly take the flipped y axis between fontconfig and pango into account. Requires new api in HarfBuzz > 3.2
| * Add pango_matrix_get_slant_ratioMatthias Clasen2022-01-023-0/+62
|/ | | | | Add API to extract the slant ratio from a PangoMatrix. Tests included.
* Merge branch 'matthiasc/for-main' into 'main'Matthias Clasen2022-01-021-2/+2
|\ | | | | | | | | test-ellipsize: Tweak See merge request GNOME/pango!569
| * test-ellipsize: TweakMatthias Clasen2022-01-011-2/+2
|/ | | | | Best to compare precise sizes and take rounding out of the equation.
* Merge branch 'matthiasc/for-main' into 'main'Matthias Clasen2022-01-022-3/+14
|\ | | | | | | | | fontmap: Improve docs slightly See merge request GNOME/pango!568
| * font: Documentation additions and clarificationsMatthias Clasen2022-01-011-3/+9
| | | | | | | | | | Face names are not actually guaranteed to be unique, so don't say that.
| * fontmap: Improve docs slightlyMatthias Clasen2022-01-011-0/+5
|/ | | | Mention GListModel.
* Merge branch 'matthiasc/for-main' into 'main'Matthias Clasen2022-01-011-1/+1
|\ | | | | | | | | Cosmetics See merge request GNOME/pango!567
| * CosmeticsMatthias Clasen2022-01-011-1/+1
|/
* Merge branch 'matthiasc/for-main' into 'main'Matthias Clasen2021-12-255-11/+40
|\ | | | | | | | | | | | | tracing: Fix the defines Closes #648 See merge request GNOME/pango!565
| * Add fonts to installed testsMatthias Clasen2021-12-251-0/+14
| | | | | | | | Fixes: #648