Numeric with group seperator - problem in pdf

Stimulsoft Reports.JS discussion
Post Reply
torro
Posts: 10
Joined: Tue Sep 27, 2016 7:24 am

Numeric with group seperator - problem in pdf

Post by torro »

Problem has only been discovered when preseting a numeric with group seperator in Acrobat Reader.

I am using the font: Source Sans Pro
With the font type Arial the problem does not appear.

Attachments:
1. Screedump example of the problem
2. The pdf file generated
Attachments
Kontoutskrift (13).pdf
Pdf file with the problem. Open it in Acrobat reader and you should be able to see the problem
(167.81 KiB) Downloaded 549 times
A screendump of the problem
A screendump of the problem
Sccrendump..JPG (137.56 KiB) Viewed 3429 times
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Numeric with group seperator - problem in pdf

Post by Alex K. »

Hello,

Can you please send us a simple report with test data which reproduces the issue for analysis.

Thank you.
torro
Posts: 10
Joined: Tue Sep 27, 2016 7:24 am

Re: Numeric with group seperator - problem in pdf

Post by torro »

The problem occurs in evrey report we have. I gues it is related to the font we are using: https://www.fontsquirrel.com/fonts/source-sans-pro

Report JS version:
/*
Stimulsoft.Reports.JS
Version: 2016.1.28
Build date: 2016.08.26
*/

Please fin attatced the files requested.

Best regards
Tor Kårstad
Attachments
AccountReport.mrt
(75.07 KiB) Downloaded 246 times
AccountReport.txt
This is a json file, but the uploader did not accept the file type, so I renamed file extension from .json to .txt
(45.96 KiB) Downloaded 206 times
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Numeric with group seperator - problem in pdf

Post by HighAley »

Hello.

Sorry, we could not reproduce your issue.
report.png
report.png (48.95 KiB) Viewed 3419 times
Please, check our latest build.

Thank you.
torro
Posts: 10
Joined: Tue Sep 27, 2016 7:24 am

Re: Numeric with group seperator - problem in pdf

Post by torro »

Can you please send me the pdf file that you generated so I can verify it in our Acrobat Reader?
Best Regards
Tor Kårstad
torro
Posts: 10
Joined: Tue Sep 27, 2016 7:24 am

Re: Numeric with group seperator - problem in pdf

Post by torro »

If you open the pdf-file that I sent you earlier, do you have the same problem as me? You should try in Acrobat Reader.
Thank you.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Numeric with group seperator - problem in pdf

Post by Alex K. »

Hello,

Yes. We have reproduced the issue in Acrobat Reader.
We need some time to check the issue. We will let you know about the result.

Thank you.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Numeric with group seperator - problem in pdf

Post by Alex K. »

Hello,

We have analyzed the issue. The problem does not occur:
- if do not embed fonts in the pdf file
- embed fonts and use the UseUnicodeMode option (only in the .NET engine).

the problem appears:
- if embed fonts and do not use UseUnicodeMode option.

In the JS engine, the UseUnicodeMode mode is not implemented (technical problems).
Here, the character setting mode by name. In this mode, there are some problems with certain characters in some fonts - in the font may be set incorrectly (or not set at all) broadcast symbol name to the glyph.

If a glyph for some characters is not found, AdobeAcrobat displays a special character instead of these characters. Most often it is a blank square, in this font - struck-through box. Other viewers will not notice missing characters.

In all problematic numbers uses non-breaking space as a group separator. In this font, probably incorrectly specified broadcast non-breaking space in the glyph. Therefore, struck-through box appears instead.

In this case, there are workarounds:
- use another font
- do not to include the font in the PDF file
- render reports in the .NET engine.

Thank you.
Post Reply