changing font size on pdf invoices?

Discussion in 'Troubleshooting' started by powersitedesign, Apr 21, 2007.

  1. powersitedesign

    powersitedesign New Member

    Joined:
    Jan 16, 2007
    Messages:
    4
    we have a client running amember who just emailed over an invoice that was automatically generated by the script that has the description line overunning the subtotal line. (see screenshot provided).

    [​IMG]

    is there a way in the script that i can go in and edit the way that the invoice looks or is generated? i wanted to ask before i got in there and started messing around.

    thanks for your help in advance.

    Cotton Rohrscheib, Partner
    Powersite / Pleth Networks, LLC
    http://www.pleth.com
    http://www.powersitedesign.com
    http://www.cottonrohrscheib.com/blog
  2. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    We will investigate and answer this ASAP.
  3. aser

    aser Moderator

    Joined:
    Apr 25, 2007
    Messages:
    13
    Here is a quick fix.
    Edit file /amember/common.inc.php find row:
    $widths[0] = $width - $length;
    and replace it to:
    $widths[0] = $width - $length - 10;

    The reason of this issue is too small width of first column (Subscription/Product Title). It's just 1 pixel more than product title length.
  4. miso

    miso aMember Pro Customer

    Joined:
    Aug 22, 2006
    Messages:
    543
    yeah, i noticed that adding bold/italic or other tags to it really doesn't do anything... and it's pretty limited in terms of what i can customize (most of the text i add in there end up hanging/crashing the pdf creation process)

    I was trying to add some custom text, like policies, refunds, etc... but heck no, no luck.

    it would be nice if we could actually customize this through a web interface or something (just like email templates) and have it generated thru that somehow...
  5. powersitedesign

    powersitedesign New Member

    Joined:
    Jan 16, 2007
    Messages:
    4

Share This Page