Reputation: 11
I am trying to make an image renderer using python and Pillow (9.4.0) in which I have to put Bengali characters in the image. I was using ImageFont to do that and was using layout_engine=ImageFont.LAYOUT_RAQM
and it worked fine in my computer (Zorin OS 16) but when I tried to deploy it on Railway it throwed error like
AttributeError: module 'PIL.ImageFont' has no attribute 'LAYOUT_RAQM'
How can I fix this? I know that if I get this error that means libraqm
is not installed on the server. But I have no access to install something on the server in Railway.
Are there any work-arrounds?
Actually whatever I tried was working in my pc but not working on railway.app
Upvotes: 1
Views: 168