Ok, Opentype wizes…
I’ve been using Thomas Phinney's Opentype random code he posted in the Adobe user to user forums
http://www.adobeforums.com/cgi-bin/webx?50@755.561rfSM0Gas.1@.3bbc5ea4
and it works great! I’m working on a typeface that has one alternate for each Uppercase charicter and three alternates for each lowercase charicter making 2 different glyph forms for the Caps and 4 different glyph forms for the lowercase. My question is what is the logic behind repeating "lookup rotate;" 13 times? Does it relate to having eight different glyph forms?
my code looks like this:
feature calt {
lookup UCrotate {
sub @default_UC @default_UC' by @UC_calt1;
} UCrotate;
lookup UCrotate;
lookup UCrotate;
lookup UCrotate;
lookup UCrotate;
lookup UCrotate;
lookup UCrotate;
lookup UCrotate;
lookup UCrotate;
lookup UCrotate;
lookup UCrotate;
lookup UCrotate;
lookup UCrotate;
lookup UCrotate;
lookup lcrotate {
sub @default_lc @default_lc' by @lc_calt1;
sub @lc_calt1 @default_lc' by @lc_calt2;
sub @lc_calt2 @default_lc' by @lc_calt3;
sub @lc_calt3 @default_lc' by @lc_calt4;
} lcrotate;
lookup lcrotate;
lookup lcrotate;
lookup lcrotate;
lookup lcrotate;
lookup lcrotate;
lookup lcrotate;
lookup lcrotate;
lookup lcrotate;
lookup lcrotate;
lookup lcrotate;
lookup lcrotate;
lookup lcrotate;
lookup lcrotate;
} calt;
Thanks!
Josh