RTL

tsi - February 2, 2009 - 16:10
Project:Facelift Image Replacement Integration
Version:6.x-1.2
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:won't fix
Description

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

#1

btopro - February 4, 2009 - 21:21

umm.. 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.

#2

tombigel - February 6, 2009 - 12:12

@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

#3

btopro - February 28, 2009 - 06:58
Status:active» won't fix

requires installation though. I'm chalking this one up to won't fix unless someone else wants to tackle it.

 
 

Drupal is a registered trademark of Dries Buytaert.