[pdftex] Setting protrusion for two different typefaces.

John Culleton john at wexfordpress.com
Thu Nov 5 14:52:02 CET 2009


I have the MS of a novel where some lines end in italics and some 
in roman. I have trouble making protrusion work with both. Here 
is my current code:
\rm
\pdfadjustspacing=2
\input protcode.tex
\pdfprotrudechars=2
\setprotcode\font
\pdffontexpand\rm 20 20 5 autoexpand
\it
\setprotcode\font

This code activates protrusion for \it only. If I delete the last two 
lines then protrusion works for \rm only.  How do I set protrusion 
for both simultaneously?
-- 
John Culleton
"Create Book Covers with Scribus"
http://www.booklocker.com/books/4055.html


More information about the pdftex mailing list