Can you write nested lookups???

WAY KYI
Posts: 140
Here is example:
Feature Calt{
script DFLT
language xxx
lookup1{
sub1
sub2
----
}lookup1
lookup2{
sub7
sub8
----
}lookup2
lookup3{
sub14
sub15
----
}lookup3
} Calt;
Can all above lookups ( not all subs ) will be processed one by one???
if I combine all lookups like:
lookup1{
sub1
sub2
.....
sub20
}lookup1
all subs will be processed or just processes one sub and exit???
Feature Calt{
script DFLT
language xxx
lookup1{
sub1
sub2
----
}lookup1
lookup2{
sub7
sub8
----
}lookup2
lookup3{
sub14
sub15
----
}lookup3
} Calt;
Can all above lookups ( not all subs ) will be processed one by one???
if I combine all lookups like:
lookup1{
sub1
sub2
.....
sub20
}lookup1
all subs will be processed or just processes one sub and exit???
0
Comments
-
In the multi-lookup case, the lookups will be processed one-by-one.In the one-lookup case, at most one sub will be processed at each position in the glyph stream. Some subs may advance the position by more than one glyph.1
-
Thank you very much Mr. RichardW, this is very helpful. So like, ligature sub may skip more than one glyph. If any of you using Fontlab, I have a font with 3 separate Calt features I created in Fontforge are rounded up in big one lookup and no longer behave the same as font exported from FF. I think that is wrong and I am trying to implement nested lookup in FL to get the same result as in FF. Thanks0
Categories
- All Categories
- 46 Introductions
- 3.9K Typeface Design
- 480 Type Design Critiques
- 558 Type Design Software
- 1.1K Type Design Technique & Theory
- 648 Type Business
- 841 Font Technology
- 29 Punchcutting
- 514 Typography
- 119 Type Education
- 319 Type History
- 76 Type Resources
- 110 Lettering and Calligraphy
- 31 Lettering Critiques
- 79 Lettering Technique & Theory
- 540 Announcements
- 88 Events
- 112 Job Postings
- 168 Type Releases
- 171 Miscellaneous News
- 275 About TypeDrawers
- 53 TypeDrawers Announcements
- 120 Suggestions and Bug Reports