Completed
Last Updated: 19 Mar 2024 16:14 by ADMIN
Release 2024 Q2
Kalli Kaldi
Created on: 02 Feb 2024 14:45
Type: Bug Report
1
Resolving OpenType fonts with Skia for PDF rendering throws
Telerik.Reporting.Pdf.Fonts.TrueType.FontProgram.GenerateSubSet throws NullReferenceException when exporting to PDF with Skia. The problem occurs when trying to resolve OpenType(.otf) font, and FontEmbedding is set to "Subset". The bug occurs for both installed and private fonts.
 
Recommended workarounds are to set FontEmbedding option to "Full" or to use TrueType fonts.
1 comment
ADMIN
Nikolay
Posted on: 19 Mar 2024 16:14

Hi folks,

Just wanted to inform you that with 18.0.24.305 Telerik Reporting release a more descriptive error is logged when Subset font embedding fails. Instead of the NullReferenceException we now throw:

 Font Table {Font Name} does not contain GlyphData. Font Subset failed, the whole font will be embedded instead.
You can download the bits from your Telerik account and give it a try.

Regards, Nikolay Yakov Progress Telerik

Stay tuned by visiting our roadmap and feedback portal pages, enjoy a smooth take-off with our Getting Started resources, or visit the free self-paced technical training at https://learn.telerik.com/.