Browse our Products
Aspose.Font for Node.js via C++ 26.7 Release Notes
Improvements and Changes
Added new function AsposeFontGetGlyphNames
Public API and Backwards Incompatible Changes
Added APIs
```html
const AsposeFont = require('asposefontnodejs');
const font_file = "./fonts/Lora-Regular.ttf";
console.log("Aspose.Font for Node.js via C++ examples.");
AsposeFont().then(AsposeFontModule => {
const json = AsposeFontModule.AsposeFontGetGlyphNames(font_file);
console.log("AsposeFontGetGlyphNames => %O", json.errorCode == 0 ? "Glyph Names:" + json.glyphNames.join(";") : json.errorText);
},
reason => {console.log(`The unknown error has occurred: ${reason}`);}
);
```