[XeTeX] Grey fonts with XeTeX
Philip Taylor
P.Taylor at Rhul.Ac.Uk
Wed Jun 29 18:48:45 CEST 2016
David Carlisle wrote:
> [T]he definition of
>
> \def\set at page@color
>
> in xetex.def looks wrong, but no time to debug now may look later but
> anyway I'm not sure why it doesn't use the one from dvips.def which
> seems to work ok with xetex/xdvipdfmx
>
> \def\set at page@color{\special{%
> background \current at color}}
>
>
> David
Thank you David -- I took a quick look at the original definition of \set at page@colour, but it was beyond my comprehension ...
> \set at page@color: [macro:->\global \let \current at page@color \current at color \@ifundefined {GXTorg at shipout}{\global \let \GXTorg at shipout \shipout \gdef \shipout {\afterassignment \GXT at shipout \global \setbox \@cclv =}\gdef \GXT at shipout {\ifvoid \@cclv \relax \aftergroup \GXT@@shipout \GXT at setpagecolor \else \GXTorg at shipout \vbox {\GXT at setpagecolor \box \@cclv }\fi }\gdef \GXT@@shipout {\GXTorg at shipout \box \@cclv \relax }\gdef \GXT at setpagecolor {\special {background \current at page@color }}}{}]
Your solution, on the other hand, works perfectly :-)
** Phil.
More information about the XeTeX
mailing list