On 15.07.2011, at 22:39, Ian MacArthur wrote:

> Why the fltk app appears correct on OSX I am not sure - it may be that the 
> Apple text renderer under Quartz is "fixing" things for us, which I find 
> unexpected.

Ah, this is a right-to-left script?! FLTK leaves it to the operating system to 
render r2l correctly. This works well for labels on OS X, but not for the 
editors. Other platforms need specific calls, I think, and there is even a call 
to render r2l, but that doesn't help with labels.

The problem is, that we'd need a lookup table to know which characters are r2l 
and a big rule book to do this correctly. We might be able to do this, but at a 
certain point, we may be better off linking with pango at run-time, if 
available. Unfortunately I don't speak, read, or write any r2l script language.
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to