How to render text with Lime on html5?

#1

It seems Font.renderGlyph() is not implemented for html5 target.

0 Likes

#2

Sorry this is not implemented outside of native platforms!

I think it should be possible to wire this up fairly easily using canvas:

https://www.w3schools.com/graphics/canvas_text.asp

Embedded fonts are included on HTML5 builds using the name of the font (not the file name – the actual name) as the name in CSS, like “Arial Regular”

0 Likes