UNPKG

pdfmake

Version:

Client/server side PDF printing in pure JavaScript

17 lines (16 loc) • 520 B
"use strict"; var fontContainer = { standardFonts: [require('pdfkit/standard-fonts/Symbol')], fonts: { Symbol: { normal: 'Symbol' } } }; var _global = typeof window === 'object' ? window : typeof global === 'object' ? global : typeof self === 'object' ? self : void 0; if (typeof _global.pdfMake !== 'undefined' && typeof _global.pdfMake.addFontContainer !== 'undefined') { _global.pdfMake.addFontContainer(fontContainer); } if (typeof module !== 'undefined') { module.exports = fontContainer; }