LaTeX forum ⇒ GeneralFont became rasterized after reinstall

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

Font became rasterized after reinstall

Postby bbasic » Fri Oct 26, 2018 5:04 pm

The following code produces a rasterized font:

  1. \documentclass{beamer}
  2.  
  3. \usepackage[OT2,OT1]{fontenc}
  4.  
  5. \newcommand{\cyr}{%
  6. \renewcommand\encodingdefault{OT2}%
  7. \normalfont\selectfont}
  8. \newcommand{\lat}{%
  9. \renewcommand\rmdefault{cmr}%
  10. \renewcommand\encodingdefault{OT1}%
  11. \normalfont\selectfont}
  12.  
  13. \begin{document}
  14.  
  15. \begin{frame}
  16. \cyr test
  17.  
  18. \begin{definition}
  19. test
  20. \end{definition}
  21.  
  22. \begin{theorem}
  23. test
  24. \end{theorem}
  25.  
  26. test \emph{test}
  27.  
  28. \lat test \emph{test}
  29. \end{frame}
  30.  
  31. \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 7309 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.

Return to “General”

Who is online

Users browsing this forum: No registered users and 7 guests