|
|
Subscribe / Log in / New account

Reviving the Hershey fonts

By Nathan Willis
August 26, 2015

TypeCon

At the 2015 edition of TypeCon in Denver, Adobe's Frank Grießhammer presented his work reviving the famous Hershey fonts from the Mid-Century era of computing. The original fonts were tailor-made for early vector-based output devices but, although they have retained a loyal following (often as a historical curiosity), they have never before been produced as an installable digital font.

Grießhammer started his talk by acknowledging his growing reputation for obscure topics—in 2013, he presented a tool for rapid generation of the Unicode box-drawing characters—but argued that the Hershey fonts were overdue for proper recognition. He first became interested in the fonts and their peculiar history in 2014, when he was surprised to find a well-designed commercial font that used only straight line segments for its outlines. The references indicated that this choice was inspired by the Hershey fonts, which led Grießhammer to dig into the topic further.

[Frank Grießhammer]

The fonts are named for their creator, Allen V. Hershey (1910–2004), a physicist working at the US Naval Weapons Laboratory in the 1960s. At that time, the laboratory used one of the era's most advanced computers, the IBM Naval Ordnance Research Calculator (NORC), a vacuum-tube and magnetic-tape based machine. NORC's output was provided by the General Dynamics S-C 4020, which could either plot on a CRT display or directly onto microfilm. It was groundbreaking for the time, since the S-C 4020 could plot diagrams and charts directly, rather than simply outputting tables that had to be hand-drawn by draftsmen after the fact.

By default, the S-C 4020 would output text by projecting light through a set of letter stencils, but Hershey evidently saw untapped potential in the S-C 4020's plotting capabilities. Using the plotting functions, he designed a set of high-quality Latin fonts (both upright and italics), followed by Greek, a full set of mathematical and technical symbols, blackletter and Lombardic letterforms, and an extensive set of Japanese glyphs—around 2,300 characters in total. Befitting the S-C 4020's plotting capabilities, the letters were formed entirely by straight line segments.

The format used to store the coordinates of the curves is, to say the least, unusual. Each coordinate point is stored as pair of ASCII letters, where the numeric value of each letter is found by taking its offset from the letter R. That is, "S" has a value of +1, while "L" has a value of -6. The points are plotted with the origin in the center of the drawing area, with x increasing to the right and y increasing downward.

[Hershey font sample]

Typographically, Hershey's designs were commendable; he drew his characters based on historical samples, implemented his own ligatures, and even created multiple optical sizes. Hershey then proceeded to develop four separate styles that each used different numbers of strokes (named "simplex," "duplex," "complex," and "triplex").

The project probably makes Hershey the inventor of "desktop publishing" if not "digital type" itself, Grießhammer said, but Hershey himself is all but forgotten. There is scant information about him online, Grießhammer said; he has still not even been able to locate a photograph (although, he added, Hershey may be one of the unnamed individuals seen in group shots of the NORC room, which can be found online).

Hershey's vector font set has lived on as a subject for computing enthusiasts, however. The source files are in the public domain (a copy of the surviving documents is available from the Ghostscript project, for example) and there are a number of software projects online that can read their peculiar format and reproduce the shapes. At his GitHub page, Grießhammer has links to several of them, such as Kamal Mostafa's libhersheyfont. Inkscape users may also be familiar with the Hershey Text extension, which can generate SVG paths based on a subset of the Hershey fonts. In that form, the paths are suitable for use with various plotters, laser-cutters, or CNC mills; the extension was developed by Evil Mad Scientist Laboratories for use with such devices.

Nevertheless, there has never been an implementation of the designs in PostScript, TrueType, or OpenType format, so they cannot be used to render text in standard widgets or elements. Consequently, Grießhammer set out to create his own. He wrote a script to convert the original vector instructions into Bézier paths in UFO format, then had to associate the resulting shapes with the correct Unicode codepoints—Hershey's work having predated Unicode by decades.

The result is not quite ready for release, he said. Hershey's designs are zero-width paths, which makes sense for drawing with a CRT, but is not how modern outline fonts work. To be usable in TrueType or OpenType form, each line segment needs to be traced in outline form to make a thin rectangle. That can be done, he reported, but he is still working out what outlining options create the most useful final product. The UFO files, though, can be used to create either TrueType or OpenType fonts.

When finished, Grießhammer said, he plans to release the project under an open source license at github.com/adobe-fonts/hershey. He hopes that it will not only be useful, but will also bring some more attention to Hershey himself and his contribution to modern digital publishing.

Index entries for this article
ConferenceTypeCon/2015


to post comments

Hershey fonts in Turbo Pascal

Posted Aug 26, 2015 12:00 UTC (Wed) by dh (subscriber, #153) [Link]

I remember that these fonts were packaged in Turbo Pascal v4 and up to be able to print text in graphics mode (yes, that *was* a difference back in 1988...). Borland published the fonts without any reference to the original designer but the German computer magazine c't "revealed" the original source of the fonts in January 1990. That article included a description of Borland's file format and an extension which added umlauts ("ä") to the font files. I hope, the modern reincarnation also includes these non-US special chars.

Being defined in straight line segments, Hershey's fonts are even more a true ancestor of today's vector-based font descriptions which use more complex lines. Truly amazing that this work is about 50 years old...

Reviving the Hershey fonts

Posted Aug 26, 2015 14:33 UTC (Wed) by keithp (subscriber, #5140) [Link] (1 responses)

Nice to see these glyphs getting more love — I first encountered them when writing plotting software for HP pen plotters and Ramtek displays in the 1970s. More recently, I used the simplest of them in my 'twin' window system, also converting them to use splines for the curved sections and extending the range to cover ASCII. Here's a link to the paper I wrote about that, and the source code; the font is encoded in a compact representation in twin_glyphs.c

https://www.kernel.org/doc/ols/2005/ols2005v2-pages-33-42...

http://cgit.freedesktop.org/twin/

Reviving the Hershey fonts

Posted Aug 26, 2015 22:33 UTC (Wed) by ewen (subscriber, #4772) [Link]

For those following along at home, this file in the source tree online appears to be twin_glyphs.c:

http://cgit.freedesktop.org/twin/tree/libtwin/twin_font_d...

(It still has that name in the CVS $Id:$ string, but the filename seems to have changed at some point since it was first created.)

AFAICT the Twin code is GPL'd but it looks like the font data itself is a BSD/MIT style license.

Ewen

You Can Use Them To Render Text In Cairo ...

Posted Aug 27, 2015 3:18 UTC (Thu) by ldo (guest, #40946) [Link]

... with the help of my HersheyPy project.

Reviving the Hershey fonts

Posted Sep 3, 2015 15:28 UTC (Thu) by redden0t8 (guest, #72783) [Link]

Modern AutoCAD supports two types of fonts - Truetype and "shape" based fonts. The shape based fonts are in a proprietary (but open) vector format that contains instructions on how to trace the letters from simple lines, conceptually similar to Hershey's original format. Lineweight, etc can then be assigned as with any other line in AutoCAD.

A large portion of the included shape fonts appear to be based on Hershey's work. I really enjoyed learning more about the origin. It also makes the font names make more sense - for historic reasons, they're all 8 characters or less which makes them a little cryptic until you know the back story.

Reviving the Hershey fonts

Posted Sep 11, 2015 6:53 UTC (Fri) by acoopersmith (subscriber, #72107) [Link] (1 responses)

The Hershey fonts were provided as PostScript Type 3 fonts in Sun’s X11/NeWS environment long ago - for instance, see page 479 of the pdf of O'Reilly's X Window System User’s Guide: OpenLook Edition for a reference to them. Unfortunately, they were never published under an open source license for use beyond that, so are essentially lost to history now.

Re: PostScript Type 3 fonts

Posted Sep 13, 2015 3:51 UTC (Sun) by ldo (guest, #40946) [Link]

You mean, like this?


Copyright © 2015, Eklektix, Inc.
This article may be redistributed under the terms of the Creative Commons CC BY-SA 4.0 license
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds