Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Arabic text #201

Open
Oah433 opened this issue Aug 26, 2017 · 1 comment
Open

Support for Arabic text #201

Oah433 opened this issue Aug 26, 2017 · 1 comment

Comments

@Oah433
Copy link

Oah433 commented Aug 26, 2017

When used to write in "Arabic" it is showing white spaces only. I checked for online solutions and people were talking about something like this (including additional library):

// init:
include('php-gd-farsi-master/FarsiGD.php');
$gd = new FarsiGD();

....
// then convert your text:
$tx = $gd->persianText($str, 'fa', 'normal');

How can we do the same in SimpleImage ?

@Brullworfel
Copy link

Brullworfel commented Jan 7, 2019

Firstly, you must use a font with support of Arabic. I use DejaVu as universal font for all languages. But I still have a problem: letters not connecting each other and showing separately and left-to-right (not right-to-left):

676

@claviska claviska changed the title support for Arabic support for Arabic text Aug 27, 2020
@claviska claviska changed the title support for Arabic text Support for Arabic text Aug 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants