PDF rendering restriction

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • yberges
    replied
    great news

    Leave a comment:


  • yuri
    commented on 's reply
    Won't be possible for now. I think it will be reasonable to migrate to Dompdf for everyone as it seems that the Tcpdf lib has no future, it's already quite dated code-wise. Likely we will make it deprecated eventually.

  • esforim
    replied
    Is it possible to have both engine to use? Like two button or options?

    Guess we wait till domPDF is added and we will see

    Leave a comment:


  • yuri
    commented on 's reply
    If you switch to the new engine (globally in settings), there may be some differences in resulting PDFs. So you may need to make some fixes.

  • shalmaxb
    replied
    Will the new engine need all templates to be recoded?

    Leave a comment:


  • yuri
    replied
    Dompdf support planned in v7.4 https://github.com/espocrm/espocrm/issues/2564

    Leave a comment:


  • yberges
    replied
    Yes not seems ready for a long time

    Leave a comment:


  • esforim
    replied
    There is a TCPDF v2 in progress at the moment, but it been many months since they did an update. Look like the "Core" re-write is stuck in a long queue at the moment.

    How much of an improvement will v2 bring? We do not know yet.

    There was a few thread about changing PDF Engine or making it 'better', but it all internal and not publicly shown on the Forum so we have yet to find a proper solution. It is always good to see this topic get revive as there is more chance that it get look at.

    Looking at domPDF it look quite cool with feature and it still being update as well.
    Last edited by esforim; 12-12-2022, 02:01 AM.

    Leave a comment:


  • yberges
    replied
    yes i understand

    Leave a comment:


  • yuri
    commented on 's reply
    The most challenging part is to implement all additional features we have preserving compatibility. Like barcodes, QR-codes, custom tags.

  • yuri
    commented on 's reply
    Might be https://github.com/dompdf/dompdf

  • yberges
    replied
    yes did you have selected a new engine ? (for futur plan)

    Leave a comment:


  • yuri
    replied
    Espo uses TCPDF library. Its HTML support is very limited. We plan to add an additional engine in the future. Developers can implement any PDF engine in upgrade-safe way, unfortunately nobody implemented any yet AFAIK.

    Leave a comment:


  • yberges
    replied
    my code i valid in html my question is more pdf interpretation (restriction)

    Leave a comment:


  • rabii
    replied
    it is better to build your template in a friendly html editor then copy code to pdf. try this one https://htmlcodeeditor.com/

    Leave a comment:

Working...