I'm trying to use the "noto-sans" font found in the LaTeX Font Catalog, unfortunately each dash (-) produces a tombstone (▯) as output.
Here is an MWE:
%!TEX program = xelatex
\documentclass{article}
\usepackage{noto-mono}
\usepackage{fontenc}
\usepackage{listings}
\begin{document}
\begin{lstlisting}[
language=C,
basicstyle={\small\notomono}
]
int main() {
printf("----");
return 0;
}
\end{lstlisting}
\end{document}
Output:

\tracinglostchars=2and using system fonts instead shows that Noto Sans Mono font does not have the minus sign (U+2212;listingspackage maps hyphen (U+002D) to minus sign for\ttfamily), so it comes out tofu; but Noto Mono font does have the minus sign. Thenoto-monopackage explicitly supports Noto Sans Mono. – Cicada Apr 23 '21 at 11:21