Using salt coding when exceptions are needed.

Scriptor Abbatiſſæ's picture

I need advice on OpenType coding for a font with stylistic alternatives. This feature is mostly about adding extra high ornamental ascenders, and using longer descenders as well; but alternative forms of ‘c’, ‘e’, ‘g’, ‘r’, and the final form of ‘s’ with upper right flourishes are also included in the alternative set. The problem is that the flourished forms of these last must be suppressed whenever ‘b’, ‘f’, ‘h’, ‘k’, ‘l’, or ‘longs’ would follow them, and the ordinary forms without the flourish used instead. Would it be best to suppress the substitution of the flourished forms in these cases by adding ‘ignore’ commands to a block of ‘salt’ code, or to code this in some other way?

k.l.'s picture

Using 'ignore' is more elegant. Apple apps in OSX (10.5.8, curious if it's the same in more recent versions) however execute substitutions even in contexts forbidden by preceding 'ignore' statements ...

Syndicate content Syndicate content