summaryrefslogtreecommitdiff
path: root/pango/pango-context.c
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2016-03-11 18:21:15 -0800
committerBehdad Esfahbod <behdad@behdad.org>2016-03-11 18:22:13 -0800
commit70496056909faa41b368dbbe22cd144eaa07d22b (patch)
tree3b3cb45aa0c668f965ec1ab72e590695a9dc335f /pango/pango-context.c
parentc228f6978e09af7c91ce954262c9e0f85496e76f (diff)
downloadpango-70496056909faa41b368dbbe22cd144eaa07d22b.tar.gz
Don't treat U+1680 OGHAM SPACE MARK as whitespace
Unicode says: "U+1680 ogham space mark is unusual in that it is generally rendered with a visible horizontal line, rather than being blank."
Diffstat (limited to 'pango/pango-context.c')
-rw-r--r--pango/pango-context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pango-context.c b/pango/pango-context.c
index 9d67b8e2..0344e334 100644
--- a/pango/pango-context.c
+++ b/pango/pango-context.c
@@ -1400,7 +1400,7 @@ itemize_state_process_run (ItemizeState *state)
if (G_UNLIKELY (type == G_UNICODE_CONTROL ||
type == G_UNICODE_FORMAT ||
type == G_UNICODE_SURROGATE ||
- type == G_UNICODE_SPACE_SEPARATOR))
+ (type == G_UNICODE_SPACE_SEPARATOR && wc != 0x1680u /* OGHAM SPACE MARK */)))
{
shape_engine = NULL;
font = NULL;