You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For many projects using dynamic fonts (loaded at runtime) is essential. Not embedding fonts inside SWF or bundle with manifest.
For graphics and text editors for example (where user can choose and add your own font) for now there is no way to use TextField and StageText with external fonts files (OTF/TTF/TTC etc) that could be loaded and applied dynamically at runtime.
AIR should support loading and applying fonts and runtime via file/url path to font, font ByteArray data or something like that.
This essential for Enterprise solutions.
This is an interesting idea; in terms of TextField, when this uses embedded fonts it uses something that has been processed by the AS3 compiler where the font data is translated into SWF 'shape' objects.. whereas the embedded fonts used by TextBlock/Flash Text Engine code are 'CFF' and just include the truetype font data directly. (See the SWF file spec if you're really interested!)
So, trying to render embedded fonts in a TextField that are provided at runtime as binary files would require us to do the necessary processing and could be problematic ... but I'm wondering whether we could instead basically use these in device text mode i.e. non-embedded, giving the font file to the OS and getting the platform to render the text for us.
So, this might be feasible in some sort of form.. thanks for the suggestion!
but I'm wondering whether we could instead basically use these in device text mode i.e. non-embedded, giving the font file to the OS and getting the platform to render the text for us.
@ajwfrost this might also be a good solution for issue #1143
Feature Description
For many projects using dynamic fonts (loaded at runtime) is essential. Not embedding fonts inside SWF or bundle with manifest.
For graphics and text editors for example (where user can choose and add your own font) for now there is no way to use
TextField
andStageText
with external fonts files (OTF/TTF/TTC etc) that could be loaded and applied dynamically at runtime.AIR should support loading and applying fonts and runtime via file/url path to font, font ByteArray data or something like that.
This essential for Enterprise solutions.
Related issue: https://tracker.adobe.com/#/view/AIR-3829000
Known Workarounds
none
The text was updated successfully, but these errors were encountered: