Is PDFMakes's vs_fonts.js file available via Datatables' CDN path-based call?

Is PDFMakes's vs_fonts.js file available via Datatables' CDN path-based call?

MattSnowOregonMattSnowOregon Posts: 3Questions: 2Answers: 0

In the Download tool, PDFMake calls are now separate files, like this:

https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.36/pdfmake.min.js

However, PDFMake can still be downloaded via the combined, path-based call (along with other extensions/plugins) like this:

https://cdn.datatables.net/v/bs/pdfmake-0.1.36/datatables.min.js

My question is: Is there a parameter/path for PDFMake's vs_fonts.js file (e.g. https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.36/vfs_fonts.js) that I can add to the exiting call?

Something like this is what I was hoping for:

https://cdn.datatables.net/v/bs/pdfmake-0.1.36/pdfmake_vs_fonts-0.1.36/datatables.min.js

I would obviously have other frameworks in the call, too such as buttons, dt, etc.

If it's not available, could it be made available? it really helps to have the combined JS so there are fewer files to maintain.

Thanks in advance!

Matt

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,213Questions: 1Answers: 10,415 Site admin
    Answer ✓

    Hi Matt,

    I’m afraid it isn’t available. The file is really large, and it was taking more bandwidth than I would like. We already burn 40TB bandwidth a month providing the CDN for free, and I’m afraid that the 1MB+ combined pdfmake files being hosted by us was just too much.

    Allan

  • MattSnowOregonMattSnowOregon Posts: 3Questions: 2Answers: 0

    Makes total sense. I make calls like that all the time.

    I can grab it from https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.68/vfs_fonts.min.js

    Thank you for all you do!
    Matt

This discussion has been closed.