PDF rendering issues with multilingual text across different languages in a PDF generation library like pdf-lib
I am generating PDFs in my project using libraries such as @react-pdf/renderer
and pdf-lib,
and I am encountering significant challenges with font compatibility for multilingual text. In my use case, parts of the PDF may contain content in language A (e.g., Korean), while other parts are in language B (e.g., English). I have attempted to use fonts like Helvetica, Roboto, and Noto, but certain characters from various languages or scripts either fail to render or result in inaccurate glyphs.