[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [BiDi plugins] So far I talked in the air, now there is someactual , code which will , be warmed by flames!




> The URL is:
> http://www.weizmann.ac.il/~xlacha1/plugins.html
> 
> Read, enjoy, contribute, criticize, and even (ahem) flame.

Well, well. We see Level 0:

Level 0 - handles only fixed-size fonts. Suitable for CURSES-based
applications and applications, which run on xterm.
The plugin receives text, transforms it and hands it back to the
application for drawing on the screen.
Services which level 0 plugins can provide: line breaking, hyphenation,
conversion from logical Hebrew into visual Hebrew (for either
horizontal or vertical text), right-justifying lines by padding them by
 spaces from the left. 


Now, what about selection, editing, etc.? If I take pine, stuff plugin-0
in it and start writing Hebrew what happens? Does pine consult plugin on
every keypress? Note also, you are speaking further on "lines", but how
the application know what line the cursor is in? Lines of rendering text
may well be not the same, as lines of non-rendered one. I still cannot
understand how application, which does not explicitly support
bi-directional texts, could handle these problems. 


-- 
frodo@sharat.co.il	\/  There shall be counsels taken
Stanislav Malyshev	/\  Stronger than Morgul-spells
phone +972-2-6245112	/\  		JRRT LotR.
http://sharat.co.il/frodo/	whois:!SM8333