Am 02.08.2013 18:38, schrieb Khaled Hosny:
On Fri, Aug 02, 2013 at 12:40:28PM +0200, Georg Duffner wrote:
Am 01.08.2013 13:24, schrieb Khaled Hosny:
On Thu, Aug 01, 2013 at 12:06:43PM +0200, Georg Duffner wrote:
Hi,
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.
No idea, but having suffered from mysterious Windows font installation
issues before (not with XeTeX), I’ve learned to delete the existing
font(s) before installing a new version.
I tried to reproduce the above behaviour by deleting and adding
different versions – without success.
This explains your XDV files; it is identical to what I get here (sans
the timestamp). So I guess it was some temporary brokeness, but I’m not
convinced that this is a XeTeX bug, installing multiple versions of the
same font is strongly discouraged.
OK. But is there an explanation why \textit{\textsc{Text}} is rendered
upright? Is it because LaTeX only knows about itshape and scshape but
no combination of the two?
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?
Yes (fontspec fails because it first checks if the font supports the
given feature and if not it removes it from font definition, and since
it is looking for OpenType features it finds none when Graphite shaper
is used).
Ok. The graphite tag for smallcaps in Charis has been changed to
smcp with v4.112, before it was "1058". Shouldn’t the older versions
show smallcaps with \addfontfeature{RawFeature=+1058}?
It should be RawFeature=1058=1; (we now support +tag as a bonus for
features that has OpenType-like tag names, but for numeric ids only
the old syntax of id=setting is supported).
I haven’t found that information in the fontspec manual. Is it
documented somewhere else?
Thanks and best regards,
Georg
--------------------------------------------------
Subscriptions, Archive, and List information, etc.:
http://tug.org/mailman/listinfo/xetex