Skip to content

bortels/HersheyCodea

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 ).

About

Hershey Fonts for Codea

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages