# Load custom fonts Supply custom font directories via LoadOptions.FontDirectories so GroupDocs.Comparison for .NET can correctly render and compare documents that use non-standard or missing fonts. [GroupDocs.Comparison](https://products.groupdocs.com/comparison/net) allows you to compare documents that contains non-standard fonts. To connect custom fonts and compare documents, follow these steps: 1. Instantiate the [LoadOptions](https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/loadoptions) object. Specify a list of directories with custom fonts. 2. Instantiate the [Comparer](https://reference.groupdocs.com/comparison/net/groupdocs.comparison/comparer) object with source document path or stream and the [LoadOptions](https://reference.groupdocs.com/comparison/net/groupdocs.comparison.options/loadoptions) object created in the previous step. 3. Call the [Add](https://reference.groupdocs.com/comparison/net/groupdocs.comparison/comparer/methods/add/index) method. Specify the target document path or stream. 4. Call the [Comparer](https://reference.groupdocs.com/comparison/net/groupdocs.comparison/comparer) method. The following code snippet shows how to connect custom fonts and compare documents: {{< tabs "example1">}} {{< tab "C#" >}} ```csharp using GroupDocs.Comparison; using GroupDocs.Comparison.Options; // ... // Instantiate the LoadOptions object and create a list of custom font directories. LoadOptions loadOptions = new LoadOptions(); loadOptions.FontDirectories.Add("./fontPath/"); using (Comparer comparer = new Comparer("source.docx", loadOptions)) { comparer.Add("target.docx"); comparer.Compare("result.docx"); } ``` {{< /tab >}} {{< /tabs >}} ## See also - [Load password-protected documents]({{< ref "comparison/net/advanced-usage/loading/load-password-protected-documents.md" >}}) - [Specify file type manually]({{< ref "comparison/net/advanced-usage/loading/specify-file-type-manually.md" >}}) - [Compare documents]({{< ref "comparison/net/comparison-basic/compare-documents.md" >}})