---
title: "CustomFontRegistry.AddFontAlias Method "
canonical: https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_Drawing_CustomFontRegistry_AddFontAlias_2_f3570541.htm
product: "Graphics Mill"
---

# CustomFontRegistry.AddFontAlias Method 
 
Adds an extra postscript-name-like lookup key to an already-registered font.
 
**Namespace:** [Aurigma.GraphicsMill.Drawing](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Drawing.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```csharp
public bool AddFontAlias(string postscriptName,string alias
)
```
 
### Parameters
 
 - postscriptName
     - Type: System.String
The postscript name of an already-registered font.

 - alias
     - Type: System.String
The alias to register for that font.
 
### Return Value
 `true` if the alias was added; `false` if postscriptName does not resolve to any registered font.
 
## Exceptions
  
|  Exception |  Condition |
| --- | --- |
 |  [Aurigma.GraphicsMill.DuplicateFontAliasException](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_DuplicateFontAliasException.htm.md) |  alias already resolves to a different registered font. |
   
## See Also

### Reference

- [CustomFontRegistry Class](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Drawing_CustomFontRegistry.htm.md)
- [Aurigma.GraphicsMill.Drawing Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Drawing.htm.md)
