# Replace missing font This article explains how to replace missing font when rendering documents with GroupDocs.Viewer within your .NET applications. You can specify the default font name for a document. GroupDocs.Viewer uses this font during rendering instead of any not installed fonts. For example, if the document includes a font containing non-English characters, specify the default font name to ensure that GroupDocs.Viewer replaces any missing font with one which has the same character set. The following code snippet shows how to set the default font name: {{< tabs "replace-missing-font">}} {{< tab "C#" >}} ```csharp using GroupDocs.Viewer; using GroupDocs.Viewer.Options; // ... using (Viewer viewer = new Viewer("missing_font.pptx")) { // Create options for rendering HTML document with embedded resources HtmlViewOptions viewOptions = HtmlViewOptions.ForEmbeddedResources(); // Specify a default font name is the options viewOptions.DefaultFontName = "Courier New"; // Render input PPTX to output HTML viewer.View(viewOptions); } ``` {{< /tab >}} {{< tab "VB.NET">}} ```vb Imports GroupDocs.Viewer Imports GroupDocs.Viewer.Options ' ... Module Program Sub Main(args As String()) Using viewer As Viewer = New Viewer("missing_font.pptx") ' Create options for rendering HTML document with embedded resources Dim viewOptions As HtmlViewOptions = HtmlViewOptions.ForEmbeddedResources () ' Specify a default font name is the options viewOptions.DefaultFontName = "Courier New" ' Render input PPTX to output HTML viewer.View(viewOptions) End Using End Sub End Module ``` {{< /tab >}} {{< tab "missing_font.pptx" >}} {{< tab-text >}} `missing_font.pptx` is the sample file used in this example. Click [here](https://docs.groupdocs.com/viewer/net/_sample_files/developer-guide/rendering-documents/replace-missing-font/missing_font.pptx) to download it. {{< /tab-text >}} {{< /tab >}} {{< tab "replace-missing-font.zip" >}} ```text p_1.html (224 KB) p_2.html (226 KB) p_3.html (227 KB) ``` [Download full output](https://docs.groupdocs.com/viewer/net/_output_files/developer-guide/rendering-documents/replace-missing-font/ReplaceMissingFont/replace-missing-font.zip) {{< /tab >}} {{< /tabs >}}