On Sunday, February 9, 2003, at 05:06 PM, Hans Hagen wrote:
Now, to go back to the auto-size-switching thing, here's a variation on the suggestion by Hans:
\definefontsynonym [AutoSerif] [\fontrange {MinionPro-Capt <10pt MinionPro-Regular <12pt MinionPro-Subh <15pt MinionPro-Display ??? }]
(am not sure how to specify the last)
no specification, just a name, it's the auto-fall back
But something like "<10pt" is saying, "if font size is less than 10pt, use MinionPro-Capt"; right? So how do I deal with the Display size, which is for fonts greater than or equal to 15pt?
So exactly where do I put this in the typescriptfile, and how do I integrate it? What I want to do is to be able to put, for example, MinionPro-BoldCapt-OSF-8y, into the "minionpro,minionpro-osf" typescript below, and each respective optical font into its respective typescript. I'm not really understanding the logic of how this would work.
something
\starttypescript [serif] [minionpro-auto] [name]
\definefontsynonym [Serif] [\fontrange{.....}] ....
\stoptypescript
So in the example above, does that mean I need to have four separate lines for "Serif"? Or to put differently, what is the {.....} in the [\fontrange{.....}] thing above? \starttypescript [serif] [minionpro-auto] [name] \definefontsynonym [Serif] [\fontrange{MinionPro-Capt}] \definefontsynonym [Serif] [\fontrange{MinionPro-Regular}] \definefontsynonym [Serif] [\fontrange{MinionPro-Subh}] \definefontsynonym [Serif] [\fontrange{MinionPro-Display}] etc., etc. \stoptypescript And then in each other variant I specify (like "minionpro-osf"), I need? \starttypescript [serif] [minionpro-auto,minionpro-auto-osf] [name] \definefontsynonym [\fontrange{MinionPro-Capt}] [MinionPro-Capt-OSF-8y] \definefontsynonym [\fontrange{MinionPro-Regular}] [MinionPro-Regular-OSF-8y] \definefontsynonym [\fontrange{MinionPro-Subh}] [MinionPro-Subh-OSF-8y] \definefontsynonym [\fontrange{MinionPro-Display}] [MinionPro-Display-OSF-8y] etc., etc. \stoptypescript