1

I am interested in using Charter BT font from tug.org. Consider this MWE

\documentclass[b5paper,11pt]{scrbook}
\usepackage[bitstream-charter]{mathdesign}
\usepackage[T1]{fontenc}

\begin{document}
    \noindent
    ABCD\\
    \texttt{ABCD}\\
    \textsf{ABCD}
\end{document}

It worked just fine until I noticed that \texttt and \textsf were experiencing some kind of aliasing.

enter image description here

Is this one of the font's "features?" Is there something we can do to fix it?

1
  • I have tried various viewers: TexStudio, TeXworks, Adobe, SumatraPDF, Firefox, Chrome. Pretty much everything.
    – Sukan
    Commented Oct 31, 2019 at 13:44

1 Answer 1

5

The mathdesign package changes the default serif font, but not the default typewriter and sans-serif font. Due to T1 encoding, these come from the EC fonts. And if one does not install the (rather large) cm-super fonts, these fonts are indeed bitmap fonts that some viewers might display like this. A simple solution would be to use the LM fonts for typewriter and sans-serif by loading lmodern.sty in the beginning:

\documentclass[b5paper,11pt]{scrbook}
\usepackage{lmodern}
\usepackage[bitstream-charter]{mathdesign}
\usepackage[T1]{fontenc}

\begin{document}
    \noindent
    ABCD\\
    \texttt{ABCD}\\
    \textsf{ABCD}
\end{document}

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .