summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-11-03 18:13:41 -0400
committerMatthias Clasen <mclasen@redhat.com>2021-11-03 18:13:41 -0400
commita215b3cfa07307d268c4e4cd941c7882dcc39343 (patch)
tree5b1898963e7b87b90e29feba51ef4513d6fbc5c8
parent9d67f7738fc2d13d3ab3887799b4d99b38fa7010 (diff)
downloadpango-more-default-ignorables.tar.gz
Add a few more default-ignorablesmore-default-ignorables
Add some more directional formatting characters to the list of default-ignorables that we make visible when requested: ALM, LRI, RLI, FSI, PDI.
-rw-r--r--pango/pango-impl-utils.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/pango/pango-impl-utils.h b/pango/pango-impl-utils.h
index bbeca994..a0183d69 100644
--- a/pango/pango-impl-utils.h
+++ b/pango/pango-impl-utils.h
@@ -137,6 +137,7 @@ static struct {
} ignorables[] = {
{ 0x00ad, "SHY" }, /* SOFT HYPHEN */
{ 0x034f, "CGJ" }, /* COMBINING GRAPHEME JOINER */
+ { 0x061c, "ALM" }, /* ARABIC LETTER MARK */
{ 0x200b, "ZWS" }, /* ZERO WIDTH SPACE */
{ 0x200c, "ZWNJ" }, /* ZERO WIDTH NON-JOINER */
{ 0x200d, "ZWJ" }, /* ZERO WIDTH JOINER */
@@ -153,6 +154,10 @@ static struct {
{ 0x2061, "FA" }, /* FUNCTION APPLICATION */
{ 0x2062, "IT" }, /* INVISIBLE TIMES */
{ 0x2063, "IS" }, /* INVISIBLE SEPARATOR */
+ { 0x2066, "LRI" }, /* LEFT-TO-RIGHT ISOLATE */
+ { 0x2067, "RLI" }, /* RIGHT-TO-LEFT ISOLATE */
+ { 0x2068, "FSI" }, /* FIRST STRONG ISOLATE */
+ { 0x2069, "PDI" }, /* POP DIRECTIONAL ISOLATE */
{ 0xfeff, "ZWNBS" }, /* ZERO WIDTH NO-BREAK SPACE */
};