[XeTeX] bold small caps, but no regular small caps

Georg Duffner g.duffner at gmail.com
Thu Aug 1 12:06:43 CEST 2013


XeTeX’s behaviour in this case is mysterious.

I tried Mike’s original tex file and got no smallcaps at all. After 
updating Charis to 4.114 (from 4.106) I got the same behaviour as him: 
no smallcaps with regular but with bold yes. When I tried again today, 
there are no smallcaps at all – I suppose, after the update on monday, 
the old version stayed in the cache and confused XeTeX’s rendering 
choice(?), while today the cache was rebuilt without the old files, thus 
XeTeX stays with graphite.

Now, if I extend Mike’s original example by italics (see below), things 
get weirder: what is expected to be italic smallcaps is rendered upright 
(see attachment). Is this another bug in XeTeX?

And just to make sure that I understand correctly, 
\addfontfeature{RawFeature=+smcp} as in the second line does work as 
expected, because the graphite feature in this case is named "smcp" like 
the OT feature?

Best regards,

\setmainfont{Charis SIL}
Here is some text in \textsc{Small Caps} and \textbf{\textsc{Bold Caps}} 
and \textit{text in \textsc{Italic Caps} \textbf{and \textsc{Bold Italic 
Here is some text in {\addfontfeature{RawFeature=+smcp}Small Caps} and 
\textbf{\addfontfeature{RawFeature=+smcp}Bold Caps} and \textit{text in 
{\addfontfeature{RawFeature=+smcp}Italic Caps} \textbf{and 
{\addfontfeature{RawFeature=+smcp}Bold Italic Caps}}}.

Am 31.07.2013 17:01, schrieb Khaled Hosny:
> Hi,
> There is two issues; an oversight in XeTeX 0.9999 caused it to prefer
> Graphite over OpenType tables for fonts containing both, which breaks
> fontspec’s activation of optional OpenType features. This affects all
> font styles of course, and can be simply fixed by explicitly selecting
> the OpenType renderer.
> Mike has an issue with smallcaps, that affecting the regular style only
> and is not fixed by using the OpenType renderer, whether both are the
> same issue is not clear to me since I can not reproduce Mike’s.
> Regards,
> Khaled
> On Wed, Jul 31, 2013 at 09:22:49AM -0500, Lorna Evans wrote:
>> As one of the people who works on Charis SIL, I'd like to understand
>> this problem better. Is the problem in TeXLive 2013 or in the Charis
>> SIL font? Is the problem with a certain version of Charis SIL? (I'd
>> prefer v 4.110 be used rather than 4.112 or 4.114).
>> I don't have fontspec set up. Does anyone know whether fontspec is
>> calling "smcp" or "c2sc"? (both smcp and c2sc are implemented in the
>> fonts so it shouldn't matter, but I'd like to know which it uses).
>> It doesn't make any sense to me that there is no problem in bold but
>> a problem in regular. The font is built using scripts run on all 4
>> faces at the same time.
>> FYI: we are in the process of making a new version of Charis SIL so
>> we'd like to find out where the bug is.
>> Thanks,
>> Lorna
>> -------- Original Message --------
>> Subject: Re: [XeTeX] bold small caps, but no regular small caps
>> From: Mike Maxwell
>> To: heer
>> Date: 7/30/2013 11:23 PM
>>> On 7/30/2013 1:33 AM, heer wrote:
>>>> I've just tested your temp.tex with TeXLive in Ubuntu version
>>>> 12.4 and it works perfectly.  I
>>>> think it's the 2009-15 version of TeXLive. I've attached the
>>>> temp.pdf file that it produced.
>>> I think the older version did work ok.
>> --------------------------------------------------
>> Subscriptions, Archive, and List information, etc.:
>>    http://tug.org/mailman/listinfo/xetex
> --------------------------------------------------
> Subscriptions, Archive, and List information, etc.:
>    http://tug.org/mailman/listinfo/xetex
-------------- next part --------------
A non-text attachment was scrubbed...
Name: charistest.pdf
Type: application/pdf
Size: 55879 bytes
Desc: not available
URL: <http://tug.org/pipermail/xetex/attachments/20130801/8e35b1f8/attachment-0001.pdf>

More information about the XeTeX mailing list