Page 1 of 1

Numeric with group seperator - problem in pdf

Posted: Wed Oct 12, 2016 10:26 am
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

Re: Numeric with group seperator - problem in pdf

Posted: Thu Oct 13, 2016 1:25 pm
by Alex K.
Hello,

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

Thank you.

Re: Numeric with group seperator - problem in pdf

Posted: Fri Oct 14, 2016 7:59 am
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

Re: Numeric with group seperator - problem in pdf

Posted: Fri Oct 14, 2016 10:31 am
by HighAley
Hello.

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

Thank you.

Re: Numeric with group seperator - problem in pdf

Posted: Fri Oct 14, 2016 11:08 am
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

Re: Numeric with group seperator - problem in pdf

Posted: Fri Oct 14, 2016 11:10 am
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.

Re: Numeric with group seperator - problem in pdf

Posted: Fri Oct 14, 2016 3:11 pm
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.

Re: Numeric with group seperator - problem in pdf

Posted: Mon Oct 17, 2016 8:37 am
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.