OpenTypeBuilder

OpenTypeBuilder

Overview

OpenTypeBuilder is a class in Aspose.Pdf FOSS for Java.

Builds a synthetic CFF-flavored OpenType ({@code .otf}) file in memory from a parsed CFF font + a PDF /Encoding + PDF /Widths.

Methods

SignatureDescription
build(in: Inputs)byte[]Wraps a CFF font into an OTF and returns the bytes ready for
{@link java.awt.Font#createFont}.

See Also