Can you write nested lookups???
WAY KYI
Posts: 130
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
- 43 Introductions
- 3.7K Typeface Design
- 799 Font Technology
- 1K Technique and Theory
- 617 Type Business
- 444 Type Design Critiques
- 541 Type Design Software
- 30 Punchcutting
- 136 Lettering and Calligraphy
- 83 Technique and Theory
- 53 Lettering Critiques
- 483 Typography
- 301 History of Typography
- 114 Education
- 68 Resources
- 498 Announcements
- 79 Events
- 105 Job Postings
- 148 Type Releases
- 165 Miscellaneous News
- 269 About TypeDrawers
- 53 TypeDrawers Announcements
- 116 Suggestions and Bug Reports