Typophile

Script to use old style figures in non-OpenType fonts?

David R. Fideler

Is there some way to easily use old style figures in non-OpenType fonts that support small caps and old style figures without having to format the number individually?

This can be very time consuming in text that has a lot of numbers.

Any suggestions for a quick formatting approach would be appreciated . . . is there some kind of script out there?

David

There are quite a few faces that have non-OpenType versions with both lining and oldstyle figures, in separate fonts--especially FontFonts.

I've published a few typefaces, prior to OpenType, where the default is oldstyle figures e.g. Bodoni Egyptian, Paradigm, Preface.

There are also many OpenType fonts that have oldstyle figures as the default.

What kind of program(s) are you using to set the text?

Nick, many thanks for the response.

It's easy to use oldstyle figures in OpenType fonts, because you can turn the setting on for an entire chapter of a book. But if I wanted to use oldstyle figures in an non-OpenType font with both lining and oldstyle figures in separate fonts, is there an efficient way to convert the lining figures to oldstyle figures without having to individually format each number?

That actually was my question, but I may not have stated it clearly.

I'm using InDesign and create a lot of books.

What I'm referring to is U&lc fonts where the ONLY difference is that one has old style figures as the default, and the other has lining figures. So, a different beast than the "SC + OSF" font.

But even if you are using "U&lc + LF" and you want to convert the figures to those in the SC+OSF font, you could use "find/replace" (if your app has a change-font component in that search feature.

If your version of InDesign happens to be the latest -- CS4 -- you can simply use a GREP style to toggle a font for digits only.

In short: create a character style, only defining the font for the alternate digits; then, in the appropriate paragraph styles, create a new GREP style. Coincidentally, these are predefined with "\d" -- i.e., "all digits" -- so all you have to do is set the character style.

And for older versions of ID, I'd suggest creating a character style and simply use search-and-replace to find all digits -- use "^9" as search code -- and replace with no text, and in formatting: your character style.

Note that both options heavily rely on the fact that the digits should have the regular character codes (as you are only changing the font). If you have a font with both lining and oldstyle digits, you cannot use this trick and have to manually replace each digit one by one.

Another option is to have someone (or ask the foundry) to generate a custom version of the font for you with the oldstyle figures in the U&lc font. I used to do this for some of my book work -- after either ascertaining that the standard EULA allows such modifications (i.e. Adobe fonts) or contacting the foundry for permission to do so.

It was precisely this frustrating experience that led me to develop Whitman with two different figure style fonts and convince FB to release it that way. (This was prior to OpenType.)

Thanks for the suggestions everyone. I'm using InDesign CS3 and will try the ^9 replacement shortcut.

I use Macs, and was wondering if I could use a program like this to convert typefaces with separate sc/oldstyle figure fonts into a singe OpenType font that would allow me to quickly select oldstyle figures for an entire document?:

http://www.fontlab.com/font-converter/transtype/

If so, it would be worth the cost to me.

I doubt that TransType will automatically combine two separate fonts into a single OT font and write the appropriate OTL features for accessing SC and OsF through the relevant InDD commands.

Someone with more experience will have to tell us whether it provides tools for doing so manually.

Captured from web.archive.org on 31 Jan 2010. view this capture