Hi, 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? Thanks. Bin
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:heycam@jabber.org ▪ ICQ 26955922 ▪ MSN cam@mcc.id.au
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. -eric On Sat, Feb 2, 2008 at 1:02 AM, Cameron McCormack <cam@mcc.id.au> 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:heycam@jabber.org ▪ ICQ 26955922 ▪ MSN cam@mcc.id.au _______________________________________________ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo/webkit-dev
On Feb 3, 2008 7:09 AM, Eric Seidel <eric@webkit.org> 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. A good file name is better than a document file.
-eric
On Sat, Feb 2, 2008 at 1:02 AM, Cameron McCormack <cam@mcc.id.au> 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:heycam@jabber.org ▪ ICQ 26955922 ▪ MSN cam@mcc.id.au
_______________________________________________ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo/webkit-dev
_______________________________________________ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo/webkit-dev
I'd vote for LineLayout.cpp. dave On Feb 2, 2008, at 5: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.
-eric
On Sat, Feb 2, 2008 at 1:02 AM, Cameron McCormack <cam@mcc.id.au> 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:heycam@jabber.org ▪ ICQ 26955922 ▪ MSN cam@mcc.id.au _______________________________________________ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo/webkit-dev
_______________________________________________ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo/webkit-dev
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 <cam@mcc.id.au> 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:heycam@jabber.org ▪ ICQ 26955922 ▪ MSN cam@mcc.id.au _______________________________________________ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo/webkit-dev
_______________________________________________ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo/webkit-dev
participants (5)
-
Bin Chen
-
Cameron McCormack
-
David Hyatt
-
Eric Seidel
-
Maciej Stachowiak