- Affected App
- WoltLab Suite Gallery
i have upgraded gallery into 2.1.0 but i was surprised when i use arabic text as watermark.
I just get sympols!!!
i have upgraded gallery into 2.1.0 but i was surprised when i use arabic text as watermark.
I just get sympols!!!
how that will help?!
I just thought this might help if you install it to your forum, then your language is supported but I already saw that you helped by the translation so never mind....
It's because the font SourceSansPro does not support arabic characters. You may replace the file gallery/fonts/SourceSansPro.otf with a font that supports arabic characters.
I just thought this might help if you install it to your forum, then your language is supported but I already saw that you helped by the translation so never mind....
Thank you anyway..
It's because the font SourceSansPro does not support arab characters.
So, what do you think?
See my edit.
You may replace the file gallery/fonts/SourceSansPro.otf with a font that supports arabic characters.
Oh, I will check that.
This might help: http://photoshop.cc/free-arabic-fonts
This might help: http://photoshop.cc/free-arabic-fonts
That is nice. Thank you very much for help
This is what happened after i have replaced the file..
Letters appear but... as separate letters and from left to right?!
Letters appear
Better than before
as separate letters
This might be a font issue or a problem with ltr.
from left to right
This is a little bit complicated. In order to make this work properly, you may use ar-php and include it. In wcf/lib/system/image/adapter, you'll find the adapters, which are used. They include a method drawText() which needs to be extended:
I did not test it, but a few years ago, i had a similar issue.
Just download it, put the class (Arabic/ and Arabic.php) in wcf/lib/system/api/i18nArabic/ and include where you need it.
I'll try to check another font and put the results here.
It's because the font SourceSansPro does not support arabic characters.
Could you consider this file to support Arabic characters?
php 5 GD doesn't support UTF-8 characters.
php6 will support.
Don’t have an account yet? Register yourself now and be a part of our community!