Glyph widths in font dictionary are not consistent with embedded font program widths.

Stimulsoft Reports.JS discussion
Post Reply
yurilima
Posts: 12
Joined: Wed Oct 11, 2023 10:11 am

Glyph widths in font dictionary are not consistent with embedded font program widths.

Post by yurilima »

After i have solved many setting things to get the fonts embedded.
the interesting thing in production mode i am getting that error `Glyph widths in font dictionary are not consistent with embedded font program widths.` once i try to validate the PDF A3 Format.

Is there any thing i should do to correct that error?
if you need any peace of code let me know.

Thank you so much for all support has been provided so far.
Lech Kulikowski
Posts: 6327
Joined: Tue Mar 20, 2018 5:34 am

Re: Glyph widths in font dictionary are not consistent with embedded font program widths.

Post by Lech Kulikowski »

Hello,

The problem is complicated.
in the font description, you should specify the width of the characters used. then validators check this. but the problem is that different graphics libraries produce different character sizes. and different validators have different tolerances for character sizes.
We have had cases where the same file passed validation in one utility and failed in another.

In most cases everything is fine, but there are nuances in some fonts. therefore, it is best to send us an example of a report with data (or an mdc file) and the fonts used.

Thank you.
Post Reply