nanogui: VT100 terminal emulation
Subject:
Re: [nanogui] VT100 terminal emulation
From:
Yan Seiner ####@####.####
Date:
27 Apr 2007 02:17:50 +0100
Message-Id: <46314ECA.8020503@seiner.com>
Greg Haerr napsal(a):
> : >> Use GrLine underneath each character for the width
> : >> of the character, after drawing the character.
> : >>
> :
> : Gregg:
> :
> : How do I do this? There must be some documentation on how to get char
> : widths and such, but I can't find it...
>
> The nano-X API docs are on my web page. The GrGetGCTextSize
> will return a string/character's width, height, and baseline in pixels.
>
OK, thanks. I'll look at it tomorrow.
For my purposes, since I don't have a color screen, I am using a
custom-built font based on the CP437 codepage, with italic and bold.
I don't think my app uses underline but I'll see if I can get it in
there for the sake of completeness.
If you have a chance, please test the vt100 implementation.
It should spit out a "UNKNOWN" followed by the code if it comes across
some unimplemented string.
Let me know what those are.
--Yan