🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.graphics
Article #1387

How are hershey fonts coded?

#1387
From: aslam
Date: Mon, 18 Aug 1986 20:25
20 lines
1440 bytes
Couple of months ago, hershey fonts were posted to the net. The accompanying
documentation in hershey.doc and README
outlined what all the files were and two example programs, hershey.f77 and
hershey.c, could be to display the characters in hersh.oc1, hersh.oc2. What
I could not find was an explanation of the actual vector data. For example,
character 214 is coded as:
 
  214 12PURMRR RSMSR RRURVSVSURU

From the example program, the 12 indicates the number of strokes. Each of
the letter pair that follows 12 forms an x,y coordinate. The first character
pair however specifies the width of the character. If the first character of
a pair is a blank then the next pair specifies a move instead of a draw.

And now the unresolved questions.

1. What is the reference point for the coordinates that have been coded
using ascii characters? For example, the second pair "RM" yields ascii
integers
Technical Details
Message-ID: <7400002@uiucdcsp>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!cbatt!cbosgd!ihnp4!inuxc!pur-ee!uiucdcs!uiucdcsp!aslam

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!cbatt!cbosgd!ihnp4!inuxc!pur-ee!uiucdcs!uiucdcsp!aslam
From: aslam@uiucdcsp.CS.UIUC.EDU
Newsgroups: net.graphics
Subject: How are hershey fonts coded?
Message-ID: <7400002@uiucdcsp>
Date: Mon, 18-Aug-86 16:25:00 EDT
Article-I.D.: uiucdcsp.7400002
Posted: Mon Aug 18 16:25:00 1986
Date-Received: Wed, 20-Aug-86 01:48:30 EDT
Lines: 20
Nf-ID: #N:uiucdcsp:7400002:000:896
Nf-From: uiucdcsp.CS.UIUC.EDU!aslam    Aug 18 15:25:00 1986