diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-06-10 11:36:24 -0400 |
---|---|---|
committer | Marco Trevisan (TreviƱo) <mail@3v1n0.net> | 2021-05-05 16:38:25 +0200 |
commit | ac07f75e9c1c560f0e8243426ef4f12a2ff1a7e8 (patch) | |
tree | aaa8e66c2c291941b2b84f55e349befff466b8e3 /pango/pangofc-fontmap.c | |
parent | 6f0e6d7c97d90dd7a7c4b6404cd5c14172b00a6b (diff) | |
download | pango-ac07f75e9c1c560f0e8243426ef4f12a2ff1a7e8.tar.gz |
itemize: Work around gtk2 brokenness
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
(cherry-picked from commit 279bd525)
Diffstat (limited to 'pango/pangofc-fontmap.c')
0 files changed, 0 insertions, 0 deletions