chiark / gitweb /
locale-util: add comment with link to unicode chars supported by eurlatgr (#8894)
authorLennart Poettering <lennart@poettering.net>
Thu, 3 May 2018 14:15:04 +0000 (16:15 +0200)
committerSven Eden <yamakuzure@gmx.net>
Fri, 24 Aug 2018 14:47:08 +0000 (16:47 +0200)
See: #6443

src/basic/locale-util.c

index 0a32bca8e852e47c79e99215e58fd8d17b0934a9..8b6bc51bda8822cfa351108baea9739042ac93fc 100644 (file)
@@ -354,6 +354,13 @@ bool keymap_is_valid(const char *name) {
 
 const char *special_glyph(SpecialGlyph code) {
 
+        /* A list of a number of interesting unicode glyphs we can use to decorate our output. It's probably wise to be
+         * conservative here, and primarily stick to the glyphs defined in the eurlatgr font, so that display still
+         * works reasonably well on the Linux console. For details see:
+         *
+         * http://git.altlinux.org/people/legion/packages/kbd.git?p=kbd.git;a=blob;f=data/consolefonts/README.eurlatgr
+         */
+
         static const char* const draw_table[2][_SPECIAL_GLYPH_MAX] = {
                 /* ASCII fallback */
                 [false] = {