Closed romeJG closed 2 months ago
I don't think this library modifies the text, so this may be more related to the character set used in your react-pdf document. LMK if you figure out the cause!
thanks! I'll get back here if I figure it out.
Registering the font that supports these kinds of special characters needs to be imported, so that react PDF will render it correctly.
ref: React PDF: Fonts
In my code it does not display the "₱" sign correctly it just shows "±" even for other special characters such as "Ω"(Omega), " α"(Alpha)
code is:
output: ± ⓒ ±
Even when I use a HTML code like
α
still it will render as±