Convert WOFF2 to TTF | C++

[ ]

This page is aimed to show how to convert fonts from Web Open Font Format 2 to True Type font using the Aspose.Font for C++.

Set the following namespaces at the head of the file:

How to convert the font into the desired format? chapter will let you know about the Aspose conversion fundamentals.

To convert WOFF2 to TTF make the next actions:

  1. Open Woff2 font.
  2. Specify the output setting.
  3. Use SaveToFormat() method of the base abstract Font class instance to transform font and save results.
C++ code example WOFF2 to TTF conversion
Input file
Upload a file you want to convert
Output format
Select the target format