On Tue, 3 Feb 2004, Laurent Siebenmann wrote:
> There is a fairly **efficient** 'hack' solution based on the idea that
> the "size" of a font declaration can be understood by a dvi-driver
> to (in certain cases) force the color of the font. Since almost
> nobody is going to hack a driver for this purpose, one would probably
> implement this idea by dvi post-processing. Not hard. No new fonts
> needed, just some slightly weird font declarations.
>
Yes, colour is an attribute of the font
and therefore it should be handled as such.
But why use the size of a font for this?
Switching the colour of a font is logically
the same as switching to another font.
A font change is efficiently handled by TeX and needs no hack at all,
and for a coloured version of a font a virtual font could be used.
--
Peter Schmitt [log in to unmask]