Announcement

Epic for iOS and Android are live in the App Store and the Android Play Store. We're EpicBrowser on Twitter and on Facebook. Please feel free to also email our Founder directly with issues or questions: alok at hiddenreflex dot com

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

EwanHussami
Guest

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?

Offline

Board footer