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: Document-Processing/Word/Conversions/Word-To-PDF/NET/Fallback-fonts-word-to-pdf.md
+83Lines changed: 83 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -195,6 +195,89 @@ End Using
195
195
196
196
You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/DocIO-Examples/tree/main/Word-to-PDF-Conversion/Fallback-fonts-based-on-scripttype).
197
197
198
+
## Fallback Symbols based on script type
199
+
200
+
The following code example demonstrates how a user can add fallback fonts based on the script types, which DocIO considers internally when converting a Word document to PDF.
201
+
202
+
{% tabs %}
203
+
204
+
{% highlight c# tabtitle="C# [Cross-platform]" %}
205
+
//Opens the file as stream.
206
+
using (FileStream inputStream = new FileStream("Template.docx", FileMode.Open, FileAccess.Read))
207
+
{
208
+
//Loads an existing Word document file stream.
209
+
using (WordDocument wordDocument = new WordDocument(inputStream, Syncfusion.DocIO.FormatType.Docx))
210
+
{
211
+
//Adds fallback font for basic symbols like bullet characters.
0 commit comments