Browse our Products
Aspose.Font for JavaScript via C++ 25.6 Release Notes
This page contains Release Notes for Aspose.Font for JavaScript via C++ 25.6
Aspose.Font for JavaScript via C++ is based on Aspose.Font for C++ 25.6 library.
Added support for converting fonts from Compact Font Format (CFF) to OpenType font format (OTF).
You can use method AsposeFontConvert to converting.
Example for single mode:
var fCFF2OTF = function (e) {
const file_reader = new FileReader();
file_reader.onload = (event) => {
const json = AsposeFontConvert(event.target.result, e.target.files[0].name, Module.FontType.CFF, Module.FontSavingFormats.OTF);
if (json.errorCode == 0) document.getElementById('output').textContent = json.fileNameResult;
else document.getElementById('output').textContent = json.errorText;
DownloadFile(json.fileNameResult);
}
file_reader.readAsArrayBuffer(e.target.files[0]);
}
Public API and Backwards Incompatible Changes
Added APIs
- Enumeration member Aspose.Font.FontSavingFormats.OTF