From: suchenwi on
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
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
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
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
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.
 |  Next  |  Last
Pages: 1 2 3
Prev: Adaptive Comboboxes
Next: strange tcl behavior