[NTG-pdftex] [pdftex-Support Requests][4337] Text inside lstlisting in generated PDF have extra spaces

Heiko Oberdiek heiko.oberdiek at googlemail.com
Sat Jul 23 09:59:56 CEST 2011


On Sat, Jul 23, 2011 at 02:35:36AM +0200, Reinhard Kotucha wrote:

> On 2011-07-22 at 12:59:06 +0200, Hans Hagen wrote:
> 
>  > On 22-7-2011 7:49, pdftex-supportrequests at sarovar.org wrote:
>  > 
>  > > Attached files produce following text when copied from PDF:
>  > > a sdf l i s t i n g /home/ t e s t / t e s t 2
>  > > l i n e 2 \\ t e s t \bbb\ t e s t 2
>  >
>  > crap in ... crap out ... the text in the pdf looks like some
>  > handcrafted typesetting and has these spaces so it is not related
>  > to the engine
> 
> These "faked typewriter fonts" are crap indeed.  And they are
> extremely ugly.  I'm still wondering what they are good for.

Package listings. It's needed for source code listings, where
vertical alignment is important. However the behaviour of
package listings can be configured, e.g. columns=flexible
and other settings, see documentation.

Yours sincerely
  Heiko Oberdiek
-- 


More information about the ntg-pdftex mailing list