Skip to content
This repository was archived by the owner on Nov 13, 2021. It is now read-only.
This repository was archived by the owner on Nov 13, 2021. It is now read-only.

Arabic characters are not connected  #329

@HishamRamadan

Description

@HishamRamadan

Hello,
First of all, thanks so much for the great library, it's awesome!

Currently I am using this font (https://fonts.google.com/specimen/Tajawal?selection.family=Tajawal). I downloaded the ".ttf" file, and use it as follows:

pdf.RTL()
pdf.AddUTF8Font("tajawal", "", "Tajawal-Regular.ttf")

The result is: ب س م ا ل ل ه ا ل ر ح م ن ا ل رح ي م
While it should be: بسم الله الرحمن الرحيم

Is there anything else I can do to be able to generate Arabic text? By the way, the Arabic text in the test-case ExampleFpdf_AddUTF8Font are generated in the same way (not connected), and I also tried different fonts, all lead to the same result.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions