Commits on Source (19)
-
John Ralls authored
Recent versions of clang notice that pango_core_text_fontset_load_font's `key` local variable isn't used and errors out. Remove it.
9093ffd6 -
Matthias Clasen authored
Coretext: fix clang build failure. See merge request GNOME/pango!606
cf11b631 -
Fabrice Fontaine authored
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>
5372a0cf -
Matthias Clasen authored
utils/viewer-cairo.c: fix empty-body See merge request GNOME/pango!607
f9cc99d3 -
Matthias Clasen authored
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
bc00edb9 -
Matthias Clasen authored
Fix move pango_layout_move_cursor_visually Closes #679 See merge request GNOME/pango!608
d152b1ba -
illiliti authored
Fix invalid usage of bools which violates official meson specification and thus breaks muon, an implementation of meson written in C.
fe00d92c -
Matthias Clasen authored
meson: Use proper type for bools See merge request GNOME/pango!609
9bd0fc83 -
Matthias Clasen authored
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
c90d22ca -
Miloš Komarčević authored9ede4119
-
Christoph Reiter authored
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
236be6e1 -
Christoph Reiter authored
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.
cade006c -
Matthias Clasen authored
pangowin32: try harder to load a font See merge request GNOME/pango!614
7e53a733 -
Matthias Clasen authored
pangowin32: register a "Sans-Serif" font See merge request GNOME/pango!613
99c3da03 -
Matthias Clasen authored
Let them have their NULL fonts. Produce hexboxes without criticals.
1080a7ca -
Matthias Clasen authored
itemize: Be more defensive See merge request GNOME/pango!615
65b2334a -
Matthias Clasen authored
layout: Try harder to survive without fonts Closes #680 See merge request GNOME/pango!610
1f29168e -
Matthias Clasen authoreda2ccd36a
-
Simon McVittie authored7cbe8e89