Closed (won't fix)
Project:
Facelift Image Replacement Integration
Version:
6.x-1.2
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
2 Feb 2009 at 16:10 UTC
Updated:
28 Feb 2009 at 06:58 UTC
Great module !!!
But what about RTL languages ?
When producing the image I get the text spelled backwards (sdrawkcab).
I am building an Hebrew site and would love to use this feature.
How can this be done ?
Thanx
Comments
Comment #1
btopro commentedumm.. this module just takes text and kicks it back to whatever font it's told. I don't see why it couldn't handle RTL languages, nor do I know why things would be backwards unless there is a flir setting in the project (not the module) that does this.
Comment #2
tombigel commented@btopro: Handling of RTL languages strings is quite complicated. There is a full algorithm to handle the relations between words in mixed text strings, defines the way to store/convert the string, etc.
I didn't dig into this project to understand exactly how the image conversion is done, but usually when you stumble an RTL - LTR issue Reading a bit about the FriBidi project or just using it's single php function is the solution. http://il.php.net/manual/en/book.fribidi.php
Comment #3
btopro commentedrequires installation though. I'm chalking this one up to won't fix unless someone else wants to tackle it.