
**Summary:** Contains extension methods for the [Font](/psd/python-net/aspose.psd/font/) class.

**Module:** [aspose.psd.extensions](/psd/python-net/aspose.psd.extensions/)

**Full Name:** aspose.psd.extensions.FontExtensions

**Aspose.PSD Version:** 24.12.0

## **Methods**
| **Name** | **Description** |
| :- | :- |
| [to_gdi_font(font)](#to_gdi_font_font_1) |    |
| [to_gdi_font(font, font_unit)](#to_gdi_font_font_font_unit_2) |    |


### Method: to_gdi_font(font)  [static] {#to_gdi_font_font_1}


```
 to_gdi_font(font) 
```

  

**Parameters:**

| Parameter | Type | Description |
| :- | :- | :- |
| font | [Font](/psd/python-net/aspose.psd.xmp.types.complex.font/font) |  |

**Returns**

| Type | Description |
| :- | :- |
| System.Drawing.Font |  |


### Method: to_gdi_font(font, font_unit)  [static] {#to_gdi_font_font_font_unit_2}


```
 to_gdi_font(font, font_unit) 
```

  

**Parameters:**

| Parameter | Type | Description |
| :- | :- | :- |
| font | [Font](/psd/python-net/aspose.psd.xmp.types.complex.font/font) |  |
| font_unit | System.Drawing.GraphicsUnit |  |

**Returns**

| Type | Description |
| :- | :- |
| System.Drawing.Font |  |


