You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: knowledge-base/fixing-double-bold-text-issue-in-pdf-document.md
+12-18Lines changed: 12 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,11 @@
1
1
---
2
-
title: Resolving Double-Bold Appearance in PDF Export Using Telerik WordsProcessing
3
-
description: Learn how to resolve the double-bold appearance issue in PDFs generated by Telerik WordsProcessing using font registration and style configuration.
2
+
title: Resolving Double-Bold Text Appearance in PDF Export Using Telerik Document Processing
3
+
description: Learn how to resolve the double-bold text appearance issue in PDFs generated by Telerik WordsProcessing using font registration and style configuration.
4
4
type: how-to
5
5
page_title: Fixing Double-Bold Text Issue in PDFs Exported from Telerik WordsProcessing
6
6
meta_title: Fixing Double-Bold Text Issue in PDFs Exported from Telerik WordsProcessing
When exporting documents to PDF using Telerik WordsProcessing, the bold text may appear "double-bold" in PDF viewers like Edge or Chrome. This issue arises due to font embedding settings or inaccuracies in font file access, specifically with condensed fonts like Arial Narrow Bold.
22
-
23
-
This knowledge base article also answers the following questions:
24
-
- How to fix bold text rendering issues in PDFs generated by Telerik WordsProcessing?
25
-
- Why does the bold text in PDFs look thicker than expected?
26
-
- How to correctly embed Arial Narrow Bold in Telerik WordsProcessing?
21
+
When exporting documents to PDF using Telerik WordsProcessing, the bold text may appear "double-bold" in browsers like Edge or Chrome. This issue arises due to font embedding settings or inaccuracies in font file access, specifically with condensed fonts like Arial Narrow Bold.
22
+
This knowledge base article gives some tips how to fix double-bold text rendering issues in PDFs generated by Telerik WordsProcessing.
27
23
28
24
## Solution
29
25
26
+
The "double bold" text appearance in PDF viewers like Edge or Chrome is typically caused by font embedding. Using [FontEmbeddingType.Full]({%slug radpdfprocessing-formats-and-conversion-pdf-settings%}) can sometimes cause duplication if both, regular and bold, font variants are embedded and the viewer applies bold rendering on top. If your style already sets bold, avoid setting the Run.FontWeight property to FontWeights.Bold again. Double-assigning bold can lead to rendering issues.
27
+
30
28
To resolve the double-bold appearance issue, manually register the correct font files for Arial Narrow Bold and configure the style settings properly. Follow these steps:
31
29
32
-
1. Register the correct font files at the start of your application using `FontsRepository.RegisterFont`. This ensures that the library uses the appropriate font variations for bold and italic.
30
+
1. Register the correct font files at the start of your application using FontsRepository.[RegisterFont]({%slug radpdfprocessing-concepts-fonts%}#registering-a-font). This ensures that the library uses the appropriate font variations for bold and italic.
@@ -67,7 +65,7 @@ To resolve the double-bold appearance issue, manually register the correct font
67
65
}
68
66
```
69
67
70
-
4. Use the `FontEmbeddingType.Subset` setting when exporting to PDF to avoid redundant font embedding.
68
+
4. Use the `FontEmbeddingType.Subset` setting when [exporting to PDF]({%slug radwordsprocessing-formats-and-conversion-pdf-settings%}) to avoid redundant font embedding.
Copy file name to clipboardExpand all lines: libraries/radpdfprocessing/concepts/fonts.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -169,3 +169,4 @@ You can create fonts that are not explicitly registered. Creating a font that is
169
169
*[How to Prevent Text with Special Characters from Being Cut Off when converting HTML to PDF using RadWordsProcessing]({%slug prevent-text-cut-off-pdf-conversion-radwordsprocessing%})
170
170
*[Validating Fonts when Using Telerik Document Processing]({%slug validating-fonts-pdf-document-processing%})
171
171
*[Resolving Apostrophe Character Being Replaced with Copyright Symbol in Filled PDF AcroForm]({%slug apostrophe-character-replaced-copyright-symbol-acroform%})
172
+
*[Resolving Double-Bold Text Appearance in PDF Export Using Telerik Document Processing]({%slug fixing-double-bold-text-issue-in-pdf-document%})
0 commit comments