| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| | |
win32: Don't export private symbol
See merge request GNOME/pango!369
|
| |
| |
| |
| |
| |
| | |
Include llvm on the image, so that we can use
llvm-symbolizer, too try and get meaningful stacktraces
out of asan.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Make attribute_from_string() parse enum attribute values
in the same way as PangoMarkup, and use it in the
attribute tests.
Still to do: Do the same for flags. The flags parsing
function isn't exported, so this needs our tests to be
statically linked.
|
| | |
|
|/
|
|
| |
We need stdlib.h for exit().
|
|\
| |
| |
| |
| | |
pangowin32: Clear cmap on finalize
See merge request GNOME/pango!318
|
| |
| |
| |
| |
| | |
Implement copy method for format_4_cmap and format_12_cmap, and
free don't leak the struct.
|
|\ \
| | |
| | |
| | |
| | | |
Add a few missing chars to pango_is_zero_width
See merge request GNOME/pango!368
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The documentation for this function states that all
bidi control chars are zero width, but it was missing
the Isolate ones. Add them.
Updated tests included.
|
|\ \ \
| |/ /
|/| |
| | |
| | | |
Bump hb requirement to 2.2.0
See merge request GNOME/pango!367
|
|/ /
| |
| |
| |
| |
| |
| | |
We are using hb_ot_var apis in various places.
These have been introduced in harfbuzz 2.2.0.
2.2.0 is from 2018, so this should be safe.
|
|\ \
| | |
| | |
| | |
| | | |
fontconfig: Ignore woff fonts
See merge request GNOME/pango!366
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
harfbuzz creates a face, but doesn't seem to find
any glyphs in woff fonts, so filter them out.
Sadly, fontfonfig does not have useful format information
about this, so we need to crudely filter by filename.
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
Add a testcase for pango_attr_list_change
See merge request GNOME/pango!364
|
| | | |
| | | |
| | | |
| | | |
| | | | |
This recreates the scenario described in #564.
It works fine.
|
|\ \ \ \
| |/ / /
|/| / /
| |/ /
| | | |
pango-segmentation: Add a --text option
See merge request GNOME/pango!365
|
|/ /
| |
| |
| |
| |
| | |
Change pango-segmentation to interpret its argument as
a filename, and add a --text=STRING option to specify
the text directly. This matches what pango-view does.
|
|\ \
| | |
| | |
| | |
| | | |
tests: Dump grapheme boundaries too
See merge request GNOME/pango!362
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Correctly classify tag characters as Grapheme_Extend,
so that we don't end up putting grapheme boundaries
in the middle of tag sequences.
Includes a test.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Add grapheme boundaries to the output of test-break,
so we can check those easily, too.
Update expected test output for this.
|
| | | |
|
| | | |
|
| | | |
|
|/ / |
|
|\ \
| | |
| | |
| | |
| | | |
utils: Remove leftover code
See merge request GNOME/pango!360
|
| | |
| | |
| | |
| | | |
Also add some tests for bidi embedding levels.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
Avoid g_test_init if we are just generating expected output,
for easier updating.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Allow setting more layout properties in test-layout,
and check their values after setting them.
Also print out directions and cursor positions.
Update existing tests, and add more.
|
| | |
| | |
| | |
| | | |
Spot-check a copied layout in test-break.
|
| | |
| | |
| | |
| | | |
This makes tests more reproducible.
|
| | |
| | |
| | |
| | | |
pango_layout_get_tabs returns a copy.
|
| | |
| | |
| | |
| | |
| | | |
Since these are not properties, their default
values aren't documented anywhere. Until now.
|
| | |
| | |
| | |
| | |
| | | |
The convention is to return the initial value if
the 'this' check fails. Correct this for auto_dir.
|
| | |
| | |
| | |
| | | |
This makes it obvious what the initial value is.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
pango_layout_get_direction contained an assertion that
would be hit when just iterating over all chars in the
text of the layout (it gets hit when you get to the final
newline).
Remove the assertion, so that this function is less
of a trap.
|
| | |
| | |
| | |
| | |
| | | |
pango-segmentation is not a test, so don't call
g_test_message.
|
| | | |
|
|/ / |
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
renderer: Fix averaging of strikethroughs
Closes #574
See merge request GNOME/pango!358
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In 85bdfead1b36945db251 I made consecutive runs average
their strikeout positions, but I did handle the accounting
properly, causing previous runs to influence the strikeout
of later runs, if we have to draw them separately (due to
color change).
It would be nicer to average even across color changes and
draw the line continuously in that case as well, but that
would require two passes over the runs.
Fixes: #574
|
| | |
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
docs: Add some details for PangoWrap
Closes #573
See merge request GNOME/pango!355
|
|/ /
| |
| |
| |
| |
| | |
This clarifies things for myself.
Fixes: #573
|
|\ \
| | |
| | |
| | |
| | | |
Add libthai to valgrind suppressions
See merge request GNOME/pango!357
|
| | |
| | |
| | |
| | |
| | |
| | | |
Sometimes, asan complains about us keeping a static hb_font_funcs_t
around. This seems to only affect test-pangocairo-threads.
Tell it not to worry about that.
|
| | |
| | |
| | |
| | |
| | | |
We use the shared ThBrk object that libthai creates,
and don't free it.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
Add forgotten NEWS
See merge request GNOME/pango!356
|