help on tables

Primary tabs

2 posts / 0 new
Last post
Graham Meade's picture
Joined: 18 Dec 2005 - 5:43am
help on tables

What is a g sub table ? and how do you make one ?
Been told it has g pos tables but no g sub tables. I'm lost.

Village's picture
Joined: 25 Jun 2006 - 8:52pm

A GSUB table is a substitution lookup. The most common one is for ligatures:

feature liga {
sub f i by fi;
sub f l by fl;
} liga;

And that's the most basic version of it.

OT fonts only seem to work properly if they have at least one GSUB and one GPOS. (Kern is the "big" GPOS. GSUB is how small caps, alternate numeral sets, etc. are achived.)