bidi

Why is software support for Bidirectional text (Hebrew,Arabic) so poor?

While most operating systems and web browsers have very good support for bidirectional text such as Hebrew and Arabic, most commercial and open-source software does not: Most text editors, besides the original notepad and the visual studio editor, does a very poor job. (And I tried dozens of them). I could not find any file compare too...

Mix of Arabic and English causes problems in JTextArea (Java)

I have a JTextArea which displays HTML of an Arabic web page. So it's essentially a mix of English and Arabic. In the JTextArea, with columns set to 30, certain text just disappears instead of wrapping properly. The weird thing is that if I copy the invisible text and paste it into Notepad, then I can see it in Notepad. If I change the n...

YUI support of rtl languages

Does YUI support rtl languages? (rtl: right to left, such as hebrew or arabic). If so, how? I want to display a MenuBar where the different menu items start near the right margin and go to the left. ...

Current Text Direction (BiDi support) in Cocoa?

Hello! I recently received an Arabic translation for my app, but would like to do more than simply replace the strings. I can re-layout most of the NIBs with Interface builder, but there are a few things that I need to do programmatically. Is there some way in Cocoa to figure out if the current locale is a RightToLeft locale, or do I...

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 = Typeface.createFromAsset(getAssets(),"DejaVuSansCondensed.ttf"); mPaint.setTypeface(mFace); content = "يجري"; content = ArabicUtilities.reshape( content ); S...

What's the correct direction of a date embedded in arabic text?

The question is quiet simple: I've got an arabic text with an US formated Date in it. What is the correct display order of this date? Is it(for instance) 01/10/2009 or 2009/10/1? The bidi algorithm recognizes the numbers an slashes as neutral and orders them in the same direction like the surrounding text. So the date should be backward...

Reversing Strings in Right To Left (BiDirectional) Languages in C#

Hey, I'm using iTextSharp( C# iText port) to create pdfs from text/html. Most of my text is in Hebrew, a Right-To-Left language. My problem is that PDFs show RTL langauge in reverse, so I need to reverse my strings in a way that would only reverse the RTL text without reversing any numbers or text in English. It is my understanding th...

Displaying bidirectional multiline text from XML file in flash

I have been asked to add support to a xml based website. I have been looking into it and have realised that it is not going to be very straight forward. The text does have english phrases in when describing products being used. After doing some research I have found that CS3 does not 'support' rtl text. I also read that CS4 has added s...

Where exactly in the Android OS is text renderred?

Let me first state what I am trying to achieve: To create a patch for the Android OS to enable it to display Arabic/Hebrew correctly. Both of these languages are Right-to-Left (RTL) and their script involves connected letters/glyphs (unlike Latin alphabets which have discrete letters). Example: The Arabic word for "car" is: سيارة...

Bi-directional Browser Title (Hebrew and English characters in Title)

I have a aspx page who's title has both Hebrew and English characters in it, and the order of the words gets messed up. Is there a way to style the title so the words don't get messed up, or is it an OS problem? This is what the title should say: This is what the title actually looks like: ...