AnalogTerm2: Font and DEC Special Graphics related changes:
authorMatthew Mondor <mmondor@pulsar-zone.net>
Fri, 2 Jun 2023 10:41:16 +0000 (10:41 +0000)
committerMatthew Mondor <mmondor@pulsar-zone.net>
Fri, 2 Jun 2023 10:41:16 +0000 (10:41 +0000)
commitffe61aca1b556501b74e3a43e2e544d2eb706324
tree98f03bef044ddc13b69dd5a1f5d1a35ee18cbefc
parent04c3f14c1e3364ae6c1bf2bd0fe95b3bac9e8146
AnalogTerm2: Font and DEC Special Graphics related changes:
- DEC Special Graphics are now remapped to unicode glyphs internally,
  and the missing related glyphs have been implemented, meaning
  that under screen/tmux that also does that, they always display
  correctly without extra font-specific mapping.  This also allows
  loaded fonts to provide their own graphics characters, that also
  work in applications using the DEC feature like dialog(1).
- Copy-pasting of text under DEC Special Graphics charset used to
  return the corresponding ASCII characters.  These now return the
  unicode characters used to map/render them.
- The NBSP (Ux00a0) character is now included as part of the Latin-1
  glyphs.  This allows fonts that would like to distinguish the
  display of these from normal space to provide a glyph.
- Accept 'x' as an alternative to ',' for the -g command line option.
- Now check for large contiguous range blocks before glyph-order
  tables for glyph lookup.
- Properly mark as "defined" altered glyphs when the default font
  cannot be loaded because the font size is too small.
mmsoftware/analogterm2/src/font.c
mmsoftware/analogterm2/src/font.h
mmsoftware/analogterm2/src/font/analogterm_latin_9.png
mmsoftware/analogterm2/src/font/analogterm_latin_9.xbm
mmsoftware/analogterm2/src/font/analogterm_misc_9.png
mmsoftware/analogterm2/src/font/analogterm_misc_9.xbm
mmsoftware/analogterm2/src/main.c
mmsoftware/analogterm2/src/screen.c
mmsoftware/analogterm2/src/state.h
mmsoftware/analogterm2/tests/dec-graphics.txt [new file with mode: 0644]