This is a snapshot of Indico's old Trac site. Any information contained herein is most probably outdated. Access our new GitHub site here.

Opened 5 years ago

Last modified 3 years ago

#561 new defect

Whitespace and other formatting problems in program PDF

Reported by: roel Owned by:
Priority: low Milestone: v2.1
Component: General Version: 0.97.0
Keywords: Cc:

Description

The PDF formatter seems to have problems when generating PDF from track descriptions when these descriptions contain line breaks. This example: http://conferences.dtu.dk/conferenceProgram.py?confId=13 (click the PDF button) demonstrates that a simple text with a newline in the track description makes the formatter go awry.

This example contains some HTML markup and newlines: http://conferences.dtu.dk/conferenceProgram.py?confId=20 . The HTML is filtered out alright, but fill-out is all wrong.

Not visible in these examples is that an ampersand in the conference title is shown as its HTML entity '&' in the PDF.

(Note: conferences.dtu.dk still runs 0.97rc1, but the same problems persist in 0.97rc2. I can provide source text of track descriptions on request, but any amount of HTML markup or newlines should suffice to reproduce the problem).

Change History (5)

comment:1 Changed 5 years ago by jbenito

  • Milestone set to v0.97

comment:2 Changed 5 years ago by pferreir

  • Status changed from new to infoneeded_new

Which version of ReportLab? are you using?

comment:3 Changed 5 years ago by pferreir

  • Milestone changed from v0.97 to v0.98
  • Status changed from infoneeded_new to new

comment:4 Changed 5 years ago by jbenito

  • Milestone changed from v0.98 to v1.0

comment:5 Changed 3 years ago by jbenito

  • Milestone changed from v1.0 to v1.3
  • Priority changed from normal to low
Note: See TracTickets for help on using tickets.