Right to Left fonts validation

NimrodYonatanBenNes - May 25, 2009 - 18:56
Project:CAPTCHA
Version:6.x-2.x-dev
Component:Image Captcha (image_captcha)
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs review
Issue tags:hebrew, RTL
Description

Hey there,

I uploaded to the Captcha fonts folder an Hebrew ttf file, the module show the letters correctly and actually recognize them as it should, the only problem though is that the validation is being run from Left to Right instead of Right to Left.

So for example, if It's written 'חתול' at the image it expect me to write 'לותח' (if it was English it would expect me to type 'tac' for an image which display 'cat').

What can be done to fix this issue?

Thanks!

#1

soxofaan - May 26, 2009 - 09:01
Version:6.x-1.0-rc2» 6.x-2.x-dev
Category:bug report» feature request
Status:active» postponed

Interesting use case.

This should be possible to solve in a clean way when #473002: Provide a way to define custom CAPTCHA validation is fixed

#2

soxofaan - July 11, 2009 - 18:13
Status:postponed» needs review

does this patch fix it for you? I can't really test it because I don't speak right to left ;)

The patch makes the rendering of the code language direction dependent (using the current language direction of the current user), instead of doing the validation language direction dependent.

AttachmentSize
472450_rtl_support_01.patch 2.33 KB

#3

soxofaan - August 27, 2009 - 21:36

is there any interest in this issue/patch?
I can't really test this, as I am not very familiar with RTL support.

tagging and rerolling too

AttachmentSize
472450_rtl_support_02.patch 1.8 KB

#4

soxofaan - November 3, 2009 - 22:50

reroll

AttachmentSize
472450_rtl_support_03.patch 2.41 KB
 
 

Drupal is a registered trademark of Dries Buytaert.