Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Character Variants don’t work with \addfontfeature in italic #115

Open
georgd opened this issue Oct 29, 2011 · 4 comments
Open

Character Variants don’t work with \addfontfeature in italic #115

georgd opened this issue Oct 29, 2011 · 4 comments

Comments

@georgd
Copy link

georgd commented Oct 29, 2011

In the following example the two groups should give the same results but they don’t:

\documentclass{minimal}
\usepackage{fontspec}
\setmainfont{EB Garamond}
\begin{document}

\textit{\addfontfeature{CharacterVariant=5:0}very}\\
\textit{\addfontfeature{CharacterVariant=5:1}very}\\
\textit{\addfontfeature{CharacterVariant=5:2}very}\\ \textit{\addfontfeature{CharacterVariant=5:3}very}\\
\textit{\addfontfeature{CharacterVariant={4,5:3}}\& very}\\

\fontspec{EB Garamond Italic} very\\
\fontspec[CharacterVariant=5]{EB Garamond Italic}very\\
\fontspec[CharacterVariant=5:0]{EB Garamond Italic}very\\
\fontspec[CharacterVariant=5:1]{EB Garamond Italic}very\\
\fontspec[CharacterVariant=5:2]{EB Garamond Italic}very\\
\fontspec[CharacterVariant=5:3]{EB Garamond Italic}very\\
\fontspec[CharacterVariant={4,5:3}]{EB Garamond Italic}\& very

\end{document}
@PanderMusubi
Copy link

For me, \fontspec{EB Garamond Italic} results in a font-not-found althoud I can use the font and its italics via \fontspec{EB Garamond} Also the character variations do not work with TeX Live 2012 with all updates. I simply keep seeing the default glyph.

@PanderMusubi
Copy link

Please add an example for

VC11: Variants for the numeral one: some publishers prefer a numeral one that’s clearly different from small cap
i: I123 vs. II23

From the feature documentation of EB Garamond

\addfontfeature{CharacterVariant=11:1}

@georgd
Copy link
Author

georgd commented Feb 17, 2013

When I introduced the caption font, I changed the font names to include their design size. Thus the font now should be called with \fontspec{EB Garamond 12 Italic}.

@georgd
Copy link
Author

georgd commented Jul 18, 2013

This bug is still valid with harfbuzz-based xetex!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants