[XeTeX] OT features -- followup
David Perry
hospes.primus at verizon.net
Mon Feb 21 02:36:04 CET 2011
Recently I posted a question involving OT features in a font I am
preparing to release. Ulrike's suggestion to use \XeTeXtracingfonts=1
seemed promising, but doing so has not clarified the problem; XeTeX
seems to be using the correct font file. The following just occurred to me:
I was assuming that XeTeX treated each version of a font (roman, italic,
bold) separately as far as OT features were concerned. It so happens
that the roman version of my font does not have any OT features (it used
to, and it will again when I have time); the italic that I am working on
now does have several that I want to test. Could the absence of
features in the roman font cause XeTeX not to look for them in the italic?
Here are some items from the log file; lines that begin COMMENT are my
remarks about things from the log.
Package polyglossia Info: Option: english variant=american.
LaTeX Font Info: Font shape `EU1/Cardo(0)/m/n' will be
(Font) scaled to size 14.12291pt on input line 25.
Requested font "Cardo/ICU:script=latn;language=DFLT;mapping=tex-text;;"
at 14.1
2291pt
-> C:/Windows/Fonts/Cardo103_T1a.ttf
COMMENT: this is the correct, most recent font file for the roman font
LaTeX Font Info: Font shape `EU1/Cardo(0)/m/it' will be
(Font) scaled to size 10.7393pt on input line 27.
Requested font
"Cardo/I/ICU:script=latn;language=DFLT;mapping=tex-text;;" at 10
.7393pt
-> C:/Windows/Fonts/Cardo_Italic_99_T1g_1.otf
Unknown feature `' in font `Cardo Italic'.
COMMENT: this is the correct italic font file
later in the log:
fontspec warning: OpenType feature 'Ligatures=NoCommon' (-liga) not
available
(fontspec) for font 'Cardo',
(fontspec) with script 'Latin', and language 'Default'.
fontspec warning: OpenType feature 'Numbers=Lowercase' (+onum) not
available
(fontspec) for font 'Cardo',
(fontspec) with script 'Latin', and language 'Default'.
fontspec info: Cardo scale = 0.98076.
COMMENT: similar warnings follow about ligatures not being available.
But all these OT features are in the italic font and work correctly in
some programs other than XeTeX, and I was asking for them to be applied
to portions of the test file that are in italic.
Thanks for any info -- David
More information about the XeTeX
mailing list