[sword-devel] Devanagari text displays different in SWORD than in the source IMP file
Chris Little
chrislit at crosswire.org
Tue Sep 8 01:19:46 MST 2009
Before anyone starts making authoritative statements about ZWJ or ZWNJ
in various modules and their reflexes in front ends, I would like to see
some sort of proof that this is even relevant to the problem.
If ZWNJ is present in the module, it isn't being changed by Sword or by
BibleCS. If you copy text from BibleCS and paste it into an editor that
renders things correctly, such as BabelPad or Notepad, you get back the
correct rendering--so it's not inserting, deleting, or changing codepoints.
My own feeling is that the problem lies in the renderer used by various
front ends. And specific to BibleCS, I suspect we can fix the issue by
compiling in a more recent version of C++Builder (which I'll try to do,
when I get a chance, unless Troy beats me to it).
Font choice is important. You have to use a font with the correct font
tables. (Graphite tables would work, but OpenType are entirely
sufficient for this kind of Indic application.) However, the fonts named
in the initial post and my testing further to that report demonstrate
that even fonts with good OT tables won't render correctly in BibleCS's
current renderer.
--Chris
David Haslam wrote:
> Zero Width Joiner and non-Joiner
>
> We should gather the evidence we have collected about zwj & zwnj (in e.g.
> Devanagari) by adding a new row in the table on this wiki page.
>
> http://www.crosswire.org/wiki/Choosing_a_SWORD_program#Module_Support
> http://www.crosswire.org/wiki/Choosing_a_SWORD_program#Module_Support
>
> Ideally, the new row should be below the one for Complex Scripts. This would
> help clarify the situation for everyone. A single footnote should provide
> the background and give the explanation.
>
> -- David Haslam
>
>
>
More information about the sword-devel
mailing list