This page is available in English only

Hershey Font Generator

Generates vector characters for multi-display modules

(40 Votes)
1.1 (Updated 19 years ago)
128.4kB
July 20, 2005
Reaktor 5 or lower

DESCRIPTION

Hershey vector character set generator for Reaktor 5.

** v1.1 update. Added proportional spacing macro to ensure one character is drawn right after previous one in sequence, plus a fixed offset (which can be +ve or -ve). Look at the new Spacing knob in the Character Sets example instrument, and follow the wiring to find the Character Sets -> Output Sequence -> Character Spacer macro.
**
It is sometimes necessary to have a simple set of characters made up of vectors, the Hershey set of vectors is one of the standard descriptions in the public domain. They were originally created by Dr. A. V. Hershey while working at the U. S. National Bureau of Standards.

The font set consists of around 2000 characters ( I have mapped the first 1598) , there are a number of font styles and sizes as well as many special symbols.

I have remapped the raw character data I found at this page:

http://astronomy.swin.edu.au/~pbourke/other/hershey/

into a Reaktor event table and created a Painter macro wrapper to handle all the logic for actually writing out a symbol in a series of Line Segment objects to be sent to a Multi-Display module.

This could be used to generate arbitrary text and symbols onto a Multi-Display pane, either as a simple text string, or as part of a more complex diagram / control / visual whatever.

I would be very interested to see what people might do with this idea!!

Richard Smith July 2005

COMMENTS  (7)

dietrich pank
16 years ago
Great!! thank you very much.
ant stewart
19 years ago
sorry if I sound agitated, I have done loads of work on the Hershey font generator that half of it has been trying to understand how to control the fontsizes colours and index reset bug, and after a day and a half of trying perfect font sizes I went bonkers. especially seeing as my programming sucks, it's a really hard bit of programming to patch into. I seem to have programmed a virus to be honest with letters sliding around the screen round and round and up and down and sliding into the corner just like working with a dodgy mouse-aarg
ant stewart
19 years ago
Hello, I think the Hershey generator is great and I am looking forward to using it in some ensemble. I have already tried something which is the display typing ensemble, which is a basic editor, but I would not want to do anything more with your engine until it is bug free and fully featured! I have tried getting letters of different colours but something strange in the index means that it's impossible, try! I've tried latching it to anything. also the index climbs up to infinity with every reset, please get the Poly index to reset to zero! Anything that I do now with this version hour to do all over again with the next version so I rather wait! I've tried for ages to do the colours already today. If you can make a version with normal Poly display control of the colours with the kind of latch, I would be happy to make a version with colour effects such as fonts with a horizontal coloured divide. Hope you can help, Cheers!
ant stewart
19 years ago
Fandabidozi
Artur Nowak
19 years ago
Incredible!
Michael Polane
19 years ago
great!!
David Morris
19 years ago
That's astounding--what a wonderful and crazy idea!
now