| 1 |
The Punk Nova font |
| 2 |
================== |
| 3 |
|
| 4 |
This is an OpenType implementation of Donald Knuth's |
| 5 |
[Punk font](http://tug.org/TUGboat/Articles/tb09-2/tb21knut.pdf). |
| 6 |
|
| 7 |
The original Metafont sources were adapted to a more MetaPost friendly |
| 8 |
form by Taco Hoekwater et al. |
| 9 |
|
| 10 |
Punk is a dynamic font, every time a glyph is requested Matafont draws |
| 11 |
a unique instance of it. On the other hand, OpenType is static, glyph |
| 12 |
outlines are drawn once and stored in the font and the renderer can not |
| 13 |
alter those outlines. To emulate the dynamic nature of Punk, we generate |
| 14 |
several alternate shapes of each glyph and store them in the font. |
| 15 |
Alternate shapes are mapped to the base character using OpenType |
| 16 |
["Randomize"](http://www.microsoft.com/typography/otspec/features_pt.htm#rand) |
| 17 |
feature (rand), which tells the renderer to select glyphs randomly from |
| 18 |
the list of alternate shapes. |
| 19 |
|
| 20 |
The PostScript outlines of the glyphs are generated by MetaPost, a |
| 21 |
Python script then uses FontForge to import the glyphs into an OpenType |
| 22 |
CFF font. Since this year is the 2^5 anniversary of TeX, each lower case |
| 23 |
letter have 2^5 variants, 2^4 for each upper case and 2^3 for the rest. |
| 24 |
|
| 25 |
This font is free software, you can do whatever you want with it as long |
| 26 |
as you use different font and file names. The exact copyright statement is: |
| 27 |
|
| 28 |
"Unlimited copying and redistribution of this file are permitted as long |
| 29 |
as this file is not modified. Modifications are permitted, but only if |
| 30 |
the resulting file is not named 'punknova.otf' and the (internal) |
| 31 |
fontname differs from 'Punk Nova'." |
| 32 |
|
| 33 |
The MetaPost source has the following notice: |
| 34 |
|
| 35 |
This file is a merge of the original punk files by Donald Knuth, who |
| 36 |
added this comment: |
| 37 |
|
| 38 |
Font inspired by Gerard and Marjan Unger's lectures, |
| 39 |
Feb 1985 |
| 40 |
|
| 41 |
The regular punk files are part of TeXLive and in Metafont format. All |
| 42 |
errors introduced are ours. We also changed the encoding to unicode. In |
| 43 |
due time we might add a few more more characters. We still need to |
| 44 |
improve some of the metrics which involves a bit of trial and error. The |
| 45 |
font just covers basic latin shapes but in ConTeXt MkIV we add virtual |
| 46 |
composed shapes. There is a module m-punk.tex that implements this. This |
| 47 |
derivate is also used in mk.tex (mk.pdf) which is one of our tests for |
| 48 |
LuaTeX. We published an article on it in the MAPS (NTG magazine). |
| 49 |
|
| 50 |
2008, Taco Hoekwater & Hans Hagen |
| 51 |
|
| 52 |
The MAPS article is [available online](http://www.ntg.nl/maps/37/). |
| 53 |
|
| 54 |
|
| 55 |
Khaled Hosny |
| 56 |
|
| 57 |
6 Aug. 2010 |