latexpdflatextex-live

pdflatex missing T2A fonts?


LaTeX Font Warning: Font shape `T2A/lmr/m/n' undefined
LaTeX Font Warning: Font shape `T2A/lmr/bx/n' undefined

Where can I get them?

pdfTeX 3.141592653-2.6-1.40.24 (TeX Live 2022)

Example code:

\documentclass[12pt,onecolumn,twoside,a4paper]{article}
\usepackage{cmap}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[T2A]{fontenc}
\usepackage[czech,english,russian]{babel}
\usepackage{lmodern}

\begin{document}
\selectlanguage{czech}

\begin{description}

\item [KID] \foreignlanguage{russian}{Клапан Избыточного Давления}

\item [PK] \foreignlanguage{russian}{Рабочая Кассета}

\item [\foreignlanguage{russian}{твэл}]
  \foreignlanguage{russian}{тепловыделяющий элемент}

\item [\foreignlanguage{russian}{твэг}]
  \foreignlanguage{russian}{тепловыделяющий элемент с уран-гадолиниевым топливом}
  
\end{description}

\end{document}

Some text added to make the editor happy


Solution

  • The problem is that the lmodern package does not have these fonts shapes, you will need another font which does has them.

    The easiest solution would be to remove lmodern package and use the default computer modern font instead.

    Alternatively you could look into other fonts which support T2A, e.g. https://tex.stackexchange.com/a/114598/36296 or you could use lualatex or xelatex instead of pdflatex, which will give you more options to choose a fonts because they make all the fonts installed on your computer available to use in your document.