| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Otherwise, fontconfig ends up parsing it enormous
configuration the first time we call FcConfigSubstitute,
which takes ~60ms here. We don't want that to hit us
unexpectedly, so get it out of the way early.
|
|\
| |
| |
| |
| | |
Use proper fontconfig config object
See merge request GNOME/pango!222
|
| |
| |
| |
| |
| |
| | |
When calling into FcConfig api, passing NULL means
"use the default config". But we may have a set config
that we should be using for all fontconfig calls.
|
| |
| |
| |
| |
| |
| | |
We can do the format filtering on the unsorted
font lists. Sorting the same list twice may be
fast, but there's still some setup overhead.
|
| |
| |
| |
| |
| | |
We were needlessly duplicating patters when we
could have just referenced them.
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
renderer: Move overline to priv data structure
Closes #497
See merge request GNOME/pango!220
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This reverts the ABI break caused by adding the overline to the public
data structure, and is binary- and source-compatible with Pango 1.45.0
and older, but not compatible with versions 1.45.1 to 1.46.0 inclusive.
Resolves: https://gitlab.gnome.org/GNOME/pango/-/issues/497
Bug-Debian: https://bugs.debian.org/968337
Signed-off-by: Simon McVittie <smcv@debian.org>
|
|\ \
| |/
|/|
| |
| | |
Correct a typo in pangowin32.c
See merge request GNOME/pango!219
|
|/ |
|
| |
|
|
|
|
|
|
| |
Revert 97778b40daedac08f6, since it sadly broke
running our testsuite which does pass arguments like
-k and --tap.
|
|\
| |
| |
| |
| | |
Adjust "Since" tags to refer to 1.46
See merge request GNOME/pango!218
|
| | |
|
| |
| |
| |
| |
| | |
Use test-break --help to get a legend for the
codes used in the output.
|
| |
| |
| |
| |
| |
| | |
When we are generating expected output, don't
init the tests, so we can avoid the random seed
and # in the output.
|
|/ |
|
|\
| |
| |
| |
| | |
Fix g-i annotation of pango_parse_color_with_alpha and add since tag
See merge request GNOME/pango!216
|
|/ |
|
|\
| |
| |
| |
| |
| |
| | |
Initialise out arguments
Closes #489
See merge request GNOME/pango!211
|
| |
| |
| |
| |
| |
| |
| | |
If we bail out early, we end up with uninitialised data and no way for a
caller to know that happened.
Fixes: #489
|
| | |
|
|\ \
| | |
| | |
| | |
| | | |
Export pango_parse_color_with_alpha
See merge request GNOME/pango!215
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
This will be useful to make GdkRGBA support
hex formats with alpha.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Make it return 0xffff if alpha is not present (this will
be more convenient when we use this function in GdkRGBA).
Update all users.
|
|\ \ \
| |/ /
|/| |
| | |
| | | |
Remove hb-glib use
See merge request GNOME/pango!213
|
| | |
| | |
| | |
| | |
| | |
| | | |
glib isn't hard dependency to harfbuzz so we like to make embedders be able
to compile harfbuzz for Pango without hb-glib now that hb_glib_get_unicode_funcs
use is gone releases ago.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
meson 0.55 considers tests using it to be FAIL.
I disagree, but lets quietly skip until 0.55.1
is available.
|
|\ \ \
| |/ /
|/| |
| | |
| | |
| | |
| | | |
Fix a Pidgin crash
Closes #490
See merge request GNOME/pango!214
|
| | |
| | |
| | |
| | | |
This test is reproducing the crash reported in #490.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
You can call pango_layout_set_text() with a length that
is longer than the string (and there's code in the wild
that does that). We try to handle it by only looking at
the initial segment of the text, but we are forgetting
to set layout->length to the length of that segment,
leading us to access beyond the string end later.
This fixes #490
|
|\ \ \
| |/ /
| | /
| |/
|/| |
Fix a few memory leaks in tests
See merge request GNOME/pango!212
|
|/
|
|
| |
These were pointed out by asan.
|
|\
| |
| |
| |
| |
| |
| | |
pangocoretext: Fix Cairo scaling
Closes #488
See merge request GNOME/pango!210
|
|/
|
|
|
|
| |
Take font scale into account when creating HarfBuzz fonts.
Fixes https://gitlab.gnome.org/GNOME/pango/-/issues/488
|
|\
| |
| |
| |
| | |
pango-attributes.c: Fix on older compilers
See merge request GNOME/pango!208
|
| |
| |
| |
| |
| | |
Avoid declaring a variables in a for loop initialization, so that we
won't accidentally break building on older compilers.
|
|\ \
| |/
|/|
| |
| |
| |
| | |
fcfontmap: Always reject unsupported font formats
Closes #484
See merge request GNOME/pango!209
|
|/
|
|
|
| |
Fixes https://gitlab.gnome.org/GNOME/pango/-/issues/484 and
https://gitlab.gnome.org/GNOME/pango/-/issues/457
|
| |
|
|\
| |
| |
| |
| | |
Fix crashes with empty attribute lists
See merge request GNOME/pango!207
|
|/
|
|
|
|
|
|
| |
There were a few cases left where empty attribute
lists could lead to crashes. This was observed causing
crashes in gnumeric.
Testcases included.
|
|\
| |
| |
| |
| | |
Fix attr list change
See merge request GNOME/pango!205
|
| |
| |
| |
| |
| | |
This captures the loss of color in the links demo in
gtk4-demo with pango 1.45.2
|
|/
|
|
|
| |
This was showing up as the colored Google link
in the gtk4-demo links demo losing its colors.
|
| |
|
|
|
|
|
|
|
|
| |
Try to make test-break not fail on my system. First
I made it skip tests that produce missing glyphs,
then I made it call setlocale(). In the end, I needed
to just install the right Thai fonts. But these
fixes are still useful.
|
|\
| |
| |
| |
| |
| |
| | |
Include HarfBuzz when generating introspection data
Closes #458
See merge request GNOME/pango!204
|
|/
|
|
|
|
|
|
|
|
| |
The Pango API exposes harfbuzz types, and so we need to depend on
HarfBuzz-0.0 when generating our introspection data.
The introspection data on HarfBuzz was fixed upstream, even though the
current introspected API is not stellar.
Fixes: #458
|