3 ms·
in firefox 36, i get: TypeError: can't convert undefined to object @ 122:14
by 4uifnf4r 12y ago
in firefox 36, i get: TypeError: can't convert undefined to object @ 122:14
- humanarity 12y agoOk, thanks for letting me know this!
- humanarity 12y agoI found the error (moz stlylesheet object has cssRules not rules) and made it work. Also made the custom styling of input work in Firefox now. Thanks for pointing this out! Hope you can see it now.
- 4uifnf4r 12y agoawesome, it works and looks good. i love gnu unifont too and made a renderer[1], using a big spritesheet[2] rather than a proper font file. using an image seems like a good way to load unifont in terms of bandwidth, but of course the downside is losing the ability to treat it as real text. [1] try typing into http://bon.gs/pxt/test.html http://bon.gs/pxt/test.html (i haven't marked all the half-width chars yet so the spacing is off for a bunch) [2] http://i.imgur.com/kiVf8Hm.png http://i.imgur.com/kiVf8Hm.png
- humanarity 12y agoAH! That's cool. You made a font renderer using an image. An interesting idea. I could use that to maybe reduce the download time, as the font is 3mb and your image of plane 0 is 850k. If all of plane 0 can fit in an 850k png, maybe it would be possible to do a custom compressed format for Unifont (that could still be scaled and colored), that beat out the WOFF file's 3mb. Thanks for sharing that!