Stimulsoft.Base.StiFontCollection.addOpentypeFontFile

Stimulsoft Reports.JS discussion
Post Reply
terje.pedersen
Posts: 80
Joined: Thu Aug 18, 2016 7:29 am

Stimulsoft.Base.StiFontCollection.addOpentypeFontFile

Post by terje.pedersen »

Stimulsoft.Base.StiFontCollection.addOpentypeFontFile doesn't work anymore in the newest versions of stimulsoft.reports.js. Looking at the network traffic the font file is loaded.

Running the newest version:
Version: 2017.1.0.5
Build date: 2017.04.10

Run in Chrome.

Code: Select all

TypeError: Cannot read property '0' of null
    at c.getFontMetrics (stimulsoft.reports.js:279)
    at c.InitFontsData (stimulsoft.reports.js:279)
    at E.exportPdf1 (stimulsoft.reports.js:279)
    at E.exportTo (stimulsoft.reports.js:277)
terje.pedersen
Posts: 80
Joined: Thu Aug 18, 2016 7:29 am

Re: Stimulsoft.Base.StiFontCollection.addOpentypeFontFile

Post by terje.pedersen »

It works when I go back to version:

Stimulsoft.Reports.JS
Version: 2016.3
Build date: 2016.12.09
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Stimulsoft.Base.StiFontCollection.addOpentypeFontFile

Post by Alex K. »

Hello,

Thank you for the bug report.
We need some time to fix the issue.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Stimulsoft.Base.StiFontCollection.addOpentypeFontFile

Post by Alex K. »

Hello,

We couldn't reproduce this bug. Please try to check the last prerelease build.

If the issue still present, please send us a more detailed information about the issue.

Thank you.
terje.pedersen
Posts: 80
Joined: Thu Aug 18, 2016 7:29 am

Re: Stimulsoft.Base.StiFontCollection.addOpentypeFontFile

Post by terje.pedersen »

The same error in the newest prelease version.

The bug is in the PDF version (StiPdfExportService).

I have attached an small example.
Attachments
ReportWithFont.zip
(1.22 MiB) Downloaded 561 times
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Stimulsoft.Base.StiFontCollection.addOpentypeFontFile

Post by Alex K. »

Hello,

We work hard on this problem and do our best to do it as fast as possible. We will let you know when the solution is available.

Thank you.
terje.pedersen
Posts: 80
Joined: Thu Aug 18, 2016 7:29 am

Re: Stimulsoft.Base.StiFontCollection.addOpentypeFontFile

Post by terje.pedersen »

News?
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Stimulsoft.Base.StiFontCollection.addOpentypeFontFile

Post by Alex K. »

Hello,

Sorry for the delay with response.

We are still working on the problem. We will let you know when the solution is available fast as possible.

Thank you.
terje.pedersen
Posts: 80
Joined: Thu Aug 18, 2016 7:29 am

Re: Stimulsoft.Base.StiFontCollection.addOpentypeFontFile

Post by terje.pedersen »

Any news?
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Stimulsoft.Base.StiFontCollection.addOpentypeFontFile

Post by Alex K. »

Hello,

We have made some improvements and fixes in that direction.
Please check the last release.

Thank you.
Post Reply