/**
 *
 * Licensed under the MIT License.
 * http://opensource.org/licenses/mit-license
 */
(function (jsPDFAPI) {
    "use strict";

    jsPDFAPI.events.push([ 
    	'addFont'
    	,function(font) {
            if (jsPDFAPI.existsFileInVFS(font.postScriptName)) {
                font.metadata = TTFFont.open(font.postScriptName, font.fontName, jsPDFAPI.getFileFromVFS(font.postScriptName), font.encoding);
                font.metadata.Unicode = font.metadata.Unicode || {encoding: {}, kerning: {}, widths: []};
            }
    	}
    ]) // end of adding event handler
})(jsPDF.API);
@@ -109,16 +109,24 @@
 jsPDFAPI
+, global
 ) %7B%0D%0A   
@@ -310,16 +310,23 @@
 adata = 
+global.
 TTFFont.
@@ -553,67 +553,422 @@
    %7D
-%0D%0A    %09%7D%0D%0A    %5D) // end of adding event handler%0D%0A%7D)(jsPDF.API);
+ else if (font.id.slice(1) %3E= 14) %7B%0D%0A                console.error(%22Font does not exist in FileInVFS, import fonts or remove declaration doc.addFont('%22 + font.postScriptName + %22').%22);%0D%0A            %7D%0D%0A    %09%7D%0D%0A    %5D) // end of adding event handler%0D%0A%7D)(jsPDF.API, typeof self !== %22undefined%22 && self %7C%7C typeof global !== %22undefined%22 && global %7C%7C typeof window !== %22undefined%22 && window %7C%7C (Function (%22return this%22))());%0D%0A

Update ttfsupport.js