-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathREADME
29 lines (21 loc) · 1.22 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
HersheyCodes - Hershey Fonts for Codea
-- The Hershey Fonts were originally created by Dr.
-- A. V. Hershey while working at the
-- U. S. National Bureau of Standards.
-- Useful Links:
-- http://emergent.unpythonic.net/software/hershey
-- http://paulbourke.net/dataformats/hershey/
-- Re-encoding of font information and other shenanigans
-- by Tom Bortels [email protected] November 2011
-- all rights reversed (Hail Eris!)
-- "If I have seen a little further it is by standing
-- on the shoulders of Giants."
-- Isaac Newton
Some notes on usage:
Each font is stored in it's own class file - for example, RomanSimplex.lua is a self-contained class
for the Hershey Roman Simplex font. The code in each class file should be identical - the only
thing that changes is the data describing the font. To use a font, all you need to do is grab the
single file containing the class for that font, and put it in a tab in your Codea project.
The main.lua is full of demonstrations on how to use the fonts, along with some examples of doing things
like spinning text, changing colors, scrolling text, etc. The only *required* part of that main.lua is
the first call in setup that instances the font class ( "f = HersheyRomanSimplex()" in this example ).