When using \setmonofont
with fontspec in XeTeX, I wonder what fonts (or type faces) I can use.
fc-list
yields among others:
Terminus:style=Bold
Terminus:style=Regular
So I tried this:
\usepackage{fontspec}
\setmonofont[Mapping=tex-text]{Terminus}
[...]
\testtt{monospace text}
I get the error:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! fontspec error: "font-not-found"
!
! The font "Terminus" cannot be found.
!
! See the fontspec documentation for further information.
!
! For immediate help type H <return>.
!...............................................
Now, which fonts can I use?
Is there a way to list them, or something? Incidentally, is there a way how I could use Terminus in XeTeX for monospaced text?
Best Answer
Bitmap fonts are not supported by XeTeX/LuaTeX. To list outline fonts only, try:
There is also a TTF version of Terminus, though it seems outdated.