Working with Type1 Fonts | Java
Type 1 font format, also known as PostScript Type 1, is one of the earliest scalable font formats. It was developed by Adobe Systems and was widely used in the printing industry.
This font format was really popular in the past but has been largely replaced by the more functional OpenType format, yet some systems and printing workflows still stick to using these fonts. Type 1 has the next characteristics like font metrics, font hinting, outline definitions, and multiple master fonts.
Aspose.Font API Solution lets you work with Type1 fonts in your Java applications. It allows you:
- Load Type1 font files, extract data from these fonts, and save them back. The basic font loading functionality is provided by Aspose.Font for Java is fully described in How to load fonts.
- Work with Glyphs and Metrics of Type1 fonts.
- Render text using custom interfaces.
- Convert CFF fonts to another font format. By now, Aspose.Font can only use Type1 fonts as an input format, but not an output one.
- Font classes for supported font formats will teach you the basic functionality and classes, methods, interfaces, and other entities to cover this functionality.
The functionality for working with Type 1 fonts within Aspose.Font API for Java is covered with the classes of the root com.aspose.font package. They are Type1Encoding, Type1Font, Type1FontMetrics, and Type1MetricFont.