| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
meson 0.55 considers tests using it to be FAIL.
I disagree, but lets quietly skip until 0.55.1
is available.
|
|
|
|
| |
This test is reproducing the crash reported in #490.
|
|
|
|
| |
These were pointed out by asan.
|
|
|
|
|
|
|
|
| |
There were a few cases left where empty attribute
lists could lead to crashes. This was observed causing
crashes in gnumeric.
Testcases included.
|
|
|
|
|
| |
This captures the loss of color in the links demo in
gtk4-demo with pango 1.45.2
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Check with NULL and empty lists.
|
| |
|
| |
|
|\
| |
| |
| |
| |
| |
| | |
itemize: Work around gtk2 brokenness
Closes #480
See merge request GNOME/pango!198
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
GTK 2 apparently manages to call pango_itemize_with_base_dir
with a non-zero length for a string that contains 0 characters.
That in turn causes pango_log2vis_get_embedding_levels to
return NULL, and things go downhill from there.
A test is included.
Fixes: #480
|
|/
|
|
|
|
| |
Try not to pick a width that makes line-breaking decisions
depend on rounding. Lets see if this works better, it makes
the test pass locally.
|
|
|
|
| |
This reverts commit 4d8e71471984fb0fc147d1a64695ad5f18576fde.
|
| |
|
|
|
|
|
| |
Lets explain what this test is about, since it doesn't
appear to test anything.
|
|
|
|
| |
This verifies the fix in the previous commit.
|
|\
| |
| |
| |
| | |
Wip/baedert/for master2
See merge request GNOME/pango!190
|
| |
| |
| |
| |
| | |
We don't set an attribute list in these cases anymore, so reflect that
in the output.
|
| |
| |
| |
| |
| | |
pango_layout_get_attributes() is explicitly nullable but not every
caller handles that case.
|
| | |
|
| |
| |
| |
| | |
Not needed afterwards.
|
|\ \
| |/
|/|
| |
| | |
For master
See merge request GNOME/pango!184
|
| |
| |
| |
| |
| | |
Create the PangoContext for the test after resetting the locale, and use
the en_US.utf8 name, as it seems to be the name used by Fedora.
|
| |
| |
| |
| |
| | |
When dumping the diff between the computed and expected results, we need
to respect the TAP format and place "#" in front of each line.
|
| |
| |
| |
| | |
Just like test-layout and test-itemize.
|
| |
| |
| |
| | |
Just like test-layout.
|
| |
| |
| |
| |
| | |
There's no point in running a tests if we know the locale isn't there.
The reason gets logged, so the developer can decide to install it.
|
|\ \
| |/
|/|
| |
| | |
tests/test-break.c: Only test Thai breaks with libthai available
See merge request GNOME/pango!161
|
| |
| |
| |
| |
| |
| | |
The four.break test data file involves the Thai language, meaning that
this test will fail unless we have libthai. Skip this test unless
libthai is found.
|
|\ \
| | |
| | |
| | |
| | | |
Replace fallthrough comments with G_GNUC_FALLTHROUGH
See merge request GNOME/pango!177
|
| | | |
|
|\ \ \
| |/ /
|/| |
| | |
| | | |
Update Unicode Text Segmentation and Line Breaking to Unicode 13
See merge request GNOME/pango!174
|
| |/ |
|
| |
| |
| |
| |
| |
| | |
- Switch to an environment() object, to allow for proper escaping
- Use the TAP protocol with GTest
- Put all tests under the Pango suite
|
| |
| |
| |
| | |
Works just as well.
|
|/
|
|
|
|
|
|
| |
Do not use homegrown assertion and failure macros, when GTest has
perfectly functional API to deal with all the cases Pango covers.
Using GTest also allows us to rely on appropriate formatting for
results and logging.
|
| |
|
|
|
|
| |
Remove an unused function, and rename another.
|
| |
|
| |
|
|
|
|
| |
Test that new underline values work.
|
|\
| |
| |
| |
| | |
Add a test for new font api
See merge request GNOME/pango!154
|
| |
| |
| |
| | |
This test exercises the new font enumeration apis.
|
|/ |
|
|
|
|
| |
The change is a harmless change in attribute list ordering.
|
|
|
|
|
|
| |
If we don't have libthai, these tests fail.
Closes: https://gitlab.gnome.org/GNOME/pango/issues/420
|
|
|
|
|
|
|
| |
Thai language requires word dictionary from libthai project
for word/sentence breaks.
Adding this test case to check the results of sentence breaks.
|
|
|
|
| |
This reverts commit 086183f9df9fd8fcfdf83a3801710fdcb2e8316a.
|
|
|
|
|
| |
We want to make sure that the ink rectangles
we return have positive size.
|