|
Prev: Adaptive Comboboxes
Next: strange tcl behavior
From: suchenwi on 27 Jun 2008 03:36 Namaste, recently needing to do some work with Devanagari (Indian alphabet used for Hindi and others), I of course want to use Tcl/Tk for that. I however experience that the renderer on Windows XP that Tk uses fails to do some things (like short-i to the left, consonant clusters without vertical), while another renderer that seems to be used in Internet Explorer, Wordpad and Outlook does things right - example word हिनà¥à¤¦à¥ . As I see that people from India are sometimes on this group, could some of you advise? For persistence, I've also sketched the problem on http://wiki.tcl.tk/3158 "bidi rendering". Best regards, Richard
From: suchenwi on 2 Jul 2008 06:24 Answering myself, as no one else did :^) so this question comes up on first page again. Is there nobody who does Devanagari with Tcl/Tk?
From: Andreas Leitgeb on 2 Jul 2008 08:34 suchenwi <richard.suchenwirth-bauersachs(a)siemens.com> wrote: > Answering myself, as no one else did :^) so this question comes up on > first page again. > Is there nobody who does Devanagari with Tcl/Tk? Looks like: "No, there isn't anyone (except you) who does ..." :-/ Since Tk doesn't even do bidi-rendering (or so I read somewhere), I don't even understand, what you expect from tk to do specially with Devanagari. PS: tk doesn't seem to be the only one. Tk's rendering of that snippet (in a label) looked exactly like terminal's rendering - likely both equally wrong. PPS: it would look all greek to me, if only greek itself looked all greek to me... :-)
From: suchenwi on 2 Jul 2008 09:54 On 2 Jul., 14:34, Andreas Leitgeb <a...(a)gamma.logic.tuwien.ac.at> wrote: > Since Tk doesn't even do bidi-rendering (or so I read somewhere), > I don't even understand, what you expect from tk to do specially > with Devanagari. Well, Devanagari basically runs from left to right (just with vowels above or below the consonant, and stem-less consonants in clusters). My point was: on Windows at least, there is one renderer that does it right (in IE, Wordpad, Outlook) and another that doesn't (in Notepad and Tk, sorrily). Is it possible that Tk uses the "good one" ? :^) One workaround is of course to produce temporary HTML, and let IE render that...
From: Donal K. Fellows on 2 Jul 2008 10:55
suchenwi wrote: > Is there nobody who does Devanagari with Tcl/Tk? If they do it with 8.5 on OSX Leopard, it works (for pure output; I can't comment on input as I can't read or type Devanagari). Donal. |