| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
This verifies the fix in the previous commit.
|
|
|
|
|
|
| |
- Switch to an environment() object, to allow for proper escaping
- Use the TAP protocol with GTest
- Put all tests under the Pango suite
|
| |
|
|
|
|
|
|
| |
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.
|
|\
| |
| |
| |
| |
| |
| | |
Pass the right attributes when shaping ellipses
Closes #397
See merge request GNOME/pango!127
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Now that we are splitting attributes into those that
are relevant for itemization and shaping, we need to
make sure to pass the right ones along when ellipsizing,
or we risk picking a wildly mismatching font for the
ellipsis run, causing things to shift vertically.
Test included.
Closes: https://gitlab.gnome.org/GNOME/pango/issues/397
Thanks to Jorge Luis Martinez Gomez for his help
in tracking this down.
|
|/
|
|
|
|
|
|
| |
Without this file one of the tests is always skipped:
/text/break/line: /usr/libexec/installed-tests/pango/LineBreakTest.txt not found. Skipping test.
Taken from the Unicode 12.0.0 release.
|
|
|
|
|
| |
For now, just check that we get a non-NULL
hb_font_t that has a space glyph.
|
|
|
|
|
|
|
| |
This is similar in spirit to hb-shape. Take an
input and produce a sequence of glyphs as output.
There are no testcases yet.
|
| |
|
|
|
|
| |
Some tests were not having the right dependencies.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
This is similar to test-break in that it produces
useful output for understanding itemization.
Non testcases for now. One issue is that this,
like so many other tests is font-dependent.
|
|
|
|
|
| |
We were not diffing the output against the
expected results.
|
|
|
|
| |
This is useful for exploring line breaking.
|
|
|
|
| |
Closes: https://gitlab.gnome.org/GNOME/pango/issues/354
|
|\
| |
| |
| |
| | |
Include more Unicode 11 test cases
See merge request GNOME/pango!33
|
| |
| |
| |
| |
| | |
Add more Unicode 11 test cases files:
WordBreakTest.txt and SentenceBreakTest.txt.
|
| |
| |
| |
| | |
Use the functions in test-common.c instead of replicating them.
|
|/
|
|
|
|
|
| |
In case of cairo is found but without png support this test will fail
during linking becuase the 'cairo_surface_write_to_png' is undefined.
Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It is possible that we can have the following situations, at least on
Windows:
-FreeType present, FontConfig missing
-Cairo-FT present, with no FontConfig support.
As gen-script-for-lang requires FontConfig, and PangoFT2 depends on
HarfBuzz, FontConfig and Freetype, we need to check for them before we
build PangoFT2, and so that we could include PangoFT2 support in
PangoCairo.
The tests and pango-view have an optional dependency on PangoFT2, so we
need to also check whether we built PangoFT2 before we try to build
things related to PangoFT2.
For the tools, since gen-script-for-lang.c depends on FontConfig, check
for it as well before we build it.
https://bugzilla.gnome.org/show_bug.cgi?id=783274
|
| |
|
| |
|
|
Meson is a meta build system that is:
- fast
- simpler to understand and use
- portable to multiple platforms through different backends
- well integrated with the GNOME platform
- well maintained
Using Meson allows us to build Pango much more quickly, and on all the
platforms we currently target, without any loss of functionality,
compared to Autotools.
Some timing comparisons with hot ccache for both build systems:
* autogen.sh: * meson
real 0m11.149s real 0m2.525s
user 0m8.153s user 0m1.609s
sys 0m2.363s sys 0m1.206s
* make -j$(($(nproc) + 2)) * ninja
real 0m9.186s real 0m3.387s
user 0m16.295s user 0m6.887s
sys 0m5.337s sys 0m1.318s
--------------------------------------------------------------
* autotools * meson + ninja
real 0m27.669s real 0m5.772s
user 0m45.622s user 0m8.465s
sys 0m10.698s sys 0m2.357s
System: Intel Core i7-7500U, SSD, 16GB of RAM
|