[XeTeX] BUG: ZWJ ignored? (Re: Fontspec and SBL Hebrew: Possible Bug?)

Petr Tomasek tomasek at etf.cuni.cz
Sat Nov 20 19:54:47 CET 2010


On Sat, Nov 20, 2010 at 06:44:42PM +0100, Petr Tomasek wrote:
> 
> Hello!
> 
> Has this bug been solved somehow?
> 
> 
> My XeTeX seems to ignore ignore the ZWJ character completely
> (at least when script=hebr). I tried to edit some font
> and created custom ligatures. If the ligatures where done
> with ZWJ, they didn't work. As soon, as I removed the ZWJ
> from the ligature definiton, the litagure started to work!
> 
> This did happen with 'ccmp', 'dlig' and 'rlig' GSUB tables.

OK. So I created simple font with two ligatures: one with
ZWJ and one without.

And guess what. The ZWJ appears as unknown character and 
only the ligature without ZWJ works.

See: http://www.etf.cuni.cz/~tomasek/zjw_bug.tgz

(The font was created with:

$ fontforge --version
Copyright (c) 2000-2009 by George Williams.
 Executable based on sources from 22:35 GMT 22-Jun-2009.
 Library based on sources from 22:35 GMT 22-Jun-2009.
fontforge 20090622
libfontforge 20090622
)


> My XeTeX version (on Linux):
> 
> xetex --version
> XeTeX 3.1415926-2.2-0.9995.2 (Web2C 7.5.6)
> kpathsea version 3.5.6dev
> Copyright 2009 SIL International and Jonathan Kew.
> There is NO warranty.  Redistribution of this software is
> covered by the terms of both the XeTeX copyright and
> the Lesser GNU General Public License.
> For more information about these matters, see the file
> named COPYING and the XeTeX source.
> Primary author of XeTeX: Jonathan Kew.
> Compiled with ICU version 4.0 [with modifications for XeTeX]
> Compiled with zlib version 1.2.3; using 1.2.3
> Compiled with FreeType2 version 2.3.7; using 2.3.7
> Compiled with fontconfig version 2.8.0; using 2.8.0
> Compiled with libpng version 1.2.15; using 1.2.15
> Compiled with xpdf version 3.01
> 
> (I would like to try a newer version of XeTeX, possibly from
> the SVN, but the last time I tried it, it didn't compile...)
> 
> Thank You!
> 
> Petr Tomášek
> 
> On Mon, Jun 14, 2010 at 01:45:18PM +1000, David Purton wrote:
> > On Sun, Jun 13, 2010 at 05:01:18PM +0300, Avi Wollman wrote:
> > > looks okay by me.
> > > miktex 2.8 (windows 7x64)
> > > This is XeTeX, Version 3.1415926-2.2-0.9995.1 (MiKTeX 2.8)
> > 
> > No - none of those characters are correct in your pdf. It appears that a
> > ligature should be used but it is not being used.
> > 
> > The combination of hataf patah + ZWJ + meteg should resolve to an
> > un-mapped glyph ligature. This is not happening. There are a total of
> > three ligatures involving meteg which should exhibit this behaviour, but
> > they all seem to fail.
> > 
> > Cheers,
> > 
> > David
> > 
> > -- 
> > David Purton
> > dcpurton at marshwiggle.net
> >  
> 
> -- 
> Petr Tomasek <http://www.etf.cuni.cz/~tomasek>
> Jabber: butrus at jabbim.cz
> 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> EA 355:001  DU DU DU DU
> EA 355:002  TU TU TU TU
> EA 355:003  NU NU NU NU NU NU NU
> EA 355:004  NA NA NA NA NA
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> 
> 
> 
> --------------------------------------------------
> Subscriptions, Archive, and List information, etc.:
>   http://tug.org/mailman/listinfo/xetex

-- 
Petr Tomasek <http://www.etf.cuni.cz/~tomasek>
Jabber: butrus at jabbim.cz

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
EA 355:001  DU DU DU DU
EA 355:002  TU TU TU TU
EA 355:003  NU NU NU NU NU NU NU
EA 355:004  NA NA NA NA NA
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




More information about the XeTeX mailing list