public inbox for cygwin-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] Cygwin: describe new locale modifier @cjksingle for user guide
@ 2020-02-18 10:38 Corinna Vinschen
  0 siblings, 0 replies; only message in thread
From: Corinna Vinschen @ 2020-02-18 10:38 UTC (permalink / raw)
  To: cygwin-cvs

https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=b7361d31fb8659aa6cea85d7eef22471727be26b

commit b7361d31fb8659aa6cea85d7eef22471727be26b
Author: Thomas Wolff <mintty@users.noreply.github.com>
Date:   Mon Feb 17 00:00:00 2020 +0100

    Cygwin: describe new locale modifier @cjksingle for user guide

Diff:
---
 winsup/doc/setup-locale.xml | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/winsup/doc/setup-locale.xml b/winsup/doc/setup-locale.xml
index 4872ae2..4b9141e 100644
--- a/winsup/doc/setup-locale.xml
+++ b/winsup/doc/setup-locale.xml
@@ -179,6 +179,17 @@ response with this option; it forces wcwidth/wcswidth to return 2 for the
 ambiguous width characters.
 </para></listitem>
 
+<listitem><para>
+As an alternative preference, CJK single-width may be enforced.
+This feature is a
+<ulink url="https://gitlab.freedesktop.org/terminal-wg/specifications/issues/9#note_406682">proposal</ulink>
+in the Terminals Working Group Specifications.
+The mintty terminal implements it as an option with proper glyph scaling.
+The locale modifier "@cjksingle" supports consistent locale response
+with this option; it forces wcwidth/wcswidth to account at most 1 for
+all characters.
+</para></listitem>
+
 </itemizedlist>
 
 </sect2>


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-02-18 10:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-18 10:38 [newlib-cygwin] Cygwin: describe new locale modifier @cjksingle for user guide Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).