This is a companion repository for my typeface Fern Ornaments, which is available Font of the Month Club June 2021 issue along with Fern Text. Read more about the typeface »
The python script in this repository will parse input text to create patterns and borders using Fern Ornaments with specific dimensions and size. It is meant to be run in DrawBot.
Sample patterns are included in the /pattern folder; the script will run the contents of this folder if the pattern list in the script is emptied.
These ornaments were based on a system mentioned by Bruce Rogers, designer of the Centaur typeface, in the book Paragraphs on Printing. This project was also inspired by James Edmonson’s Hobeaux Rococeaux borders script as well as Marina Chaccur’s recent talk on the Kaba ornament.
In the Fern Ornaments font, different shapes are mapped to letters, meant to be easily typed on a QWERTY keyboard. This allows you to easily find reflecting forms by typing adjacent keys.
When avaiable, lowercase letters will display undotted variants of the same form.
Q W E q w e
A D a d
Z X C z x c
R T r t
F G f g
Y U y u
H J h j
I O P
L
B V
S and wordspace ( ) will add space equal to a character. Lowercase s is a half-space.
In the DrawBot script, asterisk (*) is a special character that separates a border element from the main repeating element.
When using the Fern Ornaments font, I recommend setting the line-height to 100% so that spacing is the same horizontally and vertically.
The two main settings in the script are baseWidth, the width of the document, and cells, the number of cells. If you would like to specify different values for width and height, you can use cellsXY. The document height will be automatically calculated using the font size, number of cells, and the margin.
A pattern will repeat until it runs out of cells. For example, these two arcs facing each other.
RT
Using lowercase instead of uppercase will give you undotted versions of the shapes, when available.
rt
Alternatively, moving the R one key position down to F will use the flip of that letter, creating a very different pattern.
FT
Pattern lines can have prefixes and suffixes, helpful in making borders. These are delimited by an asterisk.
A*RT*D
You can add more lines to increase the complexity of the repeating sequence.
A*RT*D
A*FG*D
Just as each line can have a prefix and suffix, your pattern can also have prefix and suffix lines to represent the top and bottom of a border. These are delimited by a line with asterisks. Note that all lines do not have to have the same number of repeating characters.
Q*W*E
******
A*RT*D
A*FG*D
******
Z*X*C
You can use S or the wordspace to add empty space to the inside or outside of patterns. From there you can mix and match the shapes to make the patterns as complicated as you want!
Q*W*E
AV*O*BD
*
AI*RTYU*PD
AI*UYFG*PD
AI*YURT*PD
AI*FGUY*PD
*
AB*L*VD
Z*X*C