[NTG-pdftex] \ifx equality of expanded fonts

Hans Hagen j.hagen at xs4all.nl
Wed Feb 23 09:37:22 CET 2022


On 2/23/2022 12:08 AM, Karl Berry wrote:
>      following behaviour seems somewhat unexpected:
> 
> I agree it's somewhat unexpected. I also am unsure if anything
> could/should be done about it.
> 
>      https://tex.stackexchange.com/questions/633441/, where Spanish babel
>      tests whether a small caps font exists by comparing it with the upright
> 
> Evidently not a viable test method ... -k

maybe use this instead

\edef\x{\fontname\0} \edef\y{\fontname\1}


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-pdftex mailing list