]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r332421: vt: add three more cp437 mappings for vga textmode
authoremaste <emaste@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 17 Apr 2018 12:52:30 +0000 (12:52 +0000)
committeremaste <emaste@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 17 Apr 2018 12:52:30 +0000 (12:52 +0000)
commit89925f4ea45fbce3b503a1603e9b175e6074b077
treebb45fac00c3a07c5b605284d38c9d925442d9784
parenteb360eca6e023243b5b629ad6a1aa68ebeba8c4c
MFC r332421: vt: add three more cp437 mappings for vga textmode

In UTF-8 locales mandoc uses a number of characters outside of the Basic
Latin group, e.g. from general punctuation or miscellaneous mathematical
symbols, and these rendered as ? in text mode.

This change adds (char, replacement, code point, description):

    – - U+2013 En Dash
    ⟨ < U+27E8 Mathematical Left Angle Bracket
    ⟩ > U+27E9 Mathematical Right Angle Bracket

This change addresses some common cases; there are others that still
need to be added after a more thorough review.

PR: 227409
Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@332644 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/vt/hw/vga/vt_vga.c