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

The tabular option gives warnings in the log #3

Closed
u-fischer opened this issue Mar 21, 2018 · 1 comment
Closed

The tabular option gives warnings in the log #3

u-fischer opened this issue Mar 21, 2018 · 1 comment
Assignees

Comments

@u-fischer
Copy link

This document

\documentclass{article}
\usepackage[default,tabular]{sourcesanspro}
\begin{document}
12345

11111
\end{document}

gives a number of warnings in the log

* fontspec warning: "icu-feature-not-exist-in-font"
* 
* OpenType feature 'Numbers=Monospaced, ' (tnum) not available for font
* 'SourceSansPro-Light' with script 'Latin' and language 'Default'.

tabular numbers are nevertheless used so this is only annoying.

The source of the problem is that the fonts don't contain a tnum feature, tabular numbers are simply the default. So sourcesanspro shouldn't use Numbers=Monospaced with this font:

\documentclass{article}
\usepackage{fontspec}
\setmainfont{SourceSansPro}%[Numbers=Monospaced] %gives warnings
\setsansfont{SourceSansPro}[Numbers=Proportional]
\begin{document}
12345 \par 11111

\sffamily
12345 \par 11111
\end{document}
@silkeh silkeh self-assigned this Aug 23, 2018
silkeh added a commit that referenced this issue May 19, 2019
@silkeh
Copy link
Owner

silkeh commented May 19, 2019

It took me a while, but this is now solved. Thanks for reporting!

@silkeh silkeh closed this as completed May 19, 2019
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