summaryrefslogtreecommitdiff
path: root/src/gmutil.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-10-25 22:10:04 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-10-25 22:10:04 +0300
commitb4e13bb58f644276469a69c4bd93e22381aa0002 (patch)
tree476693d897b2ac0f26b263bb871f65a2140c6637 /src/gmutil.c
parentb80c958840a3ac0f824de3ae12717963ba679b20 (diff)
Document presentation warnings
Warn the user about missing glyphs and potentially unsupported ANSI escapes. TODO: Site-specific setting for dismissed warning; fonts preference about missing glyph warnings.
Diffstat (limited to 'src/gmutil.c')
-rw-r--r--src/gmutil.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gmutil.c b/src/gmutil.c
index 264e7ac8..22219221 100644
--- a/src/gmutil.c
+++ b/src/gmutil.c
@@ -755,6 +755,14 @@ static const struct {
755 { 0x1f645, /* no good */ 755 { 0x1f645, /* no good */
756 "${error.certverify}", 756 "${error.certverify}",
757 "${error.certverify.msg}" } }, 757 "${error.certverify.msg}" } },
758 { ansiEscapes_GmStatusCode,
759 { 0x1f5b3, /* old computer */
760 "${error.ansi}",
761 "${error.ansi.msg}" } },
762 { missingGlyphs_GmStatusCode,
763 { 0x1f520, /* ABCD */
764 "${error.glyphs}",
765 "${error.glyphs.msg}" } },
758 { temporaryFailure_GmStatusCode, 766 { temporaryFailure_GmStatusCode,
759 { 0x1f50c, /* electric plug */ 767 { 0x1f50c, /* electric plug */
760 "${error.temporary}", 768 "${error.temporary}",