Can you write nested lookups???
Options

WAY KYI
Posts: 137
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.8K Typeface Design
- 476 Type Design Critiques
- 555 Type Design Software
- 1.1K Type Design Technique & Theory
- 640 Type Business
- 831 Font Technology
- 29 Punchcutting
- 508 Typography
- 120 Type Education
- 313 Type History
- 75 Type Resources
- 109 Lettering and Calligraphy
- 30 Lettering Critiques
- 79 Lettering Technique & Theory
- 533 Announcements
- 86 Events
- 110 Job Postings
- 167 Type Releases
- 169 Miscellaneous News
- 274 About TypeDrawers
- 53 TypeDrawers Announcements
- 119 Suggestions and Bug Reports