From a95303bbc4230c11e5fe1bf447a11c7224ab7a0b Mon Sep 17 00:00:00 2001 From: "PROGRESS\\ykaraman" Date: Thu, 21 Aug 2025 13:53:01 +0300 Subject: [PATCH 1/3] FontsProvider for Cross-Platform Fonts article. --- libraries/radpdfprocessing/cross-platform/fonts.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libraries/radpdfprocessing/cross-platform/fonts.md b/libraries/radpdfprocessing/cross-platform/fonts.md index 018c0137..2bfa8d8f 100644 --- a/libraries/radpdfprocessing/cross-platform/fonts.md +++ b/libraries/radpdfprocessing/cross-platform/fonts.md @@ -22,6 +22,10 @@ You can find a detailed **FixedExtensibilityManager** and **FontsProvider** desc >caution If the FontsProvider property is not set, a default font will be used when exporting the document in cross-platform applications. >important When converting a document (e.g. DOCX, HTML, etc.) to PDF format in **.NET Standard** and **.NET (Target OS: *None*)** projects, fonts from the original document are not automatically maintained in the PDF unless you explicitly provide the font data. This is especially important when the original document uses non-standard or custom fonts. The PdfProcessing library requires access to the actual font files to embed them in the PDF. If font data is not provided, the PDF model will substitute the missing fonts with standard ones, resulting in a mismatch between the original document and the exported PDF file. + + + + ## See Also From a762ef010715aa34c2746fee882f63e65bdb9d08 Mon Sep 17 00:00:00 2001 From: Dess Date: Thu, 21 Aug 2025 14:11:55 +0300 Subject: [PATCH 2/3] Update fonts.md --- libraries/radpdfprocessing/cross-platform/fonts.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/libraries/radpdfprocessing/cross-platform/fonts.md b/libraries/radpdfprocessing/cross-platform/fonts.md index 2bfa8d8f..fd08cf1c 100644 --- a/libraries/radpdfprocessing/cross-platform/fonts.md +++ b/libraries/radpdfprocessing/cross-platform/fonts.md @@ -15,13 +15,15 @@ Unlike the .NET Framework and .NET (Target OS: *Windows*) version, the RadPdfPro ## Setting and Exporting Fonts -RadPdfProcessing needs access to the font data, so that it can read it and add it to the PDF file. That is why, to allow the library to create and use fonts, you will need to provide an implementation of the **FontsProviderBase** abstract class and set this implementation to the **FontsProvider** property of the **FixedExtensibilityManager**. +RadPdfProcessing needs access to the font data so that it can read it and add it to the PDF file. That is why, to allow the library to create and use fonts, you will need to provide an implementation of the **FontsProviderBase** abstract class and set this implementation to the **FontsProvider** property of the **FixedExtensibilityManager**. -You can find a detailed **FixedExtensibilityManager** and **FontsProvider** descripiton and implementaion in the [How to implement a FontsProvider]({%slug pdfprocessing-implement-fontsprovider%}) article. +You can find a detailed **FixedExtensibilityManager** and **FontsProvider** description and implementation in the [How to implement a FontsProvider]({%slug pdfprocessing-implement-fontsprovider%}) article. >caution If the FontsProvider property is not set, a default font will be used when exporting the document in cross-platform applications. ->important When converting a document (e.g. DOCX, HTML, etc.) to PDF format in **.NET Standard** and **.NET (Target OS: *None*)** projects, fonts from the original document are not automatically maintained in the PDF unless you explicitly provide the font data. This is especially important when the original document uses non-standard or custom fonts. The PdfProcessing library requires access to the actual font files to embed them in the PDF. If font data is not provided, the PDF model will substitute the missing fonts with standard ones, resulting in a mismatch between the original document and the exported PDF file. +>important When converting a document (e.g., DOCX, HTML, etc.) to PDF format in **.NET Standard** and **.NET (Target OS: *None*)** projects, fonts from the original document are not automatically maintained in the PDF unless you explicitly provide the font data. This is especially important when the original document uses non-standard or custom fonts. The PdfProcessing library requires access to the actual font files to embed them in the PDF. If font data is not provided, the PDF model will substitute the missing fonts with standard ones, resulting in a mismatch between the original document and the exported PDF file. + +## Implementing a FontsProviderBase From 18dc6b7303b5e45724d8664241a52bb2a025acf3 Mon Sep 17 00:00:00 2001 From: "PROGRESS\\ykaraman" Date: Thu, 21 Aug 2025 23:49:36 +0300 Subject: [PATCH 3/3] Added DIPs info. --- libraries/radpdfprocessing/editing/table/tablerow.md | 2 ++ .../working-with-cells/get-set-clear-properties.md | 2 +- .../working-with-rows-and-columns/resizing.md | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/libraries/radpdfprocessing/editing/table/tablerow.md b/libraries/radpdfprocessing/editing/table/tablerow.md index 0f6eb930..9f18341d 100644 --- a/libraries/radpdfprocessing/editing/table/tablerow.md +++ b/libraries/radpdfprocessing/editing/table/tablerow.md @@ -51,6 +51,8 @@ Since **Q1 2025** you can easily configure the TablRow's height through its **He * __Exact__: Sets an exact row height. The value is in [Device Independent Pixels]({%slug device-independent-pixels%}) (DIPs). * __AtLeast__: Sets a minimum row height. The value is in [Device Independent Pixels]({%slug device-independent-pixels%}) (DIPs). + +>note You can convert DIPs to other units using the [Unit](https://docs.telerik.com/devtools/document-processing/api/Telerik.Windows.Documents.Media.Unit.html) class. __Example 3__ creates a table with three single-cell rows, each with a different **HeightType**. diff --git a/libraries/radspreadprocessing/working-with-cells/get-set-clear-properties.md b/libraries/radspreadprocessing/working-with-cells/get-set-clear-properties.md index ba94c703..a6fdcb8b 100644 --- a/libraries/radspreadprocessing/working-with-cells/get-set-clear-properties.md +++ b/libraries/radspreadprocessing/working-with-cells/get-set-clear-properties.md @@ -117,7 +117,7 @@ __Example 2__ illustrates how to use these methods on the region A1:F6. Using the above approach you can set the value of almost all cell properties. There are a few exceptions to the general get, set and clear rule, though, and each of them is described into one of the following sections. ->When using **GetFontSize()** and **SetFontSize()** methods you have to keep in mind that measurement units used in **RadSpreadProcessing** are [Device Independent Pixels]({%slug device-independent-pixels%}) (DIPs). For more information go to [Measurement Units]({%slug radspreadprocessing-working-with-rows-and-columns-resizing%}#measurement-units) help topic. +>When using **GetFontSize()** and **SetFontSize()** methods you have to keep in mind that measurement units used in **RadSpreadProcessing** are [Device Independent Pixels]({%slug device-independent-pixels%}) (DIPs). You can convert it to points or other units using the [Unit](https://docs.telerik.com/devtools/document-processing/api/Telerik.Windows.Documents.Media.Unit.html) class. For more information go to [Measurement Units]({%slug radspreadprocessing-working-with-rows-and-columns-resizing%}#measurement-units) help topic. ## Value Property diff --git a/libraries/radspreadprocessing/working-with-rows-and-columns/resizing.md b/libraries/radspreadprocessing/working-with-rows-and-columns/resizing.md index 962abd25..03e699ef 100644 --- a/libraries/radspreadprocessing/working-with-rows-and-columns/resizing.md +++ b/libraries/radspreadprocessing/working-with-rows-and-columns/resizing.md @@ -142,7 +142,7 @@ Another way to auto fit column widths is to use the __ExpandToFitNumberValuesWid columnSelection.ExpandToFitNumberValuesWidth(); {{endregion}} -> The unit type used to set the width of the columns and the height of the rows in RadSpreadProcessing is [Device Independent Pixels]({%slug device-independent-pixels%}) (DIPs). +> The unit type used to set the width of the columns and the height of the rows in RadSpreadProcessing is [Device Independent Pixels]({%slug device-independent-pixels%}) (DIPs). You can convert it to points or other units using the [Unit](https://docs.telerik.com/devtools/document-processing/api/Telerik.Windows.Documents.Media.Unit.html) class. ### Telerik RadSpreadProcessing vs MS Excel