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.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 31 2025 00:36:12
Script start
Timing: Jan 31 2025 00:36:12
Module start 'layout'
Timing: Jan 31 2025 00:36:12
Module start 'content'
Timing: Jan 31 2025 00:36:12
Module end 'content'
Timing: Jan 31 2025 00:36:12
Script end

Main resources:

Total runtime0.0265 sec
Peak memory usage6,144.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0046 588.0078151.1953
Module start 'layout' 0.00460.0052 739.2031220.6484
Module start 'content' 0.00980.0150 959.85161,001.8750
Module end 'content' 0.02480.0016 1,961.726637.9922
Script end 0.0264  1,999.7188 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002810.5304140.0002
Check MTime0.00113.9903140.0001
Mysql Total
Database connection0.00062.383210.0006
Mysqli_queries0.003312.521930.0011
Looping result0.00000.053110.0000
Template Total0.00114.310.0011
Template load0.00093.357410.0009
Template processing0.00030.944510.0003
Override
Cache load0.00062.304010.0006
General
dbfile0.00166.098980.0002
String conversion0.00000.021640.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs