In the world of ancient Near Eastern studies, it can often be difficult to find fonts that properly represent the artefacts we are working with. My experience creating fonts began with a project with Doug Gropp around ten years ago. He was writing a grammar of the targumic Aramaic of Onkelos/Jonathan and wanted to use supralinear Babylonian vocalization in his text. So I prepared a workable font for him, and have been making my own fonts ever since, whenever there was a particular script I wanted to present in my work. I have begun using these custom fonts to visualize possible textual reconstructions. Feel free to try out the fonts in my repertoire here (please consider them cc-by-sa):
- A font based on 4QSama
- Hebrew script with Babylonian pointing (sorry the filename Babylonian_Pointing doesn’t match the font name Aramaic Babylonian)
- Old South Arabian font in the Qatabanian style
- A Pahlavi font
- A modern Ugaritic font
If you want to try your hand at creating your own fonts, the following should serve to get you started.
Creating fonts directly from images is rather trivial, though often time consuming. There are 2–3 steps involved depending on the level of detail one wishes to achieve:
- Creating an inventory of characters from images in your image processor (either Gimp or Photoshop), binarizing them, and saving them together in one graphics file (png is good for this).
- Loading the file created in step 1 into a font editor (Birdfont is particularly easy to use) and vectorizing each character in its appropriate unicode codepoint.
- (optional) creating a kerning table (using Font Forge or Microsoft Volt)
With the exception of Photoshop, all software mentioned here is free. With the exception of Microsoft Volt, all software will run on all platforms (Windows, Mac, Linux).
The process of creating good black and white images for each character can be done to the level of precision desired. Making cleaner lines around the character will enhance the vectorization process and make the font clearer and faster to render, but it is really not necessary for the work we are doing to make estimates. You will find your own happy medium between time spent and level of precision.
The following video shows my process for creating a character map. The steps are essentially as follows:
- load multiple images into the program as separate layers (since they all have DPI information, they should all be imported at the correct size relative to each other)
- use the magic wand tool on the grayscale image to select the character
- copy the character into a new layer
- make guiding marks for the hanging line (I usually see these better in the color image)
- repeat steps 2–4 for every character (save your work often!)
- save the full project now
- delete the layers containing the scroll images
- arrange all the characters into some usable order
- merge layers
- convert to grayscale
- save as png file (do not overwrite your original psd file!)
A video of the procedure in Photoshop is available here.
I will try to make a video with the procedure in Gimp ASAP, but I am not so used to that software yet.
Now that you have a grayscale or binarized graphics file containing all your characters, you can convert them into a font. I have used Birdfont in this demonstration, but you could also use the more advanced Font Forge.
The following video shows the font creation process. The steps are as follows:
- create a new font
- import as a background the graphics file you just created:
three parallel lines on the right upper corner>import and export>import background image (or simply Ctrl+B)
on the bottom of the left menu select “Add”
In the window just opened, select the file you just created> on the upper line, click on “open”
- resize it so it fits the preset character bounds (once you have gotten it to the correct size, do not resize it again), make sure to turn on the hanging line:
On the left black menu under “background image”, click on the circle with the crossed four arrows
Use the small black triangle on the left bottom of your background image to resize
Use the horizontal line with the arrows to rotate the letters
In order to move the background image together with the guidlines, click on the hand button (in the menu under “background image” near the round button with the arrows)
- in the overview tab, select unicode, then scroll down to aleph and double click it
- go to your background tab and draw a box around the aleph (or the current character you are working on), the double click within the box
- click in add to glyph on the left hand panel, then select aleph
- now move the image into proper position using the guidelines you made in the image, rotate the image if necessary
- now binarize, trace, and wait for the processing to finish
To binarize: under the “’background tool” menu click on the square divided to a black and white triangles (If you close the file, and reopen it, you might need to click on that
bottom again for each letter).
To trace: under the same menu click on the circle that half of it is dotted.
In case you wish to change a letter after tracing, you should move the letter. It will create another layer of the same letter. Then, delete the previous layer by clicking on the
x next to the word layer on the left.
- select the guide lines you created and hit the delete key to remove them
- repeat steps 4–9 for every character
- set font attributes and names
- export font
A video of the procedure for converting the characters in the graphics file to vector fonts in BirdFont is available here.
A video of the procedure for setting attributes and names, and exporting the font is available here.
Kerning and Metrics
After all this, you now have a font that works reasonably well. You can stop here and use the font as is (you can do kerning manually in Photoshop and other software). But if you want to make the font even more usable, then continue on to add kerning tables. You should be able to use BirdFont for kerning, and they have a very simple interface for this, but there seems to a bug with left-to-right fonts currently (at least on my machine). So, you must use Font Forge or Volt for this.
The steps for defining kerning pairs is as follows:
- open your new font in Volt
- Add a script, this must be exactly: Hebrew . That is Hebrew starting with a capital H followed by one space, then .
- Add a feature, you should label this Kerning , which lets the processor know this is a kerning table.
- Now add a positioning lookup, but clicking “Add Positioning”. You can name this anything you want.
- Now open the positioning you just created by clicking “Edit Lookup”, set it to “Pair Adjustment” and change from LTR to RTL.
- Now you can click on “Edit Glyphs” to see a list of the characters you have created. Then simply drag them into either the first or second box in the Lookup Edit window.
- Drag the left hand glyph to set kerning for the pair. You can also change values manually. It is best not to change values for the first glyph, only the second.
- To add more kerning pairs, just one of the gyphs in the left hand panes and hit enter to start a new entry.
- You can create character groups for kerning, and this certainly saves some time (for instance ז, י, ו may constitute a thin letter group, then you can just kern the group instead of individual letters). But I will leave groups for further discussions.
- Once you are happy with all you kerning pairs, move the “New Positioning” (or whatever name you gave it) from under the “Lookups” to the left, under the “Kerning ”. Then cick on the “Compile” button, and then you should click on “Proofing Tool” which displays a window in which you can test the font by typing in the input field and turn your kerning tables on and off. Don’t forget to switch the Text Flow to RTL (Right to Left). Mark a v next to the work “kerning” on the left.
You might not be able to see the letters in Hebrew, but do it anyway. It will make the kerning work.
Click on the play button until the blue rectangle encircles all the letters (or the little squares that are displayed instead of them).
- You should save regularly, and when you are finally ready to finish the font, go to “File” and then “Ship Font”, choose a name and you are done.
A video of the procedure for adding kerning tables to your new font can be found here.