setting the xheight

Lars Hellström Lars.Hellstrom@math.umu.se
Mon, 30 Oct 2000 09:18:22 -0500


At 12.14 +0100 2000-10-30, Walter Schmidt wrote:
>On Sun, 29 Oct 2000 21:01:35 +0100 (MEZ), Walter Schmidt wrote:
>
>>please, take a look at the following fontinst script:
>>
>>   \installfont{zptmcm7y}
>>      {kernoff,cmsy10,kernon,zryhax,ptmr8r,psyr,%
>>       unsetalf,rsfs10,zrykernx,mathsy}
>>      {OMS}{OMS}{ztmcm}{m}{n}{}
>>
>>[...] the xheight of rsfs10 gets finally into the result.
>
>Oops, I'm sorry fopr having bothered you with my question.
>The file unsetalf.mtx does
>
>\unsetint{xheight}
>\unsetint{ascender}
>\unsetint{descender}
>\unsetint{capheight}
>\unsetint{italicslant}
>
>(Why ?)

A guess would be that unsetalf.mtx was originally made for use in text font
contexts, but I don't know for sure (you'll have to ask Ulrik). Taking the
xheight from rsfs10 when all the other fontdimens are the same as in cmsy10
looks like an error to me.

A quick work-around (which requires v1.914) would be

   \installfont{zptmcm7y}
      {kernoff,cmsy10,kernon,zryhax,ptmr8r,psyr,%
       \metrics\offcommand\unsetint,%
       unsetalf,%
       \metrics\oncommand\unsetint,%
       rsfs10,zrykernx,mathsy}
      {OMS}{OMS}{ztmcm}{m}{n}{}


Lars Hellström