Convert WOFF to WOFF2
WOFF to WOFF Conversion functionality for C++. API to transform fonts.
While WOFF is the recommended format for web use due to its compression and metadata benefits, the need for broader compatibility with newer systems, specific software, or editing workflows often necessitates converting WOFF fonts to the improved 2nd version. Developers or font enthusiasts might also convert between font formats for experimentation, analysis of font structures, or for specific technical reasons related to font rendering or processing pipelines.
Aspose.Font for C++ is a flexible font processing and conversion into your C++ projects with our user-friendly Font API Solution. Effortlessly transform WOFF fonts to WOFF2, simplifying font management and ensuring consistent rendering across various output formats and devices.
We offer you С++ Api Solution that supports the next fonts as input formats: TrueType (TTF) and Web Open Font Format (WOFF and WOFF2).
WOFF to WOFF2 Conversion on C++
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 WOFF font using Open() Method.
- Specify the WOFF2 output settings.
- Convert WOFF to WOFF2 using SaveToFormat() Method and pass WOFF2 as FontSavingFormats .
Get Started with C++ Font API
- Install from command line as
nuget install Aspose.Font.Cppor via Package Manager Console of Visual Studio withInstall-Package Aspose.Font.Cpp. - Alternatively, get the offline MSI installer or DLLs in a ZIP file from downloads .
- See the example of realisation of the mentioned functionality in cross-platform Aspose WOFF to WOFF2 Converter . Go to our GitHub repository to get more code examples on how to work with Font API Solution for C++.
Other Conversion Options
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.
WOFF2 What is WOFF2 File Format
WOFF 2 is the successor to WOFF, using Brotli compression to achieve roughly 30 % additional size reduction. It is supported by all current browsers.
Support and Learning Resources
- Learning Resources
- Documentation
- Source Code
- API References
- Product Support
- Free Support
- Paid Support
- Blog
- Release Notes
- Why Aspose.Font for C++?
- Customers List
- Success Stories