Convert TYPE1 to WOFF2
TYPE1 to WOFF2 Conversion functionality for Java. API to transform fonts.
TYPE1 to WOFF2 conversion within Java-based applications with just a few lines of code. Font API Solution for С++ is really easy to integrate into your product. This Java API 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. So sometimes you may face a need to transform TYPE1 font into another one of a different format to meet the required display.
We offer you Java Api Solution that supports the next fonts as input formats: TrueType (TTF) and Web Open Font Format (WOFF and WOFF2).
TYPE1 to WOFF2 Conversion on Java
To learn more about all that you need to work with the API and the basic information about fonts that will help you code them go to Documentation and choose the language you code in.
- Open TYPE1 font using Open() Method.
- Specify the WOFF2 output settings.
- Convert TYPE1 to WOFF2 using SaveToFormat() Method and pass WOFF2 as FontSavingFormats .
Conversion Requirements
To proceed for TYPE1 to WOFF2 conversion, Java Font API is the main requirement.
- Get Font API directly from a Aspose Maven Repository for Java based project and include libraries in your pom.xml.
- Alternatively, you can get a ZIP file from downloads .
- See the example of realisation of the mentioned functionality in cross-platform Aspose TYPE1 to WOFF2 Converter . Go to our GitHub repository to get more code examples on how to work with Font API Solution for Java.
FAQ
1. Can I convert TYPE1 to WOFF2?
Aspose.Font solution has functionality that allows you to convert fonts to other formats online or programmatically. If you need to transform TYPE1 to WOFF2 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.
TYPE1 What is TYPE1 File Format
Type 1 format came to market along with the PostScript programming language in 1984 so the format is also called Postscript Type 1. It is a special form of the program Postscript and the file format, which is oriented toward describing the font. Type 1 format is recognized by printers and computers either by built-in interpreters or by additional utilities like Adobe Type Manager. The fonts do not support Unicode coding standards.
WOFF2 What is WOFF2 File Format
Web Open Font Format 2 or WOFF2 is the next version of WOFF format with better compression. To be precise it gives a 30% advantage in compression over WOFF format. It uses the byte-level compression algorithm Brotli, which is a library for data compression with the open-source. It is used to speed up the loading of web pages. As WOFF format, WOFF2 is also supported by most browsers.
Other Conversion Options
Support and Learning Resources
- Learning Resources
- Documentation
- Source Code
- API References
- Product Support
- Free Support
- Paid Support
- Blog
- Release Notes
- Why Aspose.Font for Java?
- Customers List
- Success Stories