
Am 16.03.2025 um 12:43 schrieb autumnus:
Sorry to bother you again.
It seems that the current \font_scale_defined can only modify the font size of a b c d, etc., and it seems that the font size of x cannot be modified. I don't know if this is a bug or my operation problem.
Here is a simple example.
%%%%% \usebodyfont[pagella] \setupbodyfont[modern] \setuppapersize[B6] \starttext
{\rmx Latin Modern \switchtobodyfont[pagella]TeX Gyre Pagella \rmx TeX Gyre Pagella} \footnote{\rmx Latin Modern \switchtobodyfont[pagella]TeX Gyre Pagella \rmx TeX Gyre Pagella}
{\rma Latin Modern \setupbodyfont[pagella]TeX Gyre Pagella \rma TeX Gyre Pagella} \footnote{\rma Latin Modern \setupbodyfont[pagella]TeX Gyre Pagella \rma TeX Gyre Pagella} \stoptext %%%%%
You have to add "keep" to \setupbodyfont to ensure \tx and \txx are kept when you switch the font, i.e. in your example you need \setupbodyfont[keep,pagella]. Wolfgang