[pdftex] Setting text rendering parameter

Heiko Oberdiek oberdiek at uni-freiburg.de
Tue Sep 29 16:25:26 CEST 2009

On Tue, Sep 29, 2009 at 03:41:57PM +0200, Martin Schröder wrote:

> I'm playing with setting the text rendering parameter to outline
> (1 Tr). However this should be encapsulated in a pdf group together
> with setting the stroke width.
> A naive use is
> Hamburgensis
> \pdfsave\pdfliteral page {0.1 w 1 Tr}Hamburgensis\pdfrestore
> Hamburgensis
> But here you will only see two words since \pdfrestore (which gives
> a warning about being misplaced %) also restores the position to the
> start of the second word.
> So how to do it right?


\hbox to 0pt{%
  \pdfliteral page {0.1 w 1 Tr}Hamburgensis%


Yours sincerely
  Heiko <oberdiek at uni-freiburg.de>

More information about the pdftex mailing list