summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* fc: Notify :n-items when neededlistmodel-propertiesMatthias Clasen2022-06-101-0/+2
| | | | | Notify :n-items when reloading the configuration, since that may change the number of families.
* Add listmodel properties to PangoFontMapMatthias Clasen2022-06-101-0/+59
| | | | | Add :item-type and :n-items properties, which make the list model implementation more useful.
* Add listmodel properties to PangoFontFamilyMatthias Clasen2022-06-101-1/+56
| | | | | Add :item-type and :n-items properties, which make the list model implementation more useful.
* Merge branch 'update-ci' into 'main'Matthias Clasen2022-06-104-10/+10
|\ | | | | | | | | ci: Update the Fedora image See merge request GNOME/pango!618
| * ci: Use meson 0.60 on MacOSMatthias Clasen2022-06-101-1/+1
| | | | | | | | GLib requires this version of meson now.
| * ci: Update the Fedora imageMatthias Clasen2022-06-102-2/+2
| | | | | | | | Use Fedora 36. 34 is EOL now.
| * Update tests to pass on F36fix-ci-againMatthias Clasen2022-06-102-7/+7
|/ | | | Rounding differences are our downfall :(
* 1.50.71.50.7Matthias Clasen2022-04-144-17/+25
|
* Merge branch 'survive-without-fonts' into 'main'Matthias Clasen2022-04-131-1/+6
|\ | | | | | | | | | | | | layout: Try harder to survive without fonts Closes #680 See merge request GNOME/pango!610
| * Apply 1 suggestion(s) to 1 file(s)survive-without-fontsMiloš Komarčević2022-04-111-1/+1
| |
| * layout: Try harder to survive without fontsMatthias Clasen2022-04-081-1/+6
| | | | | | | | | | | | | | | | No great typography can be expected without fonts, but we should try not to crash, since this situation can apparently happen on Windows. Fixes: #680
* | Merge branch 'null-fonts' into 'main'Matthias Clasen2022-04-131-4/+10
|\ \ | | | | | | | | | | | | itemize: Be more defensive See merge request GNOME/pango!615
| * | itemize: Be more defensivenull-fontsMatthias Clasen2022-04-121-4/+10
|/ / | | | | | | | | Let them have their NULL fonts. Produce hexboxes without criticals.
* | Merge branch 'win32-sans-serif' into 'main'Matthias Clasen2022-04-111-1/+2
|\ \ | | | | | | | | | | | | pangowin32: register a "Sans-Serif" font See merge request GNOME/pango!613
| * | pangowin32: register a "Sans-Serif" fontChristoph Reiter2022-04-111-1/+2
| |/ | | | | | | | | | | | | | | | | | | | | This creates a fake font family which will fall back to the first available font in the alias list and as a result pango_win32_font_map_load_font() will no longer fail for "sans-serif". This was already done for other aliases, but for some reason not for "sans-serif". See #680
* | Merge branch 'sync-load-font-fontset' into 'main'Matthias Clasen2022-04-111-1/+44
|\ \ | | | | | | | | | | | | pangowin32: try harder to load a font See merge request GNOME/pango!614
| * | pangowin32: try harder to load a fontChristoph Reiter2022-04-111-1/+44
| |/ | | | | | | | | | | | | | | | | | | | | load_fontset() in pangowin32 has various fallback code in case no font is found, but load_font() doesn't and just returns NULL in more cases. I saw that the other backends like fc and coretext just call load_fontset() in load_font() and return the first one. This copies this strategy to the win32 backend.
* | Merge branch 'meson_fixes' into 'main'Matthias Clasen2022-04-061-1/+1
|\ \ | |/ |/| | | | | meson: Use proper type for bools See merge request GNOME/pango!609
| * meson: Use proper type for boolsilliliti2022-04-051-1/+1
|/ | | | | Fix invalid usage of bools which violates official meson specification and thus breaks muon, an implementation of meson written in C.
* Merge branch 'fix-rtl-cursor-move' into 'main'Matthias Clasen2022-03-312-3/+4
|\ | | | | | | | | | | | | Fix move pango_layout_move_cursor_visually Closes #679 See merge request GNOME/pango!608
| * 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
* | Merge branch 'main' into 'main'Matthias Clasen2022-03-301-1/+1
|\ \ | | | | | | | | | | | | utils/viewer-cairo.c: fix empty-body See merge request GNOME/pango!607
| * | utils/viewer-cairo.c: fix empty-bodyFabrice Fontaine2022-03-291-1/+1
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix the following build failure raised since version 1.50.5 and https://gitlab.gnome.org/GNOME/pango/-/commit/cd08fb7402498e6ea542b4628447547477ac212e: ../utils/viewer-cairo.c: In function 'cairo_vector_view_create': ../utils/viewer-cairo.c:228:5: error: suggest braces around empty body in an 'if' statement [-Werror=empty-body] ; ^ Fixes: - http://autobuild.buildroot.org/results/dee3d631474f83b345f22eb26c59a305c32258f8 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
* | Merge branch 'coretext-fix' into 'main'Matthias Clasen2022-03-241-3/+0
|\ \ | |/ |/| | | | | Coretext: fix clang build failure. See merge request GNOME/pango!606
| * Coretext: fix clang build failure.John Ralls2022-03-221-3/+0
|/ | | | | Recent versions of clang notice that pango_core_text_fontset_load_font's `key` local variable isn't used and errors out. Remove it.
* 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