3

At one point I did something to Miktex, the result is miss aligned letters. At least that is my impression. I have two example photos:CHOL ja SBP. and tarvittavat. The first photo: to my eyes H is lower than C and O beside it. The second: v letter is under r. They look wrong. Any document that I write is full of similar misaligned letters. What have I done!

  • First, I think it is just a viewer issue. Does the misalignment persist when you zoom in on the images in the PDF? I am thinking not. As to what caused it, perhaps \usepackage[T1]{fontenc} without also doing a \usepackage{lmodern} maybe? – Steven B. Segletes Sep 19 '17 at 18:11
  • Bless you! I used the package you suggested and all is fine. – Bezdomnyi Sep 19 '17 at 18:13
  • 1
    I vote against closing this as off-topic (at least for the reason stated in the current close vote): this question very much does “fall within the scope of TeX, LaTeX or related typesetting systems”. – ShreevatsaR Sep 19 '17 at 18:34
  • What viewer did you get these results in? TeX decides the positions of the characters (correctly), but it is your viewer that converts those positions characters (using the font) into pixels on screen… I wonder what viewer does such a bad job. – ShreevatsaR Sep 19 '17 at 18:40
  • @ShreevatsaR: This is most certainly viewer-based, until proven otherwise. – Werner Sep 19 '17 at 19:13
  • @Werner Yes, but viewers are very much part of the TeX ecosystem. How to generate output from TeX (and related systems) such that a viewer displays it properly is the heart of many questions on this site and we don't have a consistent policy of closing such questions, e.g. this one. (I even remember a nice question that was entirely about viewers; was a lot of fun to investigate that one.) – ShreevatsaR Sep 19 '17 at 19:17

1 Answers1

2
\documentclass[border=12pt]{standalone}
\begin{document}
Testing
\end{document}

enter image description here

Add just \usepackage[T1]{fontenc}:

enter image description here

While T1 encoding gives one access to a wider range of font glyphs, the problem here is that LaTeX's default font (computer modern) is designed only for the older OT1 encoding. When one switches to T1 encoding, a bitmap version is constructed and used. The remedy is to use a font that was designed for T1 encoding. The lmodern font is a version of computer modern, specifically designed for T1 encoding.

Therefore, also add \usepackage{lmodern}:

enter image description here