Contextual Alternates and 'case'
mauro sacchetto
Posts: 353
I don't understand how to make the 'case' feature work.
Adobe defines it as follows:
Let's assume a classic use: in Spanish, in front of a capital letter. I want to replace the questiondown with one appropriately raised, so that it rests on the baseline: how does a simple 'case' know if after question there is an upper or lower case, that is how is it case-sensitive? Evidently something escapes me, if I only see a simple Single Substitution and not, for example, a new contextual chain replacement ...
Adobe defines it as follows:
Shifts various punctuation marks up to the position that works better with all-capital sequences or sets of lining figures.
Now, in the fonts that I have considered it is always a simple Single Substitution of 'case' type.Let's assume a classic use: in Spanish, in front of a capital letter. I want to replace the questiondown with one appropriately raised, so that it rests on the baseline: how does a simple 'case' know if after question there is an upper or lower case, that is how is it case-sensitive? Evidently something escapes me, if I only see a simple Single Substitution and not, for example, a new contextual chain replacement ...
0
Comments
-
Just write the ‘case’ feature like that:sub exclamdown by exclamdown.case;
sub questiondown by questiondown.case;
sub hyphen by hyphen.case;
sub endash by endash.case;
sub emdash by emdash.case;etc.Then save and install the font. In InDesign, type something using the characters to be substituted and change the text to all caps.0 -
Now, if /questiondown/ must always be substituted by /questiondown.case/ if it is before an uppercase letter, I guess you must make a list of the combinations where it will be activated. Like this:sub questiondown' [A Aacute Abreve Acaron Acircumflex Adieresis Agrave Amacron Aogonek Aring Atilde AE B C Cacute Ccaron Ccedilla Ccircumflex Cdotaccent D Eth Dcaron Dcroat E Eacute Ebreve Ecaron Ecircumflex Edieresis Edotaccent Egrave Emacron Eogonek F G Gbreve Gcircumflex Gcommaaccent Gdotaccent H Hbar Hcircumflex I IJ Iacute Ibreve Icaron Icircumflex Idieresis Idotaccent Igrave Imacron Iogonek Itilde J Jcircumflex K Kcommaaccent L Lacute Lcaron Lcommaaccent Ldot Lslash M N Nacute Ncaron Ncommaaccent Eng Ntilde O Oacute Obreve Ocaron Ocircumflex Odieresis Ograve Ohungarumlaut Omacron Oslash Otilde OE P Thorn Q R Racute Rcaron Rcommaaccent S Sacute Scaron Scedilla Scircumflex Scommaaccent Germandbls T Tbar Tcaron Tcedilla Tcommaaccent U Uacute Ubreve Ucaron Ucircumflex Udieresis Udieresisacute Udieresiscaron Udieresisgrave Udieresismacron Ugrave Uhungarumlaut Umacron Uogonek Uring Utilde V W Wacute Wcircumflex Wdieresis Wgrave X Y Yacute Ycircumflex Ydieresis Ygrave Z Zacute Zcaron Zdotaccent] by questiondown.case;…and, additionaly, I’d say that you might want to put this instruction under the ‘calt’ feature, not ‘case’, since ‘calt’ is activated by default in InDesign. The ‘case’ feature is only activated when you say so in InDesign (and other software supporting OT features, of course).Anyway, as a native Spanish reader and typographer, I must say that I’d only use /questiondown.case/ if the text is set in all caps, so I’d go for including all this in the ‘case’ feature. If the text is set in upper and lowercase, I’d go for the standard /questiondown/ glyph. For me, the /questiondown/+[uppercase] combination is not problematic in itself… but certainly some people might disagree with this.0
-
I realize that 'calt' solve this issue. But, for example, if don't active <+case> in LaTeX I don't obtain the desired result. So, do you mean that the only solution to automate the process is to set a "calt"?0
-
I am not familiar with LaTeX but, for an InDesign enviroment, I’d say yes, because ‘case’ is not supposed to be activated by default, but ‘calt’ is.
0 -
If you are determined to make 'calt' detect allcaps to replace 'case', you'll want to check for two capital letters after the mark, as most sentences begin with one.
0 -
mauro sacchetto said:how does a simple 'case' know if after question there is an upper or lower case, that is how is it case-sensitive? Evidently something escapes me, if I only see a simple Single Substitution and not, for example, a new contextual chain replacement ...
The 'case' feature is activated when the user selects 'all capitals' in the application's interface.
André3
Categories
- All Categories
- 43 Introductions
- 3.7K Typeface Design
- 803 Font Technology
- 1K Technique and Theory
- 622 Type Business
- 444 Type Design Critiques
- 542 Type Design Software
- 30 Punchcutting
- 136 Lettering and Calligraphy
- 83 Technique and Theory
- 53 Lettering Critiques
- 485 Typography
- 303 History of Typography
- 114 Education
- 68 Resources
- 499 Announcements
- 80 Events
- 105 Job Postings
- 148 Type Releases
- 165 Miscellaneous News
- 270 About TypeDrawers
- 53 TypeDrawers Announcements
- 116 Suggestions and Bug Reports