[PDF GENERATION] Total page number not showing on certain fonts

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • sip63
    Junior Member
    • Oct 2019
    • 16

    [PDF GENERATION] Total page number not showing on certain fonts

    Hello all, please find a bug report below :

    While generating a PDF, I am adding the token to display "Page (current page) / (total number of page) :
    Code:
    [B][SIZE=12px]Page {pageAbsoluteNumber}/{:ptp:}[/SIZE][/B]
    The result while selecting no font at all or certains fonr the all document is the following :
    Code:
    [FONT=sans-serif]Page 1/(ᄀ)[/FONT]
    If I select the font "Helvetica" for the whole document, it's displayed correctly :

    Code:
    Page 1/3

    Steps to reproduce :
    1. Add the {tp:} tag to a pdf template and generate it with no specific font selected.
    2. Change the docuemnt font to Helvetica to have it work
  • yuri
    Member
    • Mar 2014
    • 8440

    #2

    Code:
    {:ptp:}
    is not a documented placeholder, we don't support it.
    Last edited by yuri; 12-20-2019, 11:32 AM.
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment

    • yuri
      Member
      • Mar 2014
      • 8440

      #3
      Try

      Code:
      {{:ptp:}}
      If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

      Comment

      Working...