|
ArchivePoster
Guest
|
 |
« on: 2008-03-05, 19:33:00 » |
|
Posted by: sanides2 Hi there! Just wondering if anyone else is unhappy with the "case" feature... (In InDesign it moves glyphs like "hyphen", "emdash" etc upward when text is marked as "All Caps" , but it doesn't work when text is directly written in caps or capitalized by selecting "Type/ Change Case". I tried to make the case sensitivity work whenever caps are in use by including the following lookup in the "liga" feature. Seems to work.
Maybe someone would like to try it or comment it.
lookup liga25 { sub @positionNormal' [@uppercaseLetters ] by @positionHigh; sub @positionNormal' @positionNormal [@uppercaseLetters] by @positionHigh; sub @positionNormal' @positionNormal @positionNormal [@uppercaseLetters] by @positionHigh; sub [@uppercaseLetters @positionHigh] @positionNormal' [@uppercaseLetters @positionNormal space] by @positionHigh; } liga25;
The classes contain:
@positionNormal: parenleft, parenright, braceleft, braceright, hyphen, exclamdown, questiondown, endash, emdash etc IN NORMAL POSITION
@positionHigh: parenleft, parenright, braceleft, braceright, hyphen, exclamdown, questiondown, endash, emdash etc IN HIGH POSITION
@uppercaseLetters: all the capital letters
|