[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Hebrew Lynx: How much Hebrew and how much Lynx ?
I reply on the list, since I believe it might interest anyone who thinks
of starting hebrew support on anything.
> Hm. It looks to me that actually you need to reverse the string right
> before it is drawn to the display, because the text needs to be
> reversed line by line, and you cannot know where the line breaks
> before lynx does the layout calculation and breaks the line where it
> sees fit. Isn't that so?
That won't work, because something like
אבג <a href="abc.def"> דהו </a> זחט
is printed as three different strings, so that if you reverse strings
before output (say, in ncurses library), you will get
גבא והד טחז
while you want to get
טחז והד גבא
Actually, if you reverse before breaking into lines then the lines are
shown in the right order. If you break after the browser does all the
rendering, and the html document contains multi-lines paragraph, the
lines will appear, upside down.
--
Matan Ziv-Av. zivav@cs.bgu.ac.il
ש"דח הז לאמש םעפה םג
Vote MAKI - The Israeli Communist Party