Phinney on Fonts About Thomas & the blog Phinney on Fonts main page

Picture of ThomasThomas “my other car is a sans serif” Phinney on fonts, typography & text. Geeky troubleshooting and info for font developers and users. Consulting & expert witness for fonts & typography.Read more...


My massive page of type design info »

Cristoforo swash B in FontLab Studio.

Cristoforo swash B in FontLab Studio. (No, you probably wouldn’t show all these layers at once during normal work.)

I just finished creating an organized  page of type design info and links. Enjoy!

How to Tell If a Font Sucks »

Are you a user of fonts who needs to tell if a font is well made, or an aspiring novice type designer? The March–April 2014 issue of Communication Arts features my article on evaluating font quality, “How to Tell If a Font Sucks,” on p. 24—now online as well!

It looks like it is hard to see the subtleties in some of the graphics in the down-​res web-​ified version of the article, though the print mag looks great. I will see about posting a version with high-​res images in PDF.

I’m really pleased with this article. My new editor Robin Doyle at CA did a great job helping me clarify some points and figure out where more graphics were needed.

That said, there are some corner cases and subtleties around this discussion that I didn’t have time or space to get into in the article, which was already long and involved. But that is what blogs are for. 🙂

Although I stand by everything in that article, typefaces that are deliberately naïve/​unsophisticated are one place for legitimate exceptions to some of the guidance I give in the article. For example, I had a lovely discussion with some folks who made a typeface based on some classic road signs. The original signs did not use optical compensation at stroke joins (point 5 in the article), so they didn’t do it in the typeface either. Although I might rarely be interested in going that way myself, I have to agree that it was a perfectly legitimate design choice, given the origins of the typeface as a signage revival—even though in many another context I would be calling it crap!

Optical compensation at stroke joins is also specific to certain typographic traditions. Certainly for Latin-​based fonts (English, French, German, Hungarian, etc.) it is nearly universal, as it is for Cyrillic (Russian, etc.) and Greek. But some writing systems do things differently, such as Devanagari (used for Hindi, Marathi, Sanskit).

Non-​western writing systems can also change other assumptions. For example, the idea that straight-​to-​round transitions  (point 6 in my article) should be very smooth is very much not the case for Thai.

Anyhow, check it out and let me know if I can clarify anything else!

More free FontLab encoding files for type designers »

Last week I wrote about posting five FontLab encoding files for Adobe Latin character sets.

Today I posted in the same Github repository three FontLab encoding files for Adobe Cyrillic character sets, and updated the five Latin files with a few added currency symbols and glyph name changes (as I expected I might).

The character set definitions underlying these files were built on a bunch of research I did at Adobe back in 2006–08, with additional work by Miguel Sousa. The headers include much detail on the differences between each set, and the languages covered. Both of these character sets reflect the latest data from Adobe on how they name glyphs and what they are including in current fonts (not including OpenType alternates and features, mind you). The headers of the files have some interesting details and history, especially on the Cyrillic side.

Thanks as always to my old friends at Adobe, including Miguel and David Lemon, for their willingness to share production information with the type design community.

I dedicate this post and my work on the Cyrillic encoding files to the memory of Emil Yakupov, CEO of the ParaType type foundry in Moscow, who passed away just a month ago at the age of 56. His advice and feedback on Cyrillic character sets—among many things—was invaluable to me. I remember one of our first meetings, when Emil gave me a pair of ParaType catalogs as I was first becoming involved with Cyrillic type design. I still consult them to this day when trying to internalize what forms different Cyrillic characters can take in different font styles.

Also, Emil remembered by Adam Twardoch.

Прощай, Эмиль.

 

 

Free FontLab Latin encoding files for type designers »

I just posted some free FontLab “.enc” encoding/​character set files for the five Adobe Latin character sets, in my Github repository.

To install, quit FontLab, find the “Encoding” folder in the shared “FontLab” folder, and drop the files in there. Restart FontLab and these will be available as encodings.

NOTE: These were later updated to reflect minor tweaks Adobe has made since I described the character sets and posted the data, almost six years ago. I added currency symbols such as the Indian rupee, Turkish lira, Russian ruble and Ukrainian hryvni, and changed a few glyph names to match current Adobe practice. Thanks as always to my old friends at Adobe, including Miguel and David Lemon, for their willingness to share production information with the type design community.

This follows a couple of possibly-​useful FontLab scripts I posted a couple of weeks ago, in the same place.

Some free FontLab scripts for type designers »

I have started posting a few scripts in my own repository on GitHub. They are libre (free, open source) under an Apache 2.0 license.

tphinney-github-repo

Unfortunately, my “best” (or at least most complicated) script is very specific to my workflow on developing my Cristoforo family (it does the steps detailed at the bottom of this blog post). It is a heavily modified version of Ben Kiel’s “Better Generate Font” script. I chose not to post it as the workflow is just so very peculiar to my needs and does things like put my license URLs in the font, but if you want it for some reason, perhaps as a starting point, ping me.

 

 

 

FontLab type design workshop in India, March 3–5 »

I am very excited to be getting my visa for India today! I’m one of the instructors for a 3-​day advanced type design workshop with FontLab. Registration is now open on the FontLab blog, and there is a detailed schedule of planned talks.

Overlapping Paths in Type Design »

One problem with releasing lots of pre-​release builds to my Kickstarter backers is that I don’t test every single one as much as I otherwise would. Generally any errors are minor, but earlier today I managed a moderately important one: I didn’t remove overlapping paths in my outlines during the build process. Well, actually, I did remove overlap, but as I did not first decompose my composite glyphs, it didn’t fix most of the problem cases.

Why would you want to have overlapping paths in your glyph outlines, and why/​when would it be a problem?

Here are several glyphs (as shown by H. James Lucas) that had overlapping paths in this last build:

image of overlapping paths in a font

Overlapping paths rendering badly in Adobe InDesign

So, clearly it’s a problem if they render badly in some apps. Interestingly, this is dependent on not only what is doing the font rendering, but also what size the glyphs are rendered at. Adobe’s core rendering engine has three or four different rendering modes, and what it picks is size-dependent.

Overlapping paths are sort of okay in TrueType fonts—the rendering engines will deal with them better. But they will still produce bad results if a user does something like apply an outline or stroke to the text.

So why do I leave these things in while developing the font? Well, during development, it is useful to keep the basic elements separate, and only remove overlap later on. So for example, if I change the underlying swash H glyph, I want the Swash-​H-​with-​bar to automatically pick that up. Similarly, the C shape seen in the colon currency symbol (used in Costa Rica and El Salvador) is shared between the Ghanaian cedi, the euro symbol, and a stylistic variant of the cap C. I used the same primitive elements in the ffj ligature in numerous other ligatures (including ffi). And so on.

Of course, as leaving overlaps in the final font causes problems, normally I take care of this as part of each build. My  usual build sequence for creating OpenType OTF fonts from my FontLab file:

Anyhow, in this particular build I missed the “decompose” step, so all overlaps involving composite glyphs (most of them) still overlapping. Of course I have fixed this, and am sending revised fonts to my backers.

On Kerning (and Spacing) Fonts »

Adding kerning is one of the very most tedious tasks in developing a font, if it is done well. It is also the final major production task in type design.

As I am finishing this stage on the Regular style of my Kickstarter typeface Cristoforo, and about to send updated fonts to my backers, I find myself needing to explain what this kerning business is, anyway. So I thought I would post something here for general public consumption, and point to it from my latest Kickstarter update.

In fonts, each glyph is placed in a slot with a certain amount of space allocated to it, which generally includes white space on either side. The total horizontal space allocated to a glyph is its “advance width.” The distances between the furthest extent of each side of the glyph and the ends of the allocated space are the “sidebearings”—which can even be negative numbers, if part of a glyph sticks into a neighboring space.

In high-​end type design, spacing is an especially complex art and craft. But many junk fonts don’t even get the basics right, and that is easily detected. Decent spacing is consistent, and follows certain general principles about shapes. Consistency means the “same” elements should get the same space across different glyphs, and similar elements spaced similarly. So the left sidebearings of OCGQ and the right sidebearing of D are all usually either the same or very close.

Designing even spacing is about keeping a relatively consistent amount of white space between letters. In a typical sans serif font, a letter like O only needs 50–60% as much in the way of sidebearings as an H. Something like a T or a V might have sidebearings at or close to zero. Lowercase letters are generally spaced slightly closer than their cap brethren.

picture of bad spacing

Inconsistent treatment of sidebearings makes this geometric sans serif typeface less useful. (click for full-​res image)

Passable spacing image

Consistent and reasonable (if uninspired) spacing in a sans serif font. (Click for full-​res image.)

ADDED: Here is a video tutorial I did on spacing.

 

Kerning

The word “kerning” can refer to any of three things:

  1. noun: data in a font that adjusts spacing for particular letter combinations.
  2. verb: the act of creating such data
  3. verb: when setting text, the act of adjusting space between particular letters in text. This is an operation done by a typesetter in text setting software, and is not a font editing operation. Also, not to be confused with tracking, which is adjusting the overall spacing of a block or range of text all at once.

For purposes of this article, I’m concerned with the first two definitions: kerning data built into fonts, and how to create that data. We’ll get to the “how” later, first let’s talk about the “what.”

It’s critical that the basic spacing be done well in any font, but for particularly difficult combinations, the font should also contain built-​in kerning (which can help avoid the need for the end user to do manual kerning). Kerning is a set of adjustments to the default spacing for specific troublesome letter combinations, so as to deal with fact that, without intervention, “AV” will be set too far apart, or that in some fonts “f)” will make the top terminal of the f collide with the parenthesis. Vast amounts of kerning are not always a necessity for a well-​made font, but if there is no kerning, or if it does not deal with common situations like “LT” and “To”. . . then there is something wrong.

 

Making Kerning

In the “old days” prior to about 10–15 years ago, kerning was done by defining pairs and adjusting the spacing. So combinations such as To and Te would be separate pairs, as would VA and WA. This was a pain, but still manageable as long as fonts still only have <256 glyphs per font, although some would end up with thousands of kerning pairs, and some apps would break (in different and interesting ways) when working with very large amounts of kerning data.

But it is not unusual for an OpenType font to have a thousand glyphs or more. Cristoforo Regular has 1324 glyphs now. Luckily, OpenType allows for “class kerning,” in which glyphs can be grouped into classes, and then the classes are kerned instead of individual glyphs.

So the first thing to do is to define those kerning classes! I spent days on and off just doing that for Cristoforo Regular. Some of them only apply when the class is on the left, some when the class is on the right, and a few apply to either side. I had 96 kerning classes before I started kerning. I made a few additions and deletions during the process, and am sitting with 101 right now, with 632 distinct adjustments between classes (the class equivalent of “kern pairs”). Probably a week or more of work, if it was full time.

Here’s the display of classes in FontLab Studio 5.1.4. Most of my classes for Cristoforo have anywhere from 4–30 glyphs, but some have just one or two, and the largest has 84.

Kerning class definition in FontLab Studio 5.2 (image)

The left listing has all the classes, along with whether they are left side, right side, or both. The selected class is a left side class, composed of capital letters with round left sides, such as CGOQ. (Click for full size image.)

Getting the class definitions right is critical. If a glyph is missed out, it doesn’t get kerned. If a glyph appears in two left-​side or two right-​side classes, it causes an error that means that a bunch of the kerning will never be applied when the font is used. (FontLab Studio warns appropriately, but debugging can take a while.)

Here is how the spacing can be viewed with arbitrary strings of text in the metrics window. At the moment the effect of kerning is not being shown.

unkerned text image

FontLab Studio metrics window showing advance widths and sidebearings for unkerned text. (Click for full size image.)

Below you can see the same text only with kerning applied.

Kerned text

Effects of kerning are shown. The metrics listing above the text only shows those pairs for which both members are considered the primary exemplar; other combinations are often kerned as a result of class membership. (Click for full size image.)

The next version, below, highlights the points where kerning is happening. Mostly kerning makes the combinations closer together, except the “e.” combination, where the period has to be moved a smidge further away.

Kerned text annotated

FontLab Studio metrics window showing advance widths and sidebearings for unkerned text. (click for full size)

 

Application Support

Most graphics and publishing apps simply use the kerning data in the font by default. You have to do something special to avoid it or get different results. This is true of Photoshop, InDesign, Illustrator, and QuarkXPress.

The Adobe apps refer to the kerning built into the font as “Metrics” kerning, as opposed to no kerning or Adobe’s automatic “Optical” kerning. In a well-​made font Metrics kerning produces the best results, but even then Optical kerning can be handy for combinations the type designer missed, or situations that can’t be handled by kerning built into the font (such as kerning between different font sizes or two entirely distinct fonts).

Even WordPerfect, back around 1990, had kerning on by default, if I remember correctly. But not Microsoft Office.

Microsoft Word has allowed you to turn on kerning pretty much forever, it just defaults to being off. To turn it on, in recent versions, go to Format > Font or hit Ctrl-​D (Cmd-​D on Mac). You’ll get a big dialog. Select the “Advanced” tab.

Then in the top “Character Spacing” section, check the box that says “Kerning for Fonts.” The default is to set kerning on for 12 point and above, but you can reduce it—I generally set it to 1 point because I want kerning on all the time. Unless I am writing an article about kerning I never want it off.

Word kerning dialog

Kerning dialog in Microsoft Word 2011 for Mac (Word 2010 for Windows is similar)

PowerPoint has more recently started supporting kerning. In more recent versions, go to Format > Font or hit Ctrl-​T (Cmd-​T on Mac). In the resulting dialog select the “Character Spacing” tab. Then check the “Kerning for fonts” option.

PowerPoint kerning dialog

Kerning dialog in Microsoft PowerPoint 2011 for Mac (PowerPoint 2010 for Windows is similar)

So that’s all you need to know to use and appreciate kerning!

NOTE: About 1/​4 of the text of this post is borrowed from my article “Know If a font Sucks,” currently in press for the March–April issue of Communication Arts.

Intro Type Design Workshops in New York & Singapore »

I had so much fun doing this in Portland, that I am again joining Dave Crossland (pending sufficient registrations) to teach a 2-​day intro type design workshop in New York City at Columbia University’s School of Journalism, July 20–21.

We have essentially a loose anarcho-​syndicalist collective, organized by Dave under the “Crafting Type” banner. Doing this in a tag-​team format turns out to be amazingly effective and fun. Dave comes from a very different perspective than I do in some respects, but we share our love of type and type design. Students really benefit from a variety of viewpoints and expertise.

The Singapore Crafting Type workshop is July 17–19, being taught by Eben Sorkin and Octavio Pardo. They too are knowledgeable instructors with varying perspectives, and it should be a great opportunity! 

Here again is some of my own work:

Hypatia Sans poster style sample

Hypatia Sans poster on Adobe’s site, click for high-​res PDF.

Crafting Type” intro font design workshop in Portland »

I am joining Dave Crossland and other type designers (depending on registration levels) to teach a 3-​day intro type design workshop here in Portland at the Pacific Northwest College of Art (PNCA). I am really looking forward to this, even if I don’t know that I can live up to the hype from the initial teaser post about it. But I love type, and I have spent a lot of time thinking about how to teach the basics of type design. I am looking forward to helping do that in a workshop environment, and doing so with other instructors so we can divide up the material, and even dynamically discuss things in front of the class. Dave comes from a very different perspective than I do in some respects, but we share our love of type and type design.

Thanks to Paul Platosh at PNCA for helping make this happen!

Here is some of my own work:

Hypatia Sans poster style sample

Hypatia Sans poster on Adobe’s site, click for high-​res PDF.

« Previous posts Next posts »