JAVA: how to import OpenSans-Regular & OpenSans-SemiBold font in aspose pdf

How can I use OpenSans-Regular & OpenSans-SemiBold fonts in java aspose pdf, without importing its .ttf file externally.

@rabinintig

In such case, you need to make sure that the font is installed in the system. Then you can use it using FindFont() method of FontRepository Class like following:

Font font = FontRepository.findFont("FontName");