specify / specify6

Source Code for Specify 6, Biological Collections Management Platform
https://specifysoftware.org
GNU General Public License v2.0
14 stars 6 forks source link

Save to PDF loses formatting #1219

Open grantfitzsimmons opened 1 year ago

grantfitzsimmons commented 1 year ago

Printed PDF: Print_to_PDF.pdf

Saved PDF: Save_to_PDF.pdf

​When you use the Save 💾 icon to save the report, the formatting is lost. When you use the Print 🖨️ icon to print the report to a PDF, the formatting is preserved.

image image

This is in the newmexico database in Specify 6.8.03.

Reported By: NMC Herbarium

grantfitzsimmons commented 9 months ago

Hi, I’m generating reports for the end of each aisle using a query from the storage tree. I’ve used a conditional style to bold some items in the report. They display just fine (see below left) but when I save the report as a pdf the bolding is missing.

image

image

When I print directly from the Specify interface (without saving as PDF first) the bolding prints properly but the left edge is cut off by my printer, and using the ‘scale to fit’ option in the print dialogue doesn’t fix the issue – so saving is looking like my only choice to get a decent report.

Reported again by Paul Larson at FWRI