Ticket #50 (assigned defect)

Opened 13 months ago

Last modified 12 months ago

Quotation Font on Customer Address HUGE in PDF Preview

Reported by: nagual69 Owned by: florian
Priority: major Milestone: 0.5
Component: pdf_generation Version: 0.3
Keywords: Cc:

Description

Quotation Font on Customer Address HUGE in PDF creation. It actually bleeds down into the table.

Attachments

phpaga-badpdf.jpg (55.3 kB) - added by nagual69 13 months ago.
Screenshot of bad pdf
letterhead.tpl.php (4.8 kB) - added by nagual69 13 months ago.
Tweaked
pdf.php (14.3 kB) - added by nagual69 13 months ago.
Tweaked
invoice.tpl.php (10.8 kB) - added by nagual69 13 months ago.
tweaked

Change History

Changed 13 months ago by anonymous

  • version set to 0.3
  • component changed from other to pdf_generation

Changed 13 months ago by florian

You can set the font size in the Sitewide Settings (under PDF Settings).

Can you attach a PDF quotation file to this ticket?

Changed 13 months ago by nagual69

Screenshot of bad pdf

Changed 13 months ago by florian

  • status changed from new to assigned

Sorry for the late reply.

Have you tried to set the PDF document normal font size in the section PDF Settings on the Sitewide Settings page? By setting this value to 10 (or even 9), the address should fit into the space.

I agree that the default font is a bit on the large side. I will change the default setting for new installations to be 10.

Does that help?

Changed 13 months ago by nagual69

Setting PDF document normal font size to 9 stopped the overlap into the table. Can you describe what parts of the Invoice / Quotation PDF's these settings are applied to? Maybe I'm lazy, but I didn't want to have to change them 1 by 1 and regenerate an invoice just to find out...

PDF document header font size PDF document normal font size PDF document small font size

Thanks!

Changed 13 months ago by nagual69

Tweaked

Changed 13 months ago by nagual69

Tweaked

Changed 13 months ago by nagual69

Florian,

I messed around with some of your settings after still not liking what I had... Tried to make it so Logos look good and layout ok with existing text as well as separated header text from beginning of table text.

Let me know what you think of the changes... Attached the files here...

Changed 13 months ago by nagual69

tweaked

Changed 12 months ago by florian

Thanks for the changes. I tried them out; interestingly, an invoice with the typical data I use looked not so good with the new settings. I guess it depends on the paper size (A4, letter) and the actual amount of data that goes into the header.

Christian is currently working on a solution that would allow users to graphically position the various invoice elements (through a page within phpaga) on the template. This could help users to change the invoice layout quickly without having to dive into the template files' sources. This new feature won't make it into 0.4, but could be available in the next release.

Changed 12 months ago by florian

  • milestone changed from 0.4 to 0.5

I move this ticket to milestone 0.5 (where we hopefully have the "graphical invoice layout manager").

Add/Change #50 (Quotation Font on Customer Address HUGE in PDF Preview)

Author



Change Properties
<Author field>
Action
as assigned
as The resolution will be set. Next status will be 'closed'
to The owner will change. Next status will be 'new'
 
Note: See TracTickets for help on using tickets.