I'm working in a company which uses jsPDF for frontend pdf generation. We want show emojis in the generated pdf file but as you know jsPDF doesn't support unicode.
During investigations I read that you can show emojis if you use a custom font with emoji characters.
So I downloaded the official emojione-color ttf file and tried if unicode emojis will be shown.
Badly I realized that jsPDF can't handle it, by the way the most new custom fonts I added won't be shown too (at least the most basic characters).
My questions:
Why most of the custom fonts I want to add won't be shown
Can you explain how I can show emojis in a generated pdf (I just know the font based method)
I think the jsPDF libary has some bugs regarding custom fonts isn't it?
question from:
https://stackoverflow.com/questions/65951085/not-sure-if-im-doing-something-wrong-but-i-cant-display-emojis-inside-the-pdf 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…