Open jeromesimeon opened 3 years ago
Adding lots of character-sets can really bloat the module. We should solve this in a way that allows users to choose their own character-sets, if the default are not-sufficient.
Adding lots of character-sets can really bloat the module. We should solve this in a way that allows users to choose their own character-sets, if the default are not-sufficient.
Agreed. I am still looking at font support in pdfmake and pdfkit and how it's been setup in the markdown transform service and API. Maybe we need to do nothing and it's already in place, but I'll leave this open a little longer until I can figure out how to set up fonts.
hey @mttrbrts @jeromesimeon can you briefly explain what the problem is here?
could you assign this issue to me @mttrbrts @jeromesimeon
Discussion 🗣
The transformation stack seems to handle unicode quite well, but in the pdf generation case not all character sets are handled.
Detailed Description
For the following markdown file:
The transforms seem to mostly work. For instance here is the HTML version:
document.txt
which looks like this in Chrome:
But the corresponding pdf lacks some of the character sets
document.pdf