[pdftex] how to include literal commands into vpl files
Ulrich Dirr
ud at art-satz.de
Thu Aug 30 16:23:20 CEST 2001
I've tried this but it didn't work.
Maybe there's something wrong with my virtual font setup. I
put the tfm and vf files in the texmf tree and rebuilt the
database. In the source I put (for testing) a
\font\virtualfontname=virtualfont at 16dd and in the map
file something like "tfmrealfont Postscriptname
<realfont.pfb".
?
Ulrich
> >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?
>
>
> just a guess:
>
> (SPECIAL pdf ....)
>
> or otherwise
>
> (SPECIAL pdf: ...)
>
> may work, since pdftex recognizes the pdf tag in specials.
>
> Hans
> --------------------------------------------------
> -----------------------
> Hans Hagen |
> PRAGMA ADE | pragma at wxs.nl
> Ridderstraat 27 | 8061 GH
> Hasselt | The Netherlands
> tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477
> 53 74 | www.pragma-ade.com
> --------------------------------------------------
> -----------------------
>
>
>
More information about the pdftex
mailing list