## FontFactory class


Contains functionality for opening fonts of different types and other methods for creating various objects.

```cpp
class FontFactory : public Aspose::Font::Licensing::IVentureLicenseTarget
```

## Methods

| Method | Description |
| --- | --- |
| [FontFactory](./fontfactory/)() | Constructor. |
| [Open](./open/)(System::SharedPtr\<Sources::FontDefinition\>) | Opens a font, using FontDefinition object. |
| [Open](./open/)(FontType, System::SharedPtr\<Sources::StreamSource\>) | Opens a font, using font type and stream source. |
| [Open](./open/)(FontType, System::String) | Opens a font, using font type and font file name. |
| [Open](./open/)(FontType, System::ArrayPtr\<uint8_t\>) | Opens a font, using font type and font data byte array. |
## See Also

* Class [IVentureLicenseTarget](../../aspose.font.licensing/iventurelicensetarget/)
* Namespace [Aspose::Font](../)
* Library [Aspose.Font for C++](../../)
