[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

glyph naming problems with MathTime




This weekend, I've had a first try at installing a MathTime version of
the new encodings and promptly ran into a problem with glpyh names.

The problem is that the MC encoding follows Adobe Symbol in that it
uses `Upsilon' and `Upsilon1' for the normal and variant Upsilon.
(`Upsilon' is the one that looks like a Latin `Y', while `Upsilon1' 
is the one that looks like TeX's `\Upsilon'.)

Now it happens that MathTime's mtmi uses `Gamma1' ... `Omega1' for 
the upright version of the Greek capitals (hence `Upsilon1'), while 
the italics versions are called `Gamma' ... `Omega' (hence `Upsilon').
The result of this is that the `Upsilon1' is incorrectly recognized 
as a variant italic Upsilon instead of a non-variant upright Upsilon.

To sort out this mess I can think of two possible solutions:

- use a different name in MCraw.etx to distinguish between the normal 
  and variant Upsilon, e.g. `Upsilon' and `Ypsilon' 

- create a suitable mtmi.etx encoding file and install the font 
  from PL instead of AFM  (or edit the glyph names in the AFM files)

So far, I've experimented with the first alternative, but I wasn't
completely happy about the situation, since I not only had to rename 
the glyphs with

  \setglpyh{Gammaupright}\glyph{Gamma1}{1000}\endsetglyph

but also had to reshuffle the kern pairs with

  \setkern{Gammaupright}{*}{\kerning{Gamma1}{*}}

(This has to be done for the skewchar (arrowhookright) anyway, but 
all the other kern pairs would have to be handled this way as well.)

Using the second alternative might be preferable to this, since it
would help to avoid the reshuffling of kern pairs as `Gammaupright'
would be recognized as that directly from the .etx file.

Comments, anyone?

Cheers, Ulrik.


P.S.  For the upright lowercase greek from mtmu, reshuffling the
glyph names will be necessary anyhow.  Using an mtmu.etx file and
installing from PL instead of AFM seems to be the easier way to go.

P.P.S.  Berthold, another question about MathTime: How many versions
do we really need?  One MC font table with upright lowercase Greek
included (if MathTime Plus is avilable) and another one with these
glyphs missing (if restricted to MathTime only)?  Same story about
MSP with or without mtms (MathScript from MathTime Plus)?