GeneralFont became rasterized after reinstall

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
bbasic
Posts: 7
Joined: Tue Jul 08, 2008 4:21 pm

Font became rasterized after reinstall

Post by bbasic »

The following code produces a rasterized font:

Code: Select all

\documentclass{beamer}

\usepackage[OT2,OT1]{fontenc}

\newcommand{\cyr}{%
\renewcommand\encodingdefault{OT2}%
\normalfont\selectfont}
\newcommand{\lat}{%
\renewcommand\rmdefault{cmr}%
\renewcommand\encodingdefault{OT1}%
\normalfont\selectfont}

\begin{document}

\begin{frame}
\cyr test

\begin{definition}
test
\end{definition}

\begin{theorem}
test
\end{theorem}

test \emph{test}

\lat test \emph{test}
\end{frame}

\end{document}
However, the same code used to produce vector output before I reinstalled the operating system. I am not sure which version of MiKTeX I had before, and the current version is Portable MiKTeX 2.9.6620.

I have already tried to install cm-super package (upon an advice that I found on the internet), but that did not solve the problem. (I did run updmap.exe after installing the package.)

Is there a way to restore the previous behavior? Note: I would prefer to keep the same code (or, at the very least, to make only small changes to it), that is, if there is a solution that includes writing Cyrillic script in some another way, that does not suit me.

So, just to make myself more clear, this is the output that the code gives:
Untitled.png
Untitled.png (12.76 KiB) Viewed 8805 times
and this is precisely how I indeed want the output to look like. The only problem is that the letters are rasterized (actually, the Cyrillic letters; the Latin ones are OK). Therefore, the question is what I should do in order to get the same output but with vector letters. Exactly the same code was working perfectly on my previous operating system; therefore, I hope that there is an easy fix for this problem.

Thank you in advance.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Post Reply