How can I use OpenSans-Regular & OpenSans-SemiBold fonts in java aspose pdf, without importing its .ttf file externally.
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");