Forums / Setup & design / Pdf newline

Pdf newline

Author Message

Ibrahim Khachab

Friday 11 June 2004 8:53:39 am

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?

Thanks

Martin Burger

Wednesday 15 September 2004 12:33:58 pm

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

http://www.netbeyond.de/

Vivek Chopra

Wednesday 15 September 2004 2: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.

Vivek

Ekkehard Dörre

Wednesday 15 September 2004 5:23:15 pm

One work-around is in my bug message:
http://ez.no/community/bug_reports/pdf_text_align_full_creates_a_lot_of_space_lines

Greetings, ekke

http://www.coolscreen.de - Over 40 years of certified eZ Publish know-how: http://www.cjw-network.com
CJW Newsletter: http://projects.ez.no/cjw_newsletter - http://cjw-network.com/en/ez-publ...w-newsletter-multi-channel-marketing

Per Henrik Johansen

Thursday 21 July 2005 3:52:06 am

Hi,

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

Brendan Pike

Wednesday 27 July 2005 5:09:34 pm

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

www.dbinformatics.com.au

We are always interested in hearing from experienced eZ PHP programmers and eZ template designers interested in contract work.