Skip to main content
Solved

Inconsistent Font displays in Report PDF Export

  • 9 September 2024
  • 2 replies
  • 120 views


Hi Team,

We made some changes to the customized report. The report displays correctly when previewed in Acumatica (see Screenshot 1); however, when exported to PDF, the bold font does not appear as expected (see Screenshot 2). Despite setting the same font size for the fields such as 'Services,' 'Bill To,' and 'Bank Details,' there is a noticeable difference in appearance. Specifically, 'Services' appears darker, while 'Bill To' and 'Bank Details' appear slightly lighter in the downloaded PDF.

Could you please review this and suggest a solution

Thank you

Screenshot1:
 

 

Screenshot2:
 

Screenshot3:


Screenshot4:

 

Best answer by darylbowman

I can’t tell for sure, but it looks like the report ‘in Acumatica’ would be the HTML version, not the PDF version. You can toggle between them using this button: 

 

If you’re not displaying the PDF version in Acumatica, could try that and check if the formatting is the same. Unfortunately, there is often a big difference between the HTML version and the PDF version. If your intent is to use the report as a PDF, I suggest you configure the report to automatically show the PDF version in Acumatica and tweak the formatting to look as desired. This should then match the exported PDF version.

View original
Did this topic help you find an answer to your question?

2 replies

chameera71
Varsity I
Forum|alt.badge.img+1
  • Varsity I
  • 53 replies
  • September 13, 2024

The issue you are encountering where fonts appear differently between the Acumatica preview and the exported PDF, particularly in terms of boldness and appearance, can stem from several factors such as font rendering differences between screen and PDF, or inconsistencies in how certain fonts or styles are embedded into the PDF format.

Here are a few steps you can try to resolve the issue:

1. Check Font Embedding and Compatibility:

  • Ensure that the font being used (e.g., for "Services," "Bill To," "Bank Details") is embedded correctly in the report and supported by the PDF export engine.
  • Sometimes, fonts used in the Acumatica report preview may render differently in PDF due to font substitution or rendering issues. If a custom or system font is not supported in the PDF export, it may fall back to a default font, which could cause differences in boldness or clarity.

Solution:

  • Try using a standard, commonly supported font like Arial, Helvetica, or Times New Roman, and check if the issue persists.
  • If you are using a custom font, ensure it is properly embedded into the PDF export settings.

2. Font Weight and Style Settings:

  • Ensure that the text fields in your report template have the correct font weight and style applied consistently across all relevant fields.
  • In some cases, different bold settings or font sizes could be applied to specific fields like "Services" versus "Bill To," even if they appear the same in the report preview.

Solution:

  • Double-check the font properties (bold, weight, style, size) for each of the fields in the report designer and ensure they are exactly the same.
  • Compare the text fields for "Services" and "Bill To" to ensure there are no hidden style discrepancies, such as slight differences in font weight (e.g., 700 for bold vs. 600 for semi-bold).

3. PDF Export Settings:

  • The PDF export engine in Acumatica may handle text rendering slightly differently from the report viewer. Sometimes, specific export settings can impact how fonts appear in the generated PDF.

Solution:

  • Ensure that the PDF settings in Acumatica's report designer (or underlying reporting tool) are set to embed fonts properly and that the PDF format is configured to handle fonts in a way that matches your expectations.
  • If the problem is still unresolved, try exporting the report to other formats such as Excel or Word and compare the results to isolate whether the issue is specific to PDF export.

4. Font Substitution Issue in PDF Reader:

  • Occasionally, PDF readers such as Adobe Reader or browser-based PDF viewers might not render the bold font correctly due to font substitution issues, especially if the font isn't fully embedded in the PDF.

Solution:

  • Check the PDF file's properties in a PDF reader to ensure the fonts are embedded. You can check this in Adobe Reader by going to File → Properties → Fonts and verifying that the font you're using is embedded.
  • Test viewing the PDF in different PDF viewers (e.g., Adobe Reader vs. Chrome’s built-in PDF viewer) to see if the issue persists.

5. Acumatica Version-Specific Bugs:

  • If you are using a specific version of Acumatica, there might be a bug related to font rendering in PDFs.

Solution:

  • Check Acumatica’s release notes or reach out to support to see if this issue is version-specific, and whether an update or patch is available to fix PDF rendering inconsistencies.

Next Steps:

  • After trying the above solutions, test the report again by previewing it in Acumatica and then exporting it to PDF to see if the bold fonts render consistently.

😀💡


darylbowman
Captain II
Forum|alt.badge.img+13
  • 1525 replies
  • Answer
  • September 17, 2024

I can’t tell for sure, but it looks like the report ‘in Acumatica’ would be the HTML version, not the PDF version. You can toggle between them using this button: 

 

If you’re not displaying the PDF version in Acumatica, could try that and check if the formatting is the same. Unfortunately, there is often a big difference between the HTML version and the PDF version. If your intent is to use the report as a PDF, I suggest you configure the report to automatically show the PDF version in Acumatica and tweak the formatting to look as desired. This should then match the exported PDF version.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings