How to draw RTL text (Arabic) onto a Bitmap and have it ordered properly?

I'm trying to draw Arabic text onto a Bitmap for display: Bitmap img = Bitmap.createBitmap( (int) f+100, 300, Config.RGB_565); Canvas c = new Canvas(); c.setBitmap( img ); mFace =...

Text align problem when using Arabic font

The screenshot below displays my problem. The first EditText shows a hint in Arabic which is shifted upwards, now the second EditText is just for reference which shows the English version...

Show Arabic on Android device

I am displaying Arabic text on Android with some font and arabic reshaper. It's not displaying well. Kindly guide me with Arabic text of whole Qur'an with settings of some font that can be...

How to install java/android package from github onto my android device?

I'm not an android developer and don't really know anything about it so forgive me if this is a silly question. Basically, I've come across an android package that is supposed to support the...

Last Harka is showing before the first character of the line in Arabic Reshaper on Android

I am using this Amazing Arabic Reshaper for my app on Android, Every thing works fine, but there is a little problem with it that it always shows last Harka (Harki) before the first character of...

Arabic number shows incorrect

I am working with Arabic Text. I use Arabic Reshaper, reshaper doesn't show normally numbers. can you help us about this problem I use this reshaper View v =...

Get all the strings in strings.xml

In my app, for localization I have a values-ar folder for arabic strings. The problem is that the arabic alphabet appears unconnected in phones which do not have Arabic language installed. I'm...

changing font not working, is there a need to use the reshaper always in arabic fonts?

I am trying to change my arabic font in android app and I downloaded several fonts but when I added the below code the arabic letters stayed the same as if the font did not change although I...

string convresion from input file

i'm new to python and i need some hand to work this code: this code works right, it converts strings as i need. # -*- coding: utf-8 -*- import sys import arabic_reshaper from bidi.algorithm import...

Android: Display Arabic text in TextView is not working on some devices

I have a problem in displaying arabic text in textview android. The arabic text is loaded from a sqlite file using cursor and I display it to textview. Here is my code in my custom cursor...

unicode characters error for list item button in kivy

I've created a list item button in kivy and use arabic reshaper for writing persian for each button text but when i click buttons in list App return error and break while it should change the...

Arabic language words wrong displaying: left to right

i'm trying to display an arabic text (Right to Left) in my app, but i get words displayed left to right in lines. I'm using an arabic supporting font and arabic reshaper lib. The text is loaded...

"Invalid configuration" error when using python-arabic-reshaper package with Pyinstaler

I am trying to use PyInstaller to put an exe wrapper around a Python 2.7 script that imports Python package python-arabic-reshaper, the script works fine when running by itself, but ends in the...

Arabic Font issue .Gap appearing in between letters

I am using dubai.ttf font for my app The font is of for web but in the app there is space between the letters. I have tried Arab...

Using Custom font in kivy

I'm trying to create a simple kivy software and I need to use custom Arabic font for button.text. I've included the custom font in the file and tried but that is how it looks like: I am not sure...

use arabic-reshaperin and bidi for convert a text in py (convert from file)

i need to use reshaperin And bidi in python for convert some arabic Text my question is how can i use arabic-reshaper for convert text inside of a txt file and save converted text in other txt...

Android APP using Arabic Reshaper/KIVY crashes

I have been experimenting with KIVY + Arabic text using Reshaper library Has anybody succeeded in deploying APK to Android? I could run the APP on Linux/Pycharm setup Flawlessly, but when I...

ImportError: Couldn't import Django after running " heroku python manage.py migrate" in CMD

I have a following error after running " heroku python manage.py migrate " in CMD. C:\Users\ky2001\Desktop\my_app>heroku run python manage.py migrate Running python3 manage.py migrate on ⬢...

Kivy app build successfully using buildozer but crashes when opened on android phone

I'm building an app using kivy and it works perfectly on my Linux laptop. I build the app for android using buildozer and the log does not show any errors. When it was complete, the apk file is...

Printing arabic - Lines are in reverse order when a paragraph is rendered in a block with multiple lines after using bid

Okay first, My data's source is google sheets, a simple table with rows (ID, Confession and Age) I use google sheets api to connect the data to my python script using gspread and google...

What is the correct way to put Python version and requirements in buildozer spec file?

This is really confusing when using buildozer to build Kivy apps for Android or iOS. The right way to put the dependencies and requirements in the buildozer spec file is not provided in the...

Requirements.txt dependencies not being deployed with code on azure web app

I've been developing a Django site and have been testing it on a basic tier azure web app, and now its almost finished I've started a production instance, but I've had no luck deploying to it. I'm...