Unplanned
Last Updated: 15 Feb 2022 11:08 by Salman
Salman
Created on: 15 Feb 2022 11:08
Category: PdfProcessing
Type: Bug Report
0
WordsProcessing: PdfFormatProvider: When Arial Narrow Bold fond is set in the document the font-weight is lost when converting to PDF

 PdfFormatProvider: When Arial Narrow Bold fond is set in the document the font-weight is lost when converting to PDF.

 

Workaround:

var fontData = File.ReadAllBytes(@"C:\Downloads\arial-narrow\arialnb.ttf");
FontsRepository.RegisterFont(new System.Windows.Media.FontFamily("Arial Narrow"), FontStyles.Normal, FontWeights.Bold, fontData);

0 comments