Florian:

> I'd like to ask if anybody has ever tried to achieve this for
> Scintilla? Has anybody already found the "stumbling blocks"?

Neil has been useing the API "ExtTextOut" in rendering the text to the
window. If you refer to the API documentation at:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/gdi/fontext_2ks4.asp

You will see that this API has built in RTL support. So if we set the
style of the control to WS_EX_LAYOUTRTL the text will be rendered
properly and there is no need for special orientation and positioning
calculations.
The API will be responsible in this effort.
I wrote a sample and everything went fine.
I will send the sample after some minor modifications

_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to