TIP: Click on subject to list as thread! ANSI
echo: delphi
to: DAVID ALGER
from: ERIC SCHREIBER
date: 1997-01-21 12:39:00
subject: ANSI in Delphi..

-=> David wrote with startling eloquence to Francois <=- 
FP> The font has nothing to do with the escape sequence decoding!
DA> I know, but without the proper font you can't display the ANSI
DA> correctly  :)
Forgive me if I'm quibbling.
The font really doesn't have anything to do with ANSI decoding. ANSI 
sequences contain positional (column/row) and color change information and 
that sort of thing, but they have nothing to do with the displayed 
characters. The ANSI sequences will display properly regardless of the font 
used.
Now, certainly most Windows fonts don't contain the full complement of high 
ASCII *characters* that are often associated with fancy ANSI screens, such as 
lines and boxes. Since you say that you've got code to interpret ANSI 
sequences, then your only remaining hurdle is to find an appropriate font.
The Terminal font that comes with Windows does contain all the characters of 
the extended ASCII set, including lines, boxes, symbols, and non-English 
characters. Check your Windows directory and see if you have the character 
map utility (on my Win95 system it's called charmap.exe). This will allow you 
to see all the characters for each of your fonts.
EEAS
eric@kobayashi.com    www.kobayashi.com/maru/
--- Blue Wave/DOS v2.20
---------------
* Origin: The Aircrash Bureau Chicago 312-278-1195 33.6 (1:115/327)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.