diegomura / react-pdf

📄 Create PDF files using React
https://react-pdf.org
MIT License
15.03k stars 1.19k forks source link

Arabic Font: Some OpenType features are not applied correctly #2424

Open TheMikeyRoss opened 1 year ago

TheMikeyRoss commented 1 year ago

Describe the bug There's a an extra spacing between certain glyphs when using the font a font like IBM Plex Sans Arabic or Cairo

image font: IBM Plex Sans Arabic

image font: Cairo

To Reproduce a repl of the issue

Expected behavior The glyphs should be connected normally like this image

I mistakenly thought the issue was with IBM Plex Sans Arabic and I created an issue here but I verified that the same issue happens with many Arabic fonts and it's most likely an issue in @react-pdf/renderer

ywsada commented 10 months ago

Experiencing the same issue here