pombreda / rst2pdf

Automatically exported from code.google.com/p/rst2pdf
Other
0 stars 0 forks source link

Multiple line Address field spread across entire line #491

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create field in file `in.txt` with multiple lines
2. rst2pdf -o out.txt in.txt
3. Examine output in PDF viewer

What is the expected output?
Left-aligned field values across multiple lines

What do you see instead?
Field is split across lines, but spaced out to fill the page

Please answer the following questions, they are *very* important:

* Version of rst2pdf?
0.93.dev-r2632

* Version of reportlab?
2.7

* Are you using wordaxe, and if true, what version?
no

* Are you using rst2pdf with Sphinx, and if true, what version?
no

Please provide any additional information below.

Sample reST and PDF attached.

A similar bug was previously reported in Issue 378
(https://code.google.com/p/rst2pdf/issues/detail?id=378)

and reported as fixed in r2414
https://code.google.com/p/rst2pdf/source/detail?r=2414

It may or may not be a new issue (and could also be user error).

Playing with stylesheets does not seem to resolve the issue.

Original issue reported on code.google.com by marshall...@gmail.com on 9 Apr 2013 at 2:31

Attachments:

GoogleCodeExporter commented 9 years ago
Actually, it seems to be inheriting the "bodytext" alignment, which was set to 
"justify".
This is probably something that should be sorted out iwth the style sheets.

Original comment by marshall...@gmail.com on 9 Apr 2013 at 3:13

GoogleCodeExporter commented 9 years ago
Looks like it's just a matter of fixing the fieldvalue style.

Original comment by roberto.alsina on 9 Apr 2013 at 3:14