summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add a check for mixed linkageprevent-mixed-linkageMatthias Clasen2022-06-232-1/+27
| | | | | | | | Having both pango 1.x and pango 2 linked into the same process will cause trouble, because the type and function names conflict. Error out if we detect this situation.
* Merge branch 'GitS7-main-patch-22994' into 'main'Matthias Clasen2022-06-221-1/+2
|\ | | | | | | | | Update pango/pangowin32-fontmap.c, Do not enum Type-1-fonts See merge request GNOME/pango!625
| * Update pango/pangowin32-fontmap.cGitS72022-06-201-6/+1
| |
| * Update pango/pangowin32-fontmap.cGitS72022-06-171-0/+6
| |
* | Merge branch 'matthiasc/for-main' into 'main'Matthias Clasen2022-06-221-1/+1
|\ \ | |/ |/| | | | | Avoid overflow when calculating caret slope See merge request GNOME/pango!626
| * Avoid overflow when calculating caret slopeMatthias Clasen2022-06-211-1/+1
|/ | | | This showed up as wrong slopes with font size > 60.
* Merge branch 'example-cflags' into 'main'Matthias Clasen2022-06-102-3/+5
|\ | | | | | | | | Example cflags See merge request GNOME/pango!621
| * cairotwisted: Fix another compiler warningexample-cflagsMatthias Clasen2022-06-101-3/+3
| |
| * cairotwisted: Fix a compiler warningMatthias Clasen2022-06-101-0/+1
| |
| * examples: Use common cflagsMatthias Clasen2022-06-101-0/+1
|/
* Merge branch 'fix-ci-again2' into 'main'Matthias Clasen2022-06-104-5/+121
|\ | | | | | | | | Add listmodel properties to PangoFontFamily See merge request GNOME/pango!620
| * Try again to fix cifix-ci-again2Matthias Clasen2022-06-101-4/+4
| | | | | | | | The rounding, it hurts...
| * 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
|/