Tabular punctuation in the font with both Lining and Oldstyle Figures
Options
Michael Rafailyk
Posts: 143
Hello!
I want to add a space, period, and comma (maybe something else usefull for the tables?) to the Tabular Figures feature, but the font contains both Lining and Oldstyle Figures, so it's become more complicated and I'm stuck a bit in the dependencies.
Classes
Lookups
Lining
Here, Tabular and Proportional lookups are dependent from what has been substituted before it – in the Lining and Oldstyle. So it's a chain where the first step is a substitution of space by space.osf in the Oldstyle lookup, and the next step is a substituton of space.osf by space.tosf in the Tabular lookup.
The problem
Lining Tabular figures have different advance width (in my case) than Oldstyle Tabular figures, so I need to have different space.tf and space.tosf. That mean, I also need to have different space and space.osf. It's 4 different versions of the space glyph (and for period and comma too) where space and space.osf are identical (the same width) just with the different names.
I'm wondering if this intermediate duplicate (space.osf) can be avoided. I know it's possible to apply a few unicodes to one glyph, but not the a few names, so it should be different separated glyphs. Is that right?
I want to add a space, period, and comma (maybe something else usefull for the tables?) to the Tabular Figures feature, but the font contains both Lining and Oldstyle Figures, so it's become more complicated and I'm stuck a bit in the dependencies.
Classes
@lf = [zero one two three four five six seven eight nine]; @osf = [zero.osf one.osf two.osf three.osf four.osf five.osf six.osf seven.osf eight.osf nine.osf]; @tf = [zero.tf one.tf two.tf three.tf four.tf five.tf six.tf seven.tf eight.tf nine.tf]; @tosf = [zero.tosf one.tosf two.tosf three.tosf four.tosf five.tosf six.tosf seven.tosf eight.tosf nine.tosf]; @lfPunct = [space period comma]; # original @osfPunct = [space.osf period.osf comma.osf]; # identical to original @tfPunct = [space.tf period.tf comma.tf]; # by Lining Tabular width @tosfPunct = [space.tosf period.tosf comma.tosf]; # by Oldstyle Tabular width
Lookups
Lining
sub @osf by @lf sub @osfPunct by @lfPunctOldstyle
sub @lf by @osf sub @lfPunct by @osfPunctProportional
sub @tf by @lf sub @tfPunct by @lfPunct sub @tosf by @osf sub @tosfPunct by @osfPunctTabular
sub @lf by @tf sub @lfPunct by @tfPunct sub @osf by @tosf sub @osfPunct by @tosfPunct
Here, Tabular and Proportional lookups are dependent from what has been substituted before it – in the Lining and Oldstyle. So it's a chain where the first step is a substitution of space by space.osf in the Oldstyle lookup, and the next step is a substituton of space.osf by space.tosf in the Tabular lookup.
The problem
Lining Tabular figures have different advance width (in my case) than Oldstyle Tabular figures, so I need to have different space.tf and space.tosf. That mean, I also need to have different space and space.osf. It's 4 different versions of the space glyph (and for period and comma too) where space and space.osf are identical (the same width) just with the different names.
I'm wondering if this intermediate duplicate (space.osf) can be avoided. I know it's possible to apply a few unicodes to one glyph, but not the a few names, so it should be different separated glyphs. Is that right?
Tagged:
0
Comments

/space is default (proportional)
So order your tnum lookup before your onum lookup and in tnum havesub space by space.tf
then in your onum lookup havesub space by space.osf sub space.tf by space.tosf
J.
0 
I understood, to order tnum/pnum first, and then onum/lnum. Interesting.
My case is just reversed (onum/lnum first and then tnum/pnum) and it looks like this:
onumsub space by space.osf
tnumsub space by space.tf sub space.osf by space.tosf
That is, the number of steps is the same. So, in any case, there should be 4 (not 3) versions of space. O'k, looks like it's normal practice.
Thanks John.0 
Why not make both oldstyle and lining tab figures with the same width?
Imagine that a typographer has prepared a complex table with oldstyle figures and the client says “Nah, change the figures to lining”.
(And while you’re at it, make sure that different weights of tab figures have the same width too.)3 
Nick, that make a sense. I didn't even thinked about it.
I think it's possible to leave both proportional figures as they are, and just find a certain common advance width for Tabular Linings and Tabular Oldstyle figures only.
And it also simplifies the logic, to only two versions of punctuation instead of four.
Thanks for your thoughts.0
Categories
 All Categories
 40 Introductions
 3.6K Typeface Design
 778 Font Technology
 1K Technique and Theory
 598 Type Business
 437 Type Design Critiques
 529 Type Design Software
 30 Punchcutting
 135 Lettering and Calligraphy
 82 Technique and Theory
 53 Lettering Critiques
 467 Typography
 292 History of Typography
 112 Education
 63 Resources
 484 Announcements
 76 Events
 105 Job Postings
 147 Type Releases
 155 Miscellaneous News
 264 About TypeDrawers
 53 TypeDrawers Announcements
 112 Suggestions and Bug Reports