
## FileFontSource(filePath) {#string}

Ctor.


```js
FileFontSource(filePath: string)
```

| Parameter | Type | Description |
| --- | --- | --- |
| filePath | string | Path to font file. |

## FileFontSource(filePath, priority) {#string_number}

Ctor.


```js
FileFontSource(filePath: string, priority: number)
```

| Parameter | Type | Description |
| --- | --- | --- |
| filePath | string | Path to font file. |
| priority | number | Font source priority. See the [FontSourceBase.priority](../../fontsourcebase/priority/) property description for more information. |

## FileFontSource(filePath, priority, cacheKey) {#string_number_string}

Ctor.


```js
FileFontSource(filePath: string, priority: number, cacheKey: string)
```

| Parameter | Type | Description |
| --- | --- | --- |
| filePath | string | Path to font file. |
| priority | number | Font source priority. See the [FontSourceBase.priority](../../fontsourcebase/priority/) property description for more information. |
| cacheKey | string | The key of this source in the cache. See [FileFontSource.cacheKey](../cacheKey/) property description for more information. |

## See Also

* module [Aspose.Words.Fonts](../../)
* class [FileFontSource](../)

