[XeTeX] fontspec: two things

Will Robertson wspr81 at gmail.com
Sun Aug 20 13:41:54 CEST 2006


Hello,

Herb has pointed out a bug in the latest version of fontspec, v1.11,  
which is installed in XeTeX 0.995. *Every* AAT feature that switches  
something off (E.g., "Ligatures=NoCommon" or  
"Contextuals=NoLineFinal") currently do not work. Yikes.

I'm not ready for a new release, but if you want the fix to this  
problem (note it only affects AAT fonts on Mac OS X), you can grab  
the latest version from the svn repository:
   <http://scripts.sil.org/svn-public/xetex/TRUNK/texmf/tex/xelatex/ 
fontspec/fontspec.sty>

Alternatively, you can replace the code snippet at the end of this  
letter. Sorry for the inconvenience,

Will

--

\newcommand*\zf at make@aat at feature@string[2]{%
   \edef\@tempa{\XeTeXfeaturename\zf at basefont #1}%
   \unless\ifx\@tempa\@empty
     \ifnum\XeTeXisexclusivefeature\zf at basefont #1 > 0
       \edef\@tempb{\XeTeXselectorname\zf at basefont #1 #2}%
     \else
       \unless\ifodd #2
         \edef\@tempb{\XeTeXselectorname\zf at basefont #1 #2}%
       \else
         \edef\@tempb{\XeTeXselectorname\zf at basefont #1 \numexpr#2-1 
\relax}%
         \unless\ifx\@tempb\@empty
           \edef\@tempb{!\@tempb}%
         \fi
       \fi
     \fi
     \unless\ifx\@tempb\@empty
       \edef\@tempa{\@tempa=\@tempb}%
     \fi
   \fi}

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2361 bytes
Desc: not available
Url : http://tug.org/pipermail/xetex/attachments/20060820/fff6640e/attachment.bin 


More information about the XeTeX mailing list