[pdftex] how to include literal commands into vpl files
Ulrich Dirr
ud at art-satz.de
Thu Aug 30 14:30:29 CEST 2001
Hi.
I want to include some literal pdf code into a vpl file so
that when using the virtual font some characters
automatically get colored.
With "normal" TeX I've used successfully the construct
(CHARACTER O 53
(CHARWD R 1.0)
(CHARHT R 0.75)
(CHARDP R 0.25)
(MAP
(SPECIAL color push gray 0.6)
(SELECTFONT D 0)
(SETCHAR C +)
(SPECIAL color pop)
)
)
Which special code is good for use in pdftex?
I've tried without success:
(CHARACTER O 53
(CHARWD R 1.0)
(CHARHT R 0.75)
(CHARDP R 0.25)
(MAP
(SPECIAL 0 0 0 0.3 k 0 0 0 0.3 K)
(SELECTFONT D 0)
(SETCHAR C +)
(SPECIAL 0 0 0 0.3 k 0 0 0 0.3 K)
)
)
But maybe I didn't understand the virtual font mechanism
correctly.
Any idea?
Ulrich
More information about the pdftex
mailing list