Reputation: 300
I come across one issue after I customized font in pdfMake. I already customized the font. I generated new vfs_fonts.js that contains Roboto and simfang (chinese font). The problem is the file is about 15MB and the system loads very slow for the first time because it takes much time loading that font (as I check in network tab). I have to wait for long (on production). Does anybody have solution for this ?
Upvotes: 2
Views: 1125
Reputation: 1
One way is to generate font packages dynamically.Only put the needed word in it.But this method still not good.I'm also looking for the better method...
Upvotes: 0