Convert CFF to WOFF

CFF to WOFF Conversion functionality for Java. API to transform fonts.

 

CFF to WOFF 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 CFF 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).

CFF to WOFF 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.

  1. Open CFF font using Open() Method.
  2. Specify the WOFF output settings.
  3. Convert CFF to WOFF using SaveToFormat() Method and pass WOFF as FontSavingFormats .

Conversion Requirements

To proceed for CFF to WOFF conversion, Java Font API is the main requirement.

  1. Get Font API directly from a Aspose Maven Repository for Java based project and include libraries in your pom.xml.
  2. Alternatively, you can get a ZIP file from downloads .
  3. See the example of realisation of the mentioned functionality in cross-platform Aspose CFF to WOFF Converter . Go to our GitHub ter/java-examples) repository to get more code examples on how to work with Font API Solution for Java.
CFF to WOFF Conversion on Java
Input file
Upload a file you want to convert
Output format
Select the target format

        

CFF What is CFF File Format

Compact Font Format (CFF) is a compressed representation used inside OpenType (OTF) and Type 1 files. It stores glyph data efficiently and supports advanced hinting.

WOFF What is WOFF File Format

Web Open Font Format (WOFF) was introduced in 2009 for web use. It applies zlib compression, reducing file size by up to 40 % compared with raw TrueType or OpenType fonts, and can embed optional metadata.

Other Conversion Options

  

Support and Learning Resources