[XeTeX] XeLaTeX not using language-specific glyphs with Scheherazade 2.x

Jonathan Kew jfkthame at googlemail.com
Tue Oct 8 01:57:21 CEST 2013


On 7/10/13 14:00, Lorna Evans wrote:
> I've been looking at this. We do have language support in both OpenType
> and Graphite in Scheherazade. However, as I've looked at the
> documentation for XeTeX I see no mention of how to choose a language in
> Graphite, only in OpenType. So maybe using a language isn't supported in
> XeTeX Graphite?

I *think* it should be supported via the "language=...." pseudo-feature 
in the \font command, but I haven't specifically checked.

However, note that language support in Graphite is based on ISO-639 
codes, while OpenType uses its own set of "language system" tags (see 
the Microsoft tag registry), which may or may not bear any resemblance 
to the ISO codes. Hence, it seems likely that you'd need to use 
different tags if switching between Graphite and OpenType; the same tag 
may not necessarily work across both renderers.

JK

> If that's the case, then you need to turn on the
> specific features required for a particular language. So, if you want to
> use Sindhi features you'll have to turn on Sindhi-style Meem,
> Sindhi-style Heh, and Sindhi-style Eastern digits.
>
> AFAIK, Scheherazade 1.005 wasn't a Graphite font so I don't understand
> what you were seeing there.
> Lorna
>
> -------- Original Message --------
> Subject: Re: [XeTeX] XeLaTeX not using language-specific glyphs with
> Scheherazade 2.x
> From: Lammert, Richard
> To: XeTeX (Unicode-based TeX) discussion.
> Date: 10/7/2013 2:36 PM
>>
>> Thanks, Khaled. I had wondered about this--which is why I specifically
>> chose the Graphite renderer in the font selection. (According to the
>> "Font Features for Scheherazade 2.000" on the SIL web site, both the
>> language selection and the meem/heh shaping should work in either
>> OpenType or Graphite. Rohingya is available as a language selection
>> only in Graphite--but fontspec doesn't recognize the language.)
>>
>> Is there a reason a hybrid font wouldn't work properly if a specific
>> rendering technology is chosen? (Specifically selecting the renderer
>> worked great in solving my small-caps problem.)
>>
>> Richard
>>
>> On Mon, Oct 7, 2013 at 12:48 PM, Khaled Hosny <khaledhosny at eglug.org
>> <mailto:khaledhosny at eglug.org>> wrote:
>>
>>     On Sat, Oct 05, 2013 at 04:25:52PM -0400, Lammert, Richard wrote:
>>     > (Sorry about that empty message with one attachment--clicked the
>>     wrong
>>     > button.)
>>     >
>>     > The following example attempts to use language-specific glyphs from
>>     > Scheherazade, but does not work with Scheherazade 2.0 or 2.01.
>>     The example
>>     > *does* work with Scheherazade 1.005 (see attachments
>>     arabic-test-1.005.pdf
>>     > and arabic-test-2.01.pdf)
>>     >
>>     > However, when I use TypeTuner to produce language-specific fonts
>>     for each
>>     > of the three languages (last three lines of each test file), XeLaTeX
>>     > properly shows the correct contextual forms. Since XeLaTeX reads
>>     the glyphs
>>     > properly from the tuned fonts, it appears to me that the language
>>     > information is not being interpreted properly in the base font.
>>     I am using
>>     > XeLaTeX 0.9999.3, fontspec v. 2.3c, and bidi v14 on an iMac.
>>
>>     It seems that Scheherazade ≥ 1.900 is a hybrid OpenType/Graphite font,
>>     so this is the same issue as:
>>     http://tug.org/pipermail/xetex/2013-June/024530.html
>>
>>     (This will be fixed in next year’s version of XeTeX, the workaround in
>>     the above link can be used in the meantime.)
>>
>>     Regards,
>>     Khaled
>>
>>
>>     --------------------------------------------------
>>     Subscriptions, Archive, and List information, etc.:
>>     http://tug.org/mailman/listinfo/xetex
>>
>>
>>
>>
>> --
>>
>> Rev. Richard A. Lammerte-mail: richard.lammert at ctsfw.edu
>> Technical Services Librarianmail: 6600 N. Clinton St.
>> Systems LibrarianFort Wayne, IN 46825-4916
>> Walther Libraryphone: 260-452-3148
>> Concordia Theological Seminary
>>
>>
>>
>>
>> --------------------------------------------------
>> Subscriptions, Archive, and List information, etc.:
>>    http://tug.org/mailman/listinfo/xetex
>
>
>
>
>
> --------------------------------------------------
> Subscriptions, Archive, and List information, etc.:
>    http://tug.org/mailman/listinfo/xetex
>



More information about the XeTeX mailing list