We're EpicBrowser on Twitter and on Facebook. Email our Founder directly with questions as well: alok at hiddenreflex dot com
New Users: we've had to temporarily block new registrations due to spam. If you have a post or query, email it to Alok and he'll try to help you and or post it to the forum.

#1 2018-11-27 15:38:50


measureText (HTML5 canvas) not working

I've got this function in javascript that uses HTML5's canvas function measureText()

measureText: function(text) {
    this._ctx.font = '12px Arial';
    return this._ctx.measureText(text);

This should return a text metrics object works in all browsers except epic where
measureText is returning "false" which upsets the calling function.

Any clues?


Board footer