Non-embedded TextField to use browser rendering
Bug #982628 reported by
Philippe
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
jeash |
Triaged
|
High
|
Unassigned |
Bug Description
It would be very interesting to be able to render text as a simple DIV with regular text (and HTML) instead of canvas rendering. It can have a whole lot of benefits.
This would be linked to .embedFonts and you wouldn't be forced to embed this fairly heavy default font.
Likewise, being able to include a DIV and use browser CSS styling would bring interesting side effects to Jeash (not everything has to be rendered "manually" using canvas).
Changed in jeash: | |
status: | New → Triaged |
Changed in jeash: | |
importance: | Undecided → High |
To post a comment you must log in.
It's actually currently possible to do this already in the tip version, if you set htmltext, or if you set the textfield's type as an input field.
Unfortunately, the implementation for htmltext is still quite buggy, and though I was intending to implement textfield's exactly as you describe it above, I am still left wondering after Prezi's talk at wwx what the best default is for jeash, since their use case seems to be a viable avenue for developing with jeash, and I haven't seen anyone actually use textfields for anything other than displaying an fps counter (which you should not be doing in javascript anyway).