Commit fc5dc3e3 authored by Matthias Clasen's avatar Matthias Clasen

Merge branch 'line-separator-font' into 'master'

itemize: Don't change font for line separator

See merge request !71
parents 27817e63 318c83d5
Pipeline #94116 passed with stage
in 2 minutes and 27 seconds
......@@ -1484,11 +1484,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)))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment