diff options
Diffstat (limited to 'pango/pango-context.c')
-rw-r--r-- | pango/pango-context.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pango/pango-context.c b/pango/pango-context.c index 83fdc9a6..f187a92f 100644 --- a/pango/pango-context.c +++ b/pango/pango-context.c @@ -1493,11 +1493,15 @@ itemize_state_process_run (ItemizeState *state) * * We don't want to change fonts just for variation selectors. * See bug #781123. + * + * Finally, don't change fonts for line or paragraph separators. */ type = g_unichar_type (wc); if (G_UNLIKELY (type == G_UNICODE_CONTROL || type == G_UNICODE_FORMAT || type == G_UNICODE_SURROGATE || + type == G_UNICODE_LINE_SEPARATOR || + type == G_UNICODE_PARAGRAPH_SEPARATOR || (type == G_UNICODE_SPACE_SEPARATOR && wc != 0x1680u /* OGHAM SPACE MARK */) || (wc >= 0xfe00u && wc <= 0xfe0fu) || (wc >= 0xe0100u && wc <= 0xe01efu))) |