---
title: "FileSystemSource.IFontSource.GetFont Method "
canonical: https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_Templates_FileSystemSource_Aurigma_GraphicsMill_Templates_IFontSource_GetFont_2_f3570541.htm
product: "Graphics Mill"
---

# FileSystemSource.IFontSource.GetFont Method 
 
Gets a font from the file system source.
 
**Namespace:** [Aurigma.GraphicsMill.Templates](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Templates.htm.md)
 **Assembly:** Aurigma.GraphicsMill.Templates (in Aurigma.GraphicsMill.Templates.dll)
 
## Syntax
  
```csharp
                string IFontSource.GetFontGetFont(string fontName,string cachePath
)
```
 
### Parameters
 
 - fontName
     - Type: System.String
The name of the font.

 - cachePath
     - Type: System.String
 
### Return Value
The font data as a byte array.
 
### Implements
 
[IFontSource.GetFont(String, String)](https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_Templates_IFontSource_GetFont_2_f3570541.htm.md)
   
## See Also

### Reference

- [FileSystemSource Class](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Templates_FileSystemSource.htm.md)
- [Aurigma.GraphicsMill.Templates Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Templates.htm.md)
