summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix move pango_layout_move_cursor_visuallyfix-rtl-cursor-moveMatthias Clasen2022-03-312-3/+4
| | | | | | | | | | When moving the cursor off the paragraph end to the left in RTL text, we were moving to the previous line, and not to the next line, as expected. Test included. Fixes: #679
* 1.50.61.50.6Matthias Clasen2022-03-192-1/+8
|
* Merge branch 'attr-list-bad-access' into 'main'Matthias Clasen2022-03-192-0/+26
|\ | | | | | | | | | | | | AVoid a use-after-free in pango_attr_list_change Closes #678 See merge request GNOME/pango!603
| * AVoid a use-after-free in pango_attr_list_changeMatthias Clasen2022-03-182-0/+26
|/ | | | | | | | | This was showing up as crashes in pitivi and inkscape. The added test does not crash, but it does produce the wrong result without the fix. Fixes: #678
* Merge branch 'matthiasc/for-main' into 'main'Matthias Clasen2022-03-193-0/+48
|\ | | | | | | | | ci: Use the timeout multiplier when running tests See merge request GNOME/pango!605
| * Maintain order in pango_attr_list_changeMatthias Clasen2022-03-182-0/+47
| | | | | | | | | | | | | | When PangoAttrList was changed to use an array, we lost the code that maintained non-decreasing order in pango_attr_list_change. Bring it back, and add a test for this.
| * ci: Use the timeout multiplier when running testsMatthias Clasen2022-03-181-0/+1
|/
* Merge branch 'matthiasc/for-main' into 'main'Matthias Clasen2022-03-159-147/+433
|\ | | | | | | | | Fix test font configuration See merge request GNOME/pango!601
| * Add a fontset testMatthias Clasen2022-03-146-0/+286
| | | | | | | | | | This tests that our test font configuration produces the expected font enumerations.
| * Fix test font configurationMatthias Clasen2022-03-133-147/+147
|/ | | | | | | We were not actually preferring a monospace font for the monospace alias. Update affected tests.
* Merge branch 'matthiasc/for-main' into 'main'Matthias Clasen2022-03-092-7/+10
|\ | | | | | | | | | | | | Drop the hb-glib dependency again Closes #674 See merge request GNOME/pango!599
| * Drop the hb-glib dependency againMatthias Clasen2022-03-092-7/+10
|/ | | | | | It is not really needed. Fixes: #674
* Merge branch 'matthiasc/for-main' into 'main'Matthias Clasen2022-03-091-2/+0
|\ | | | | | | | | pango-view: Remove debug spew See merge request GNOME/pango!598
| * pango-view: Remove debug spewMatthias Clasen2022-03-091-2/+0
|/
* 1.50.51.50.5Matthias Clasen2022-03-051-1/+1
|
* UpdatesMatthias Clasen2022-03-031-0/+8
|
* Merge branch 'install_standard_docs_dir_devhelp' into 'main'Matthias Clasen2022-02-271-1/+1
|\ | | | | | | | | docs: Don't install in doc/pango/reference folder See merge request GNOME/pango!596
| * docs: Don't install in doc/pango/reference folderVanadiae2022-02-241-1/+1
|/ | | | | | | | | | | | | | | | Currently Devhelp (and hence Builder) cannot find the pango documentation, which means that all pango classes/enums links from GTK open the online version of the pango docs instead of using the local one. This is because pango installs its documentation in a subfolder under $datadir/doc/pango/reference instead of $datadir/doc/pango*/ where devhelp would be able to detect the pango*.devhelp2 file and hence show the pango docs. I assume the reason to put those docs in a subfolder is to keep the pango docs "tidy" since there can be 6 of them. But not having them available in devhelp makes the whole point of having docs installed moot, and as such I believe the inconvenient of having 6 different Pango* documentation in the devhelp list are less important than being able to actually use the offline installed documentation. Hence this commit changes the docs install directory to $datadir/doc.
* Merge branch 'meson-msvc-cleanup' into 'main'Matthias Clasen2022-02-222-67/+18
|\ | | | | | | | | Meson: Clean up on Visual Studio builds See merge request GNOME/pango!595
| * meson: Clean up FreeType searchChun-wei Fan2022-02-211-21/+9
| | | | | | | | | | | | | | Use CMake's built-in support to look for FreeType2 on Visual Studio-like builds, by using the 'freetype' package name, since it is what CMake expects. This cleans the Meson build files a bit and CMake would do more comprehensive work to help us find FreeType.
| * meson.build: Remove strap FontConfig itemsChun-wei Fan2022-02-211-4/+0
| | | | | | | | Drop items that are actually not used.
| * Meson: Clean up HarfBuzz searchChun-wei Fan2022-02-212-42/+9
|/ | | | | | | | | | | Pango 1.50.x and later require a HarfBuzz version that is buildable via Meson, so we can just use the standard dependency() call for HarfBuzz for all builds. This means that we can drop all the items where we search for HarfBuzz manually. Also remove the stray HarfBuzz items that are no longer used.
* Merge branch 'baseline-handling' into 'main'Matthias Clasen2022-02-172-3/+181
|\ | | | | | | | | Handle baselines See merge request GNOME/pango!589
| * layout: Handle baselinesbaseline-handlingMatthias Clasen2022-02-171-2/+64
| | | | | | | | | | | | | | During post-processing for lines, take into account the baselines for each run, and shift them vertically to align them on the dominant baseline.
| * pango-view: Show more baselinesMatthias Clasen2022-02-171-1/+117
| | | | | | | | | | | | | | | | | | With --annotation=run-baselines, show the baselines from the BASE table for each run, if harfbuzz knows them. We draw a solid line for baselines that come from the BASE table, and a dashed line for baselines that are synthesized.
* | Merge branch 'ebassi/gi-main-branch' into 'main'Matthias Clasen2022-02-171-1/+1
|\ \ | |/ |/| | | | | Rename GObject Introspection devel branch See merge request GNOME/pango!592
| * Rename GObject Introspection devel branchEmmanuele Bassi2022-02-171-1/+1
|/ | | | | The GObject Introspection project renamed its default development branch to "main".
* Merge branch 'for-main' into 'main'Matthias Clasen2022-02-162-3/+2
|\ | | | | | | | | Enable Cairo by default See merge request GNOME/pango!591
| * Remove options from cairo subproject Benjamin Otte2022-02-161-2/+1
| | | | | | Cairo is a proper meson project now, and force-enabling fontconfig and freetype broke the CI build on MacOS.
| * Enable Cairo by default Benjamin Otte2022-02-161-1/+1
|/ | | | | | | Most builds of Pango want cairo enabled. So it seems better to enable it by default and throw an error than to silently disable it, and make the few people who do want it disabled pass a flag to meson. Related gtk!4487
* Merge branch 'install-bold-font' into 'main'Matthias Clasen2022-02-161-0/+1
|\ | | | | | | | | tests: Install DejaVuSans-Bold.ttf for use by installed-tests See merge request GNOME/pango!590
| * tests: Install DejaVuSans-Bold.ttf for use by installed-testsSimon McVittie2022-02-161-0/+1
|/ | | | | | f494181f added this but didn't install it. Related to #648. Signed-off-by: Simon McVittie <smcv@debian.org>
* Merge branch 'minor-cleanups' into 'main'Matthias Clasen2022-02-157-23/+28
|\ | | | | | | | | cosmetics See merge request GNOME/pango!587
| * Revert "Fix layout tests"minor-cleanupsMatthias Clasen2022-02-152-16/+16
| | | | | | | | This reverts commit 053c9ff8ab00d6d7d4b7cbe8aeeaca58c0982df1.
| * cosmeticsMatthias Clasen2022-02-151-1/+1
| | | | | | | | No need to check harfbuzz_dep. We require it.
| * utils: Use common cflagsMatthias Clasen2022-02-151-3/+3
| |
| * 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