Font format converter API for Java. Convert WOFF2, TTF, EOT, and CFF fonts.
Java font API can easily load, save and convert different fonts such as CFF, OpenType, Type1, and TrueType collections. It provides font data structure along with any glyph as well as encoding information for all the font types representing a mapping between character codes and glyph identifiers. API can render any desired glyph or text, as well as special glyphs, which can be rendered by implementing interfaces using simple graphics functionality like move point, draw line, and curve, etc.
Due to the diverse nature of gadgets, environments, a few operational systems, and many other areas to use different font formats to serve different purposes such as using different fonts on web pages, applications, and publishing. Sometimes there is a need to transform one font into another to meet the required display.
We offer you Java Api Solution thatsupports the next fonts as input formats: TrueType (TTF), Web Open Font Format (WOFF and WOFF2), Embedded OpenType format (EOT), Type 1, and Compact Font Format (CFF).
TrueType Font to Web Open Font Format version 2.0 Conversion.
API supports different fonts for reading and writing, here is the list for reading and writing. For considering TTF to WOFF2 conversion, the process is to load a font from any of the supported formats, TrueType Font for the current scenario. Use the SaveToFormat() Method of Font class having two parameters output stream and FontSavingFormats Enumeration for selecting the output font format.
Finally, call the SaveToFormat() to save fonts into any of the output formats supported, currently Web Open Font Format version 2.0 WOFF2 format.
Go to the Documentation to get all the needed information to start working with the solution, like the Tutorials for the main features or the set of articles to teach you about font, Release Notes, Developer Guide, and other useful things.
1. Can I convert fonts with this API solution?
Aspose.Font has functionality that allows you to convert fonts to other formats online or programmatically. If you need to transform font files instantly online you may like to use Font Converter cross-platform application.
2. What font formats are supported by This functionality?
The API supports TTF, WOFF, WOFF2, EOT, Type 1, and CFF as input and TTF, WOFF, and WOFF2 as output formats
3. Is the functionality free?
The cross-platform converters are free, when for the API solution you can get a free Trial and then buy the product if needed.