From 6a0b5e809e9148e6c593fc10c06beaae3c9489ec Mon Sep 17 00:00:00 2001 From: KB Bot Date: Fri, 20 Jun 2025 10:43:10 +0000 Subject: [PATCH 1/3] Added new kb article validating-fonts-document-processing --- .../validating-fonts-document-processing.md | 62 +++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 knowledge-base/validating-fonts-document-processing.md diff --git a/knowledge-base/validating-fonts-document-processing.md b/knowledge-base/validating-fonts-document-processing.md new file mode 100644 index 00000000..69d50748 --- /dev/null +++ b/knowledge-base/validating-fonts-document-processing.md @@ -0,0 +1,62 @@ +--- +title: Checking and Validating Fonts for Telerik Document Processing +description: Learn how to identify and resolve issues caused by incomplete or corrupt TTF font files in exported PDFs using Telerik Document Processing. +type: how-to +page_title: Resolving Missing Content Issues in PDF Export Due to Fonts +meta_title: Resolving Missing Content Issues in PDF Export Due to Fonts +slug: validating-fonts-document-processing +tags: radwordsprocessing, document processing, ttf, font, validation, pdf export +res_type: kb +ticketid: 1690314 +--- + +## Environment + +| Version | Product | Author | +| ---- | ---- | ---- | +| 2025.2.520| RadPdfProcessing |[Desislava Yordanova](https://www.telerik.com/blogs/author/desislava-yordanova)| + +## Description + +When exporting a document to PDF using [Telerik RadWordsProcessing](https://docs.telerik.com/devtools/document-processing/libraries/radwordsprocessing/overview), missing content may occur due to issues with the TTF font file. These issues can arise if the font file is incomplete, corrupted, or missing required font tables. This results in missing or improperly rendered text in the exported PDF. + +This knowledge base article also answers the following questions: +- Why does my PDF export have missing text due to fonts? +- How can I validate fonts used in Telerik Document Processing? +- What tools can check for font file integrity? + +## Solution + +To ensure a font file is complete and compatible with Telerik Document Processing, follow these steps: + +1. **Open the Font in a Font Viewer** + Double-click the TTF file to open it in the system font viewer. Inspect whether all expected characters display correctly and ensure no error messages appear. + +2. **Test the Font in Other Applications** + Install the font on your system and use it in applications like Word or Notepad. Verify that all characters render correctly. + +3. **Compare File Size and Metadata** + Compare the file size and properties of the font with an official or known-good version. Noticeable differences can indicate corruption or missing data. + +4. **Use Font Validation Tools** + Validate the font file with tools like: + - [FontForge](https://fontforge.org/) + - [Microsoft Font Validator](https://github.com/Microsoft/Font-Validator) + These tools check for missing tables, corrupt glyphs, and other font-related issues. + +5. **Check Required Styles** + Verify that all required styles (Regular, Bold, Italic, etc.) are available if your document uses them. Missing styles can cause fallback or rendering issues. + +### Recommendations + +- Validate fonts from third-party sources before integrating them. +- Request official font packages or sources for reliable compatibility. +- Replace problematic font files with known-good versions to resolve rendering issues. +- Extend the FontsProvider to log missing or problematic fonts during testing for early detection. + +## See Also + +- [RadWordsProcessing Overview](https://docs.telerik.com/devtools/document-processing/libraries/radwordsprocessing/overview) +- [FontForge](https://fontforge.org/) +- [Microsoft Font Validator](https://github.com/Microsoft/Font-Validator) +- [Working with Fonts in Telerik Document Processing](https://docs.telerik.com/devtools/document-processing/fonts/fonts-overview) From 4df9ccceb554b0343b788d3df80f56b6831d69a3 Mon Sep 17 00:00:00 2001 From: Desislava Yordanova Date: Tue, 15 Jul 2025 13:00:24 +0300 Subject: [PATCH 2/3] new KB for fonts validation - general info --- .../validating-fonts-document-processing.md | 33 ++++++++++--------- libraries/radpdfprocessing/concepts/fonts.md | 3 +- .../radpdfprocessing/cross-platform/fonts.md | 1 + 3 files changed, 20 insertions(+), 17 deletions(-) diff --git a/knowledge-base/validating-fonts-document-processing.md b/knowledge-base/validating-fonts-document-processing.md index 69d50748..a2643e87 100644 --- a/knowledge-base/validating-fonts-document-processing.md +++ b/knowledge-base/validating-fonts-document-processing.md @@ -1,11 +1,11 @@ --- -title: Checking and Validating Fonts for Telerik Document Processing +title: Validating Fonts when Using Telerik Document Processing description: Learn how to identify and resolve issues caused by incomplete or corrupt TTF font files in exported PDFs using Telerik Document Processing. type: how-to page_title: Resolving Missing Content Issues in PDF Export Due to Fonts meta_title: Resolving Missing Content Issues in PDF Export Due to Fonts -slug: validating-fonts-document-processing -tags: radwordsprocessing, document processing, ttf, font, validation, pdf export +slug: validating-fonts-pdf-document-processing +tags: word, document, processing, ttf, font, validation, pdf, export res_type: kb ticketid: 1690314 --- @@ -14,37 +14,38 @@ ticketid: 1690314 | Version | Product | Author | | ---- | ---- | ---- | -| 2025.2.520| RadPdfProcessing |[Desislava Yordanova](https://www.telerik.com/blogs/author/desislava-yordanova)| +| 2025.2.520| Telerik Document Processing |[Desislava Yordanova](https://www.telerik.com/blogs/author/desislava-yordanova)| ## Description -When exporting a document to PDF using [Telerik RadWordsProcessing](https://docs.telerik.com/devtools/document-processing/libraries/radwordsprocessing/overview), missing content may occur due to issues with the TTF font file. These issues can arise if the font file is incomplete, corrupted, or missing required font tables. This results in missing or improperly rendered text in the exported PDF. +When exporting a document to PDF format using [Telerik RadWordsProcessing]({%slug radwordsprocessing-overview%}), missing content may occur due to issues with the TTF font file. These issues can arise if the font file is incomplete, corrupted, or missing required font tables. This results in missing or improperly rendered text in the exported PDF. -This knowledge base article also answers the following questions: -- Why does my PDF export have missing text due to fonts? -- How can I validate fonts used in Telerik Document Processing? -- What tools can check for font file integrity? +This knowledge base article gives some tips and tricks how to validate fonts used in Telerik Document Processing and what tools can check for font file's integrity. ## Solution To ensure a font file is complete and compatible with Telerik Document Processing, follow these steps: -1. **Open the Font in a Font Viewer** +* **Open the Font in a Font Viewer** + Double-click the TTF file to open it in the system font viewer. Inspect whether all expected characters display correctly and ensure no error messages appear. -2. **Test the Font in Other Applications** +* **Test the Font in Other Applications** + Install the font on your system and use it in applications like Word or Notepad. Verify that all characters render correctly. -3. **Compare File Size and Metadata** +* **Compare File Size and Metadata** + Compare the file size and properties of the font with an official or known-good version. Noticeable differences can indicate corruption or missing data. -4. **Use Font Validation Tools** +* **Use Font Validation Tools** Validate the font file with tools like: - [FontForge](https://fontforge.org/) - [Microsoft Font Validator](https://github.com/Microsoft/Font-Validator) These tools check for missing tables, corrupt glyphs, and other font-related issues. -5. **Check Required Styles** +* **Check Required Styles** + Verify that all required styles (Regular, Bold, Italic, etc.) are available if your document uses them. Missing styles can cause fallback or rendering issues. ### Recommendations @@ -56,7 +57,7 @@ To ensure a font file is complete and compatible with Telerik Document Processin ## See Also -- [RadWordsProcessing Overview](https://docs.telerik.com/devtools/document-processing/libraries/radwordsprocessing/overview) - [FontForge](https://fontforge.org/) - [Microsoft Font Validator](https://github.com/Microsoft/Font-Validator) -- [Working with Fonts in Telerik Document Processing](https://docs.telerik.com/devtools/document-processing/fonts/fonts-overview) +- [Fonts - Cross-Platform support]({%slug radpdfprocessing-cross-platform-fonts%}) +- [Standard Fonts in PdfProcessing]({%slug radpdfprocessing-concepts-fonts%}) diff --git a/libraries/radpdfprocessing/concepts/fonts.md b/libraries/radpdfprocessing/concepts/fonts.md index 61277e34..80e0de3d 100644 --- a/libraries/radpdfprocessing/concepts/fonts.md +++ b/libraries/radpdfprocessing/concepts/fonts.md @@ -164,5 +164,6 @@ You can create fonts that are not explicitly registered. Creating a font that is * [FontsRepository](https://docs.telerik.com/devtools/document-processing/api/Telerik.Windows.Documents.Fixed.Model.Fonts.FontsRepository.html) * [TextFragment]({%slug radpdfprocessing-model-textfragment%}) * [Preserving the Font in PDF Export from Excel]({%slug preserve-font-boldness-pdf-export-radspreadprocessing%}) - * [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%}) + * [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%}) + * [Validating Fonts when Using Telerik Document Processing]({%slug validating-fonts-pdf-document-processing%}) diff --git a/libraries/radpdfprocessing/cross-platform/fonts.md b/libraries/radpdfprocessing/cross-platform/fonts.md index fa0a8cfa..1d24cdbf 100644 --- a/libraries/radpdfprocessing/cross-platform/fonts.md +++ b/libraries/radpdfprocessing/cross-platform/fonts.md @@ -27,4 +27,5 @@ You can find a detailed **FixedExtensibilityManager** and **FontsProvider** desc * [Inserting Special Symbols in PDF using RadPdfProcessing]({%slug inserting-special-symbols-pdf-radpdfprocessing%}) * [How to Eliminate Formatting Issues when Exporting XLSX to PDF Format]({%slug exporting-xlsx-to-pdf-formatting-issues%}) * [Resolving Missing Content in Exported PDF Files]({%slug missing-content-word-to-pdf-radwordsprocessing%}) + * [Validating Fonts when Using Telerik Document Processing]({%slug validating-fonts-pdf-document-processing%}) From bdc7aae75fa24f940e63b05383ec0af5a8309920 Mon Sep 17 00:00:00 2001 From: Desislava Yordanova Date: Wed, 16 Jul 2025 13:12:02 +0300 Subject: [PATCH 3/3] addressed Yoan's feedback --- .../validating-fonts-document-processing.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/knowledge-base/validating-fonts-document-processing.md b/knowledge-base/validating-fonts-document-processing.md index a2643e87..2e2fb774 100644 --- a/knowledge-base/validating-fonts-document-processing.md +++ b/knowledge-base/validating-fonts-document-processing.md @@ -1,11 +1,11 @@ --- title: Validating Fonts when Using Telerik Document Processing -description: Learn how to identify and resolve issues caused by incomplete or corrupt TTF font files in exported PDFs using Telerik Document Processing. +description: Learn how to identify incomplete or corrupt TTF font files that cause content issues while exporting PDF files using Telerik Document Processing. type: how-to -page_title: Resolving Missing Content Issues in PDF Export Due to Fonts -meta_title: Resolving Missing Content Issues in PDF Export Due to Fonts +page_title: Identifying incomplete or corrupted font files causing content issues in exported PDF dcouments +meta_title: Identifying incomplete or corrupted font files causing content issues in exported PDF documents slug: validating-fonts-pdf-document-processing -tags: word, document, processing, ttf, font, validation, pdf, export +tags: word, document, processing, ttf, font, validation, pdf, export, spread, fixed, flow, excel res_type: kb ticketid: 1690314 --- @@ -18,7 +18,7 @@ ticketid: 1690314 ## Description -When exporting a document to PDF format using [Telerik RadWordsProcessing]({%slug radwordsprocessing-overview%}), missing content may occur due to issues with the TTF font file. These issues can arise if the font file is incomplete, corrupted, or missing required font tables. This results in missing or improperly rendered text in the exported PDF. +When exporting a document to PDF format using the Telerik [Document Processing Librararies]({%slug introduction%}), content issues may occur due to incomplete or corrupted font files. These issues can arise if the font file is incomplete, corrupted, or missing required font tables. This results in missing or improperly rendered text in the exported PDF. This knowledge base article gives some tips and tricks how to validate fonts used in Telerik Document Processing and what tools can check for font file's integrity. @@ -53,7 +53,7 @@ To ensure a font file is complete and compatible with Telerik Document Processin - Validate fonts from third-party sources before integrating them. - Request official font packages or sources for reliable compatibility. - Replace problematic font files with known-good versions to resolve rendering issues. -- Extend the FontsProvider to log missing or problematic fonts during testing for early detection. +- You can utilize a [FontsProvider]({%slug pdfprocessing-implement-fontsprovider%}) implementation to identify all fonts and styles used in the document. Thus, you can log missing or problematic fonts during testing for early detection. ## See Also