PDF export

Teide

Member
Hi,

From upgrading last week to the latest github exporting to PDF is not working. It used to be perfect but now using protostar I get the "add", "group by" etc.. on top. Am I the only one that get this error?

Thanks
 
Hi, done a clean install and keep getting the same problem.
 

Attachments

  • alumnos-11.pdf
    5.5 KB · Views: 373
And if the group by and the add are removed I get this. Upgraded to latest github this morning. I have 2 more sites that were upgrade early in the year working fine.

Can anyone help.... Done a lot of work and inserted a massive amount of data but with no pdf available can not use it.
 

Attachments

  • alumnos-12.pdf
    5.2 KB · Views: 301
Replacing libraries/dompdf with the current dompdf-lib from their GitHub is displaying my details view with correct font size.

But I think you'll have to create an extra PDF details template because dompdf doesn't handle float CSS (at least with default settings), so fields are displayed below labels .
 
Edit:
reverting the modification in commit 5630c8fa17cf087a8ad69bd8ebf0c064dfabfc36

- $fs = self::$default_font_size * self::$font_size_keywords[$fs];
+ $fs = array_key_exists($fs, + $fs = array_key_exists($fs, self::$font_size_keywords) ? self::$font_size_keywords[$fs] : 1;

line 836 in ...libraries\dompdf\include\style.cls.php
is bringing back the correct font size, too.
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top