Page 1 of 1

Web Standalone - Using Google/Custom Fonts

Posted: Tue Mar 11, 2025 4:18 pm
by JereMiami
I have waved the white flag on getting the signature widget to work on mobile. On mobile browsers, it leaves a dot smilar to a touchStart, but does not follow the finger when it moves, similar to a touchMove. But I'll ask if anyone knows what the input is for the signature widget in a web standalone (eg., touchstart, touchMove, touchEnd or mouseUp, mouseMove, or MouseUp, drag)? I ask because it looks like it wants to work by having a dot on the initial touch. I prevented the browser from scrolling, but it still does not recognize movement of the finger.

viewtopic.php?f=8&t=39618

Anyways, instead of using the signature widget, is it possible to load a Google or Custom font like "Dancing Script" to simulate a signature in a web standalone? If so, how?

I tried do as "javascript" with:

Code: Select all

WebFontConfig = {
    google: {
        families: ['Roboto:300,400,700']
    }
};

(function(d) {
    var wf = d.createElement('script'), s = d.scripts[0];
    wf.src = 'https://ajax.googleapis.com/ajax/libs/webfont/1.6.26/webfont.js';
    wf.async = true;
    s.parentNode.insertBefore(wf, s);
})(document);