invoiceninja/public/js/vfs_fonts.js
David Bomba e792e66aaa merge
2016-01-09 11:13:23 +11:00

9 lines
309 B
JavaScript

window.pdfMake = window.pdfMake || {}; window.pdfMake.vfs = {};
if(window.ninjaFontVfs)ninjaLoadFontVfs();
function ninjaLoadFontVfs(){
jQuery.each(window.ninjaFontVfs, function(font, files){
jQuery.each(files, function(filename, file){
window.pdfMake.vfs[font+'/'+filename] = file;
});
})
}