Skip to content

Commit 955572e

Browse files
committed
adding links
1 parent 3322c01 commit 955572e

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

knowledge-base/preserve-font-boldness-pdf-export-radspreadprocessing.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ ticketid: 1659898
1717

1818
## Description
1919

20-
When converting Excel documents in .NET Framework applications to PDF using RadSpreadProcessing, the bold text in the Excel file might not appear bold in the exported PDF. The font also may be changed in the exported PDF. This issue often arises due to the PDF export process using a different font than the one specified in the Excel document. For instance, the PDF export might default to using "Arial" font, while the original Excel document uses "Aptos Narrow".
20+
When converting Excel documents in .NET Framework applications to PDF format using [RadSpreadProcessing]({%slug radspreadprocessing-overview%}), the bold text in the Excel file might not appear bold in the exported PDF. The font also may be changed in the exported PDF. This issue often arises due to the PDF export process using a different font than the one specified in the Excel document. For instance, the PDF export might default to using "Arial" font, while the original Excel document uses "Aptos Narrow".
2121

2222
This KB article also answers the following questions:
2323
- How to ensure text boldness is preserved in PDF exports?
@@ -32,7 +32,7 @@ To preserve the font and the bold text when exporting an Excel document to PDF,
3232

3333
2. **Create a `FontFamily`** instance for the custom font.
3434

35-
3. **Register the font** with the `FontsRepository`. Ensure to register both the regular and bold variations of the font to cover all text styles in the document.
35+
3. [Register the font](https://docs.telerik.com/devtools/document-processing/libraries/radpdfprocessing/concepts/fonts#registering-a-font) with the `FontsRepository`. Ensure to register both the regular and bold variations of the font to cover all text styles in the document.
3636

3737
```csharp
3838
// Read the font file
@@ -52,3 +52,4 @@ By following these steps, the exported PDF document will correctly display text
5252

5353
- [Fonts in RadPdfProcessing]({%slug radpdfprocessing-concepts-fonts%})
5454
- [Registering a Font](https://docs.telerik.com/devtools/document-processing/libraries/radpdfprocessing/concepts/fonts#registering-a-font)
55+
- [Using PdfFormatProvider]({%slug radspreadprocessing-formats-and-conversion-pdf-pdfformatprovider%})

libraries/radpdfprocessing/concepts/fonts.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,4 +137,5 @@ You can create fonts that are not explicitly registered. Creating a font that is
137137
* [Cross-Platform Support for Fonts]({%slug radpdfprocessing-cross-platform-fonts%})
138138
* [FontsRepository](https://docs.telerik.com/devtools/document-processing/api/Telerik.Windows.Documents.Fixed.Model.Fonts.FontsRepository.html)
139139
* [TextFragment]({%slug radpdfprocessing-model-textfragment%})
140+
* [Preserving the Font in PDF Export from Excel]({%slug preserve-font-boldness-pdf-export-radspreadprocessing%})
140141

libraries/radspreadprocessing/formats-and-conversion/pdf/pdfformatprovider.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,4 +72,5 @@ The result from the export method is a document that can be opened in any applic
7272
- [How to Eliminate Formatting Issues when Exporting XLSX to PDF Format]({%slug exporting-xlsx-to-pdf-formatting-issues%})
7373
- [Import/Load and Export/Save RadSpreadProcessing Workbook]({%slug import-export-save-load-workbook%})
7474
- [Export Worksheet to image]({%slug spreadprocessing-export-worksheet-to-image-netstandard%})
75+
- [Preserving the Font in PDF Export from Excel]({%slug preserve-font-boldness-pdf-export-radspreadprocessing%})
7576

0 commit comments

Comments
 (0)