[Fontinst] Adding unencoded glyph
Ulrich Dirr
ud at art-satz.de
Wed Mar 31 15:40:29 CEST 2004
Lars Hellström wrote:
>> The reencoded font lhnj8r has a line
>> \setscalednotglyph{oldcurrency}{lhnj8r}{10pt}{1000}{-1}{556}{
>> 588}{-92} {0}
>
> The problem here is that the glyph is unencoded (i.e., it has slot
> number -1). This means it cannot be reached by TeX. You need to
> \reencodefont with some encoding that assigns a slot position to
> `oldcurrency'.
Yes. My faulty assumption was that it's possible to get it anyway.
All afm's have two Euro glyphs assigned to position 128 as 'Euro' and
164 as 'currency', e.g.,
C 128 ; WX 480 ; N Euro ; B 26 -14 479 711 ;
C 164 ; WX 480 ; N currency ; B 26 -14 479 711 ;
C -1 ; WX 480 ; N oldcurrency ; B 0 107 480 587 ;
I just want to get 'oldcurrency' into position 164 as 'currency'. How
can I achieve this?
Best regards,
Ulrich Dirr
More information about the fontinst
mailing list