cordova-plugin-fonts 1.1.0
cordova-plugin-fonts release 1.1.0
The Adapt It Mobile team members maintain a general purpose plugin for the Apache Cordova framework called cordova-plugin-fonts. This plugin allows Adapt It Mobile to enumerate the fonts installed on the mobile device, so that they can be used for adaptation. We have just released an update to this plugin, available now to users via npm and through the Apache Cordova platform.
What’s new in this release
- Android - added support for OTF font files (previously, only TTF files were supported)
- Android - added support for UTF16BE encoded fonts (previously, only Mac encoded fonts were supported)
Bug fixes
Android
- Check for post-5.0 fonts location
- Fix resource leaks in getDefaultFont() and getFontList().
- Fix a thread safety issue in getFontList().
- Fix a possible overflow bug in getFontList()
iOS
- Return font name instead of font family in getDefaultFont()
For more information about cordova-plugin-fonts, including installation instructions for Apache Cordova-based mobile apps, please visit the cordova-plugin-fonts repository page on GitHub.