-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
RTL Direction issue #4496
Comments
same issue on Linux Ubuntu 16.04 |
|
okay I have installed the libraqm and ran the test on there it worked well now the problem I'm still getting this error pip3.6 install --upgrade Pillow Requirement already up-to-date: Pillow in /usr/local/lib/python3.6/dist-packages (7.0.0) |
I have installed libraqm in /usr/bin/lib/libraqm |
After installing libraqm, did you uninstall and then re-install Pillow? |
yea I have tried that too |
When you say that you 'ran the test on there', are you referring to a specific test, or do you just mean this code that you're trying to execute? I presume that the following code won't print from PIL import features
print(features.check_feature('raqm')) |
No that comes back with False I have ran the test on libraqm run/usr/lib/libraqm/tests/runtest.py |
If you're saying that raqm.h is at
|
so I did search for that file and I only found it in those locations is okay does that mean i should be changing this --global-option="-I/usr/bin/lib" to --global-option="-I/usr/local/include/" or --global-option="-I/usr/lib/libraqm/src/" |
I would try |
I have tried all three and ran the script again but still doesn't work I just keep getting this
|
is it possible that I have installed libraqm in the wrong location? I have installed it in /usr/lib/libraqm/ |
okay so I took a different approach by first scrapping ubuntu 16 and getting 18 then installing pip and all the other dependencies I needed including pillow then I cloned the Pilow repo and I first install all the packages needed I have noted it below ran the install raqm bash script in the depends folder
|
What did you do?
I'm trying to put an RTL(Right to left direction) text(Arabic) on an image
What did you expect to happen?
being able to set the direction of the text
What actually happened?
I got an error saying setting text direction, language or font features is not supported without libraqm
What are your OS, Python and Pillow versions?
The text was updated successfully, but these errors were encountered: