https://gitlab.synchro.net/main/sbbs/-/commit/6dcad3d4fa5c68737b055637
Modified Files:
src/xpdev/unicode_defs.h
Log Message:
xpdev: correct the medium and dark shade codepoints
UNICODE_MEDIUM_SHADE was a duplicate of UNICODE_LIGHT_SHADE (0x2591) and UNICODE_DARK_SHADE held medium shade's 0x2592, so cp437_unicode_tbl[]
mapped CP437 0xB1 and 0xB2 one step too light and never produced U+2593
at all. The classic shading ramp 0xB0 0xB1 0xB2 0xDB reached a UTF-8
terminal as U+2591 U+2591 U+2592 U+2588, flattening the gradient in any
ANSI art that uses it, and reverse look-ups turned U+2592 back into CP437
0xB2 rather than 0xB1.
Per the Unicode standard: U+2591 LIGHT SHADE, U+2592 MEDIUM SHADE,
U+2593 DARK SHADE.
Co-Authored-By: Claude Opus 5 (1M context) <
noreply@anthropic.com>
---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net