[NTG-pdftex] Can PdfTeX vary font weight ?

Hans Hagen pragma at wxs.nl
Tue Dec 16 19:39:28 CET 2008


Philip TAYLOR wrote:
> Typesetting the 2008 Christmas Letter (in Computer Modern
> Roman 10pt scaled \magstep 1}, I was dismayed to find
> that both on-screen and on paper the font is depressingly
> light; on a bran(d) new HP CP1215 colour laserprinter,
> the top of the lower-case "s" definitely breaks up.
> I assume that  this arises from the Bluesky type-1
> outlines that PdfTeX presumably uses, but I wondered if
> there is any way for PdfTeX to artificially increase
> the weight (well, really the stroke width, but I know
> that's asking too much !).

% low level hack because PT does not use context and therefore
% cannot use the high level interface:

\pdfliteral{2 w 1 Tc 2 Tr}philled\pdfliteral{1 w 0 Tc 0 Tr}


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-pdftex mailing list