Re: Text in Graphic Display



Robert Miller wrote:

Great! I'll see if I can get that to run on the MSP430. I don't have
hardware yet so I'll
have to fudge the output to the PC's screen. I'll keep you posted.

I've added the plot.f file for Win32Forth for graphical output:

http://www.frank-buss.de/forth/plot.f.txt

but it is even possible with ANS Forth in ASCII :-)

: plot at-xy [char] * emit ;

6 to scale 0 15 move-to s" Forth" hershey-draw-string

********** * *
* * *
* * *
* * *
* * *
* **** * **** ****** * ***
* * * * * * * * **
* * * ** * *** *
******* * * ** * * *
* * * * * * *
* * * * * * *
* * * * * * *
* * * * * * *
* * * * * * *
* * ** * * * *
* ** * * * * *
* **** * *** * *

By the way, what sort of font ( IE. Arial, Times, Courier etc.) is
represented by your list of glyphs?

It is a sans serif font, but I don't know the other properties of the font.
You can find more information and other fonts with the same format with
Google:

http://www.google.com/search?q=hershey+font

The character set in my implementation:

http://www.frank-buss.de/tmp/hershey.png

--
Frank Buss, fb@xxxxxxxxxxxxx
http://www.frank-buss.de, http://www.it4-systems.de
.



Relevant Pages

  • Re: When people say Leopard is problematic...
    ... archive install or an erase install doesn't cure it, ... _hardware_, you've killed the software. ... Archive install or Erase install does not cure anything, ... Errm, you _do_ know that the standard font for Mail.app is Lucida Grande, ...
    (comp.sys.mac.system)
  • WHY IS THE TEXT CURSOR TINIER THAN MY FONT IN WORD 2003?
    ... The cursor is the size of a large period suddenly today. ... changes to my hardware or software. ... It types the correct size font for me but why has it suddenly gotten so ... but I don't have a clue what it is. ...
    (microsoft.public.word.docmanagement)
  • default font in Word reverts to original upon exit
    ... XP Computer recently crashed and hardware and software had to be reinstalled. ... I use a particular font as default and set as so. ... Upon exiting ... Prev by Date: ...
    (microsoft.public.word.docmanagement)
  • Re: My secret affection for the Commodore Plus/4
    ... J> Yes, it has 256 characters in a font, optional inversion for the ... J> latter half and no 16K bank limitations because the hardware can step ... Actually you can set the font base pointer with 1K resolution. ...
    (comp.sys.cbm)