[XeTeX] Case changing for Greek

Jonathan Kew jfkthame at gmail.com
Thu May 7 16:02:03 CEST 2015

On 7/5/15 13:22, Joseph Wright wrote:
> Included in that 'standard' set up is the final sigma rule for Greek
> text. For performance reasons that code has been set up to assume that a
> sigma is final if it is followed by a space, a control sequence or a
> character from the list
>      ) ] } . : ; , ! ? ' "

Would it be feasible to define this negatively instead -- something like 
"a sigma is final if it is NOT followed by another letter"?

A possible refinement is that a lone sigma, neither preceded nor 
followed by another letter, should probably be lowercased as σ rather 
than ς.

To see the result of what we implemented for Firefox, you can try 
loading a testcase such as

     <p style="text-transform:lowercase">ΣΑΒ ΑΣΒ ΑΒΣ Σ ΣΣΣ (Σ)

in the browser, which displays it as "σαβ ασβ αβς σ σσς (σ)". (And I 
notice Chrome and Safari have the same behavior, too.)


More information about the XeTeX mailing list