Closed mohindra9211 closed 8 months ago
Hi @mohindra9211
Thank you for this report.
I'm really not an expert with the text-shaping feature. Maybe @andersonhc or @gmischler could have some answers for you 🙂
Hello @Lucas-C,
I wanted to let you know that I've resolved my text shaping issue by updating to version 2.7.8 of fpdf2. I appreciate your response and for providing such a good and reliable library.
Thank you!
Result
Great! I'm glad you could solve your issue @mohindra9211 🙂 Closing this issue now
When generating a PDF file using FPDF2 with Hindi fonts, I encountered difficulties in directly incorporating the text. To address this, I applied a text shaping function, which successfully converted the text into Hindi. However, the resulting paragraph did not retain its original format; some text overflowed into the next paragraph and justification was compromised. For further details and a visual representation, please refer to the attached file where I describe three scenarios.
Code
Result
Environment Please provide the following information:
python --version 2.7.6