This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit

eZ Community » Forums » Setup & design » Pdf newline

Pdf newline

Pdf newline

Friday 11 June 2004 5:53:39 pm - 5 replies

Hi all,

I am trying make some PDF on-the-fly on my site.
I noticed that the pdf(newline) is making a lange distance between lines.
Is there a way to decide the vertical distance for a new line?


Wednesday 15 September 2004 9:33:58 pm

I'm interested in this topic. Is there any way to control the vertical space (or margin) caused by pdf(newline)?

Wednesday 15 September 2004 11:09:11 pm

A quick hack would be to insert text with white color and control height with font size or to insert a transparent image and control the height to the image.


Thursday 16 September 2004 2:23:15 am

One work-around is in my bug message:

Greetings, ekke

Thursday 21 July 2005 12:52:06 pm


I am also interested in this topic. the pdf(newline) seem to generate a lot of space between line, and I need to control this. Has anyone a solution, I can not seem to find any.

Per Henrik

Thursday 28 July 2005 2:09:34 am

One way to achieve controlled height line breaks is to create empty content but then define the font size.

{pdf(text, '
'|wash(pdf), hash(
                          font, 'Courier',
                          size, 6,
                          align, left ))}

Hope that helps


You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from