On Feb 2, 2008, at 3:09 PM, Eric Seidel wrote:

That sounds like one vote for renaming that file. "BidirectionalTextLayout.cpp" :)

Or maybe BidirectionalWordSorting or similar. Mitz and Hyatt are two of very few to ever have hacked on that file.

"bidi" is a pretty common term of art. Also, the code in the file does more than just bidi handling, so LineLayout.cpp as Hyatt suggested may be the best name. I don't think "BidirectionalWordSorting" would be right - bidi applies at boundaries between right-to-left and left-to- right text, which are not directly related to word boundaries.

Regards,
Maciej



-eric

On Sat, Feb 2, 2008 at 1:02 AM, Cameron McCormack <[EMAIL PROTECTED]> wrote:
Hi Bin.

Bin Chen:
> I am reading the source code of webkit right now, I find a file name
> like bidi, I can't know the exact meaning, can you tell me whats this
> stand for?

"Bidi" is an abbreviation for "bidirectional text", and refers to blocks
of text that use both left-to-right and right-to-left scripts (e.g. a
paragraph with English text that also includes some Arabic text). See:

 http://en.wikipedia.org/wiki/Bi-directional_text

--
Cameron McCormack, http://mcc.id.au/
xmpp:[EMAIL PROTECTED] ▪ ICQ 26955922 ▪ MSN [EMAIL PROTECTED]
_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-dev

_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-dev

_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-dev

Reply via email to