[pdftex] Setting text rendering parameter
Heiko Oberdiek
oberdiek at uni-freiburg.de
Tue Sep 29 18:31:14 CEST 2009
On Tue, Sep 29, 2009 at 04:43:57PM +0200, Martin Schröder wrote:
> 2009/9/29 Heiko Oberdiek <oberdiek at uni-freiburg.de>:
> > Hamburgensis
> > \hbox to 0pt{%
> > \pdfsave
> > \pdfliteral page {0.1 w 1 Tr}Hamburgensis%
> > \hss
> > \pdfrestore
> > }%
> > \hphantom{Hamburgensis}
> > Hamburgensis
>
> And why is this better than Pawe?'s solution, which doesn't need \hphantom
> etc.?
Why should it? I got Pawel's posting AFTER I had send mine.
But you have to answer it yourself:
* Do you need save/restore? For example, do you exactly know
your linewidth setting?
* For the first solution I would have to study the internals
of positioning of \pdfliteral in more detail.
At the first glance, I wouldn't want to trust it.
But I currently don't have the time.
Yours sincerely
Heiko <oberdiek at uni-freiburg.de>
--
More information about the pdftex
mailing list