summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Wolff <towo@towo.net>2018-03-08 00:29:25 +0100
committerCorinna Vinschen <corinna@vinschen.de>2018-03-08 08:14:39 +0100
commite4c65b2e918107287845ab345bc0607bde0323f7 (patch)
tree9214a0a908b849538b1f7755138d50d73efcae73
parent7d525c171f79243de864d7a736d1cf85209b62db (diff)
downloadcygnal-e4c65b2e918107287845ab345bc0607bde0323f7.tar.gz
cygnal-e4c65b2e918107287845ab345bc0607bde0323f7.tar.bz2
cygnal-e4c65b2e918107287845ab345bc0607bde0323f7.zip
describe new locale modifier @cjkwide for user guide
-rw-r--r--winsup/doc/setup-locale.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/winsup/doc/setup-locale.xml b/winsup/doc/setup-locale.xml
index 29502a23f..4872ae202 100644
--- a/winsup/doc/setup-locale.xml
+++ b/winsup/doc/setup-locale.xml
@@ -166,6 +166,19 @@ can be used to force wcwidth/wcswidth to return 1 for the ambiguous width
characters.
</para></listitem>
+<listitem><para>
+For the same class of "CJK Ambiguous Width" characters, it may be
+desirable to handle them as double-width even when a non-CJK language
+setting is selected. This supports e.g. certain graphic symbols used
+by "Powerline" and provided by "Powerline fonts". Some terminals have
+options to enforce this width handling (xterm -cjk_width,
+mintty -o Charwidth=ambig-wide, putty configuration) but that alone
+makes character rendering and locale information inconsistent for those
+characters. The locale modifier "@cjkwide" supports consistent locale
+response with this option; it forces wcwidth/wcswidth to return 2 for the
+ambiguous width characters.
+</para></listitem>
+
</itemizedlist>
</sect2>