From 4bdf9e1c727b9c8ff28b296e8e5b4e0d7034e5a8 Mon Sep 17 00:00:00 2001 From: KB Bot Date: Tue, 26 Mar 2024 15:06:27 +0000 Subject: [PATCH 1/6] Added new kb article inserting-special-symbols-pdf-radpdfprocessing --- ...ng-special-symbols-pdf-radpdfprocessing.md | 122 ++++++++++++++++++ 1 file changed, 122 insertions(+) create mode 100644 knowledge-base/inserting-special-symbols-pdf-radpdfprocessing.md diff --git a/knowledge-base/inserting-special-symbols-pdf-radpdfprocessing.md b/knowledge-base/inserting-special-symbols-pdf-radpdfprocessing.md new file mode 100644 index 00000000..7947532d --- /dev/null +++ b/knowledge-base/inserting-special-symbols-pdf-radpdfprocessing.md @@ -0,0 +1,122 @@ +--- +title: Inserting Special Symbols in PDF using RadPdfProcessing +description: This article explains how to insert special symbols, such as "↓", in a PDF document using RadPdfProcessing. +type: how-to +page_title: Inserting Special Symbols in PDF using RadPdfProcessing +slug: inserting-special-symbols-pdf-radpdfprocessing +tags: radpdfprocessing, pdf, special symbols, insert, visual studio +res_type: kb +--- + +## Environment +| Version | Product | Author | +| --- | --- | ---- | +| 2024.1.124 | RadPdfProcessing |[Desislava Yordanova](https://www.telerik.com/blogs/author/desislava-yordanova)| + +## Description + +This article shows how to insert special symbols, such as "↓", in a PDF document using RadPdfProcessing. + +## Solution + +When using the Telerik Document Processing's .NET Standard assemblies/NuGet packages and want to export a document to PDF format, the PdfProcessing library needs to have access to the specific font's 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 FixedExtensibilityManager. + +```csharp + + +using System.Diagnostics; +using Telerik.Documents.Core.Fonts; +using Telerik.Windows.Documents.Fixed.FormatProviders.Pdf; +using Telerik.Windows.Documents.Fixed.Model; +using Telerik.Windows.Documents.Fixed.Model.Editing; +using Telerik.Windows.Documents.Fixed.Model.Editing.Tables; + +Telerik.Windows.Documents.Extensibility.FontsProviderBase fontsProvider = new FontsProvider(); +Telerik.Windows.Documents.Extensibility.FixedExtensibilityManager.FontsProvider = fontsProvider; + +RadFixedDocument document = new RadFixedDocument(); +RadFixedDocumentEditor editor = new RadFixedDocumentEditor(document); + +Table table = new Table(); +TableRow row = table.Rows.AddTableRow(); +TableCell valueCell = row.Cells.AddTableCell(); +Block valueCellBlock = valueCell.Blocks.AddBlock(); +valueCellBlock.InsertText(new FontFamily("Arial"),"36 °C"); +row = table.Rows.AddTableRow(); +valueCell = row.Cells.AddTableCell(); +valueCellBlock = valueCell.Blocks.AddBlock(); +valueCellBlock.InsertText(new FontFamily("Calibri"), "↓"); +editor.InsertTable(table); + +string outputdDocumentName = "Exported.pdf"; +if (File.Exists(outputdDocumentName)) +{ + File.Delete(outputdDocumentName); +} + +PdfFormatProvider provider = new PdfFormatProvider(); +using (Stream stream = new FileStream(outputdDocumentName, FileMode.OpenOrCreate)) +{ + provider.Export(document, stream); +} + +Process.Start(new ProcessStartInfo() { FileName = outputdDocumentName, UseShellExecute = true }); + +internal class FontsProvider : Telerik.Windows.Documents.Extensibility.FontsProviderBase +{ + private readonly string fontFolder = Environment.GetFolderPath(Environment.SpecialFolder.Fonts); + + public override byte[] GetFontData(Telerik.Windows.Documents.Core.Fonts.FontProperties fontProperties) + { + string fontFamilyName = fontProperties.FontFamilyName; + bool isBold = fontProperties.FontWeight == Telerik.Documents.Core.Fonts.FontWeights.Bold; + string fontFolder = Environment.GetFolderPath(Environment.SpecialFolder.Fonts); + if (fontFamilyName == "Arial" && isBold) + { + using (FileStream fileStream = File.OpenRead(fontFolder + "\\arialbd.ttf")) + { + using (MemoryStream memoryStream = new MemoryStream()) + { + fileStream.CopyTo(memoryStream); + return memoryStream.ToArray(); + } + } + } + else if (fontFamilyName == "Arial") + { + return this.GetFontDataFromFontFolder("arial.ttf"); + } + else if (fontFamilyName == "Calibri" && isBold) + { + return this.GetFontDataFromFontFolder("calibrib.ttf"); + } + else if (fontFamilyName == "Calibri") + { + return this.GetFontDataFromFontFolder("calibri.ttf"); + } + else if (fontFamilyName == "Segoe UI") + { + return this.GetFontDataFromFontFolder("segoeui.ttf"); + } + + return null; + } + + private byte[] GetFontDataFromFontFolder(string fontFileName) + { + using (FileStream fileStream = File.OpenRead(this.fontFolder + "\\" + fontFileName)) + { + using (MemoryStream memoryStream = new MemoryStream()) + { + fileStream.CopyTo(memoryStream); + return memoryStream.ToArray(); + } + } + } +} + +``` + +## See Also +- [Cross-Platform Support >> Fonts](https://docs.telerik.com/devtools/document-processing/libraries/radpdfprocessing/cross-platform-support/fonts) +- [How to Implement FontsProvider](https://docs.telerik.com/devtools/document-processing/libraries/radpdfprocessing/how-to/howto-implement-fontsprovider) From 181f4e0139d7f1117a4d9a172a04bc2c87b386e4 Mon Sep 17 00:00:00 2001 From: Desislava Yordanova Date: Tue, 26 Mar 2024 17:09:31 +0200 Subject: [PATCH 2/6] add image --- ...ing-special-symbols-pdf-radpdfprocessing.png | Bin 0 -> 12059 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 knowledge-base/images/inserting-special-symbols-pdf-radpdfprocessing.png diff --git a/knowledge-base/images/inserting-special-symbols-pdf-radpdfprocessing.png b/knowledge-base/images/inserting-special-symbols-pdf-radpdfprocessing.png new file mode 100644 index 0000000000000000000000000000000000000000..825c6d5a61a17f65ffd6bd31c1696045756e31e1 GIT binary patch literal 12059 zcmcI~c{r4P^f&F&VojSABV{lp6hf4J%R1R+lqF)Q%w()>WDv5BB@`j+)WpyjqbGyx zStrKwG$M?lvBp^5d$c@tz3=t@_4~Ol*UilR{hsA}&gXp2x$p4HCc3+K9^A>r#kE^s z?~*we*CrSj7x&>E+kj8@*$@MP3%8HCt`=8G>)~KW zqcFh-)0Z}J&3~&Z=i*A;!b;@}l;Y=l88%&os@Z)undVj5(jPEgHA-errP2h5brGWWXkIf{;>>SeH!ZqE+y$*# z#zV1{XG^1Js}E$e$x6q*n}{E4Zf#Bdnh_v3+NwG|N8nDj#7~2(+JZ(pA7{jrtkw%U zKD|KN#Is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D6^7x-9T-a!t-KU3_vD!Bz@<$~(3VR={ zVx~1x=q>QO#2pY}b&MsZ>vUm~dTuWDDROfFg)>R!kbR!w?vC2a%w<{d)zk-FddVO2 z_G_nyez*Bg)>BH8cz&FxaFD~39S%c(l%d15O<^VG)k$V@BEMy&2(bzx9KfT6Z~iM^ z3gOtw3q!w=9ca|t`2qgKkzlt`@BV~vp!xqvmvZ+~4{`h|(ppPOYbFrAu`WCzvzj(({CX2UrI}I<{X{+l4qk-@ffwz2Yv`PGvd0hd+~LJOusL z#eXucxKqi?=8&5hdG(VZ@{TiQXNcFpjMB$jE{oYg*K_`%mKbYA8u%3w#gyGRY*l?OP-2@T1m-&wRYRbd3T-X!xwKBSlqD>j57P> z``vU!uJn*5lP-s6h4p8n>s@ru2BA8C9d7O!dQQ9pfA)SvM`@NxYhQV^rj)Z<4+eu< zef1h!{y}~sR$28L2zj2kkUAB!%s>|$!3Mzw@b1@vY+GBSQRU`dPeD0PdP0D$T(;KN zpK#6^LnHAEWnxMtdd{pev3&vuhGvy+94qp--{=p1RNt?;2f1~4=!w8S9-n?jwo^!M z{lx9{)x`kzrk9Q9qR>kd{q3K#ayC5%itQs|ipS$~$g#@^KFAetTwd8Tb)Azi-=QGi zYVz3XWkS{7-%-3V%B(+8>(Q2>wz>?^)BsunV){P@xiQ>2-KYq=-uiSrhRd)dBKHvE z9;cvhB*ez3Y=1Wfo9@~rl>KV)4Ksr93#NXJ#!gGK@STr|Pcc<5Fy6%1Zfx=2>0P@q xpUxJ57@z4=!A>HxWqq3(InR!-o*rG_yqC|mBObDQfb%e4U)$tTiI(Go{{y>RN_PMN literal 0 HcmV?d00001 From 7689f7c1222bcde13ff293f2b1fd9316b995ed54 Mon Sep 17 00:00:00 2001 From: Desislava Yordanova Date: Tue, 26 Mar 2024 17:09:45 +0200 Subject: [PATCH 3/6] Update inserting-special-symbols-pdf-radpdfprocessing.md --- .../inserting-special-symbols-pdf-radpdfprocessing.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/knowledge-base/inserting-special-symbols-pdf-radpdfprocessing.md b/knowledge-base/inserting-special-symbols-pdf-radpdfprocessing.md index 7947532d..274f1464 100644 --- a/knowledge-base/inserting-special-symbols-pdf-radpdfprocessing.md +++ b/knowledge-base/inserting-special-symbols-pdf-radpdfprocessing.md @@ -17,6 +17,8 @@ res_type: kb This article shows how to insert special symbols, such as "↓", in a PDF document using RadPdfProcessing. +![Special Symbols in PdfProcessing](images/inserting-special-symbols-pdf-radpdfprocessing.png) + ## Solution When using the Telerik Document Processing's .NET Standard assemblies/NuGet packages and want to export a document to PDF format, the PdfProcessing library needs to have access to the specific font's 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 FixedExtensibilityManager. From 5f330822f8edeef09ae40d2d4790e319e1366fa1 Mon Sep 17 00:00:00 2001 From: Desislava Yordanova Date: Wed, 27 Mar 2024 07:47:59 +0200 Subject: [PATCH 4/6] add links --- .../inserting-special-symbols-pdf-radpdfprocessing.md | 6 ++++-- knowledge-base/pdfprocessing-implement-fontsprovider.md | 3 ++- libraries/radpdfprocessing/cross-platform/fonts.md | 4 ++++ 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/knowledge-base/inserting-special-symbols-pdf-radpdfprocessing.md b/knowledge-base/inserting-special-symbols-pdf-radpdfprocessing.md index 274f1464..dfe8fe31 100644 --- a/knowledge-base/inserting-special-symbols-pdf-radpdfprocessing.md +++ b/knowledge-base/inserting-special-symbols-pdf-radpdfprocessing.md @@ -120,5 +120,7 @@ internal class FontsProvider : Telerik.Windows.Documents.Extensibility.FontsProv ``` ## See Also -- [Cross-Platform Support >> Fonts](https://docs.telerik.com/devtools/document-processing/libraries/radpdfprocessing/cross-platform-support/fonts) -- [How to Implement FontsProvider](https://docs.telerik.com/devtools/document-processing/libraries/radpdfprocessing/how-to/howto-implement-fontsprovider) +- [Standard Fonts]({%slug radpdfprocessing-concepts-fonts%}) +- [Cross-Platform Support]({%slug radpdfprocessing-cross-platform%}) +- [Cross-Platform Support >> Fonts]({%slug radpdfprocessing-cross-platform-fonts%}}) +- [How to Implement FontsProvider]({%slug pdfprocessing-implement-fontsprovider%}}) diff --git a/knowledge-base/pdfprocessing-implement-fontsprovider.md b/knowledge-base/pdfprocessing-implement-fontsprovider.md index af05d10f..d1c5c4d8 100644 --- a/knowledge-base/pdfprocessing-implement-fontsprovider.md +++ b/knowledge-base/pdfprocessing-implement-fontsprovider.md @@ -118,4 +118,5 @@ In the validation, each font name (FontFamilyName) must be explicitly specified ## See Also * [Standard Fonts]({%slug radpdfprocessing-concepts-fonts%}) - * [Cross-Platform Support]({%slug radpdfprocessing-cross-platform%}) + * [Cross-Platform Support]({%slug radpdfprocessing-cross-platform%}) + * [Inserting Special Symbols in PDF using RadPdfProcessing]({%slug inserting-special-symbols-pdf-radpdfprocessing%}) diff --git a/libraries/radpdfprocessing/cross-platform/fonts.md b/libraries/radpdfprocessing/cross-platform/fonts.md index 468894f5..c20f7726 100644 --- a/libraries/radpdfprocessing/cross-platform/fonts.md +++ b/libraries/radpdfprocessing/cross-platform/fonts.md @@ -20,3 +20,7 @@ You can find a detailed **FixedExtensibilityManager** and **FontsProvider** desc >important If the FontsProvider property is not set, a default font will be used when exporting the document. +## See Also + * [Standard Fonts]({%slug radpdfprocessing-concepts-fonts%}) + * [Cross-Platform Support]({%slug radpdfprocessing-cross-platform%}) + * [Inserting Special Symbols in PDF using RadPdfProcessing]({%slug inserting-special-symbols-pdf-radpdfprocessing%}) \ No newline at end of file From 3f9060c7c612094cdb89d573fb8abb0e5de5bcd4 Mon Sep 17 00:00:00 2001 From: Desislava Yordanova Date: Tue, 2 Apr 2024 11:20:56 +0300 Subject: [PATCH 5/6] resolve conflicts --- libraries/radpdfprocessing/cross-platform/fonts.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libraries/radpdfprocessing/cross-platform/fonts.md b/libraries/radpdfprocessing/cross-platform/fonts.md index c20f7726..1f44ec38 100644 --- a/libraries/radpdfprocessing/cross-platform/fonts.md +++ b/libraries/radpdfprocessing/cross-platform/fonts.md @@ -21,6 +21,8 @@ You can find a detailed **FixedExtensibilityManager** and **FontsProvider** desc >important If the FontsProvider property is not set, a default font will be used when exporting the document. ## See Also + * [Standard Fonts]({%slug radpdfprocessing-concepts-fonts%}) * [Cross-Platform Support]({%slug radpdfprocessing-cross-platform%}) - * [Inserting Special Symbols in PDF using RadPdfProcessing]({%slug inserting-special-symbols-pdf-radpdfprocessing%}) \ No newline at end of file + * [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%}) \ No newline at end of file From e6ec105b6f7215d5d13f16476ba51022d0599553 Mon Sep 17 00:00:00 2001 From: Dess Date: Wed, 3 Apr 2024 12:59:43 +0300 Subject: [PATCH 6/6] Update inserting-special-symbols-pdf-radpdfprocessing.md --- .../inserting-special-symbols-pdf-radpdfprocessing.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/knowledge-base/inserting-special-symbols-pdf-radpdfprocessing.md b/knowledge-base/inserting-special-symbols-pdf-radpdfprocessing.md index dfe8fe31..3744e7a8 100644 --- a/knowledge-base/inserting-special-symbols-pdf-radpdfprocessing.md +++ b/knowledge-base/inserting-special-symbols-pdf-radpdfprocessing.md @@ -122,5 +122,5 @@ internal class FontsProvider : Telerik.Windows.Documents.Extensibility.FontsProv ## See Also - [Standard Fonts]({%slug radpdfprocessing-concepts-fonts%}) - [Cross-Platform Support]({%slug radpdfprocessing-cross-platform%}) -- [Cross-Platform Support >> Fonts]({%slug radpdfprocessing-cross-platform-fonts%}}) -- [How to Implement FontsProvider]({%slug pdfprocessing-implement-fontsprovider%}}) +- [Cross-Platform Support >> Fonts]({%slug radpdfprocessing-cross-platform-fonts%}) +- [How to Implement FontsProvider]({%slug pdfprocessing-implement-fontsprovider%})