I would like to use the Concrete Math font in LaTeX, which is a bitmap font. The rendering with pdflatex is naturally poor-quality with jagged edges.

My solution so far has been to generate a DVI file and then convert to PDF using Linux's dvipdf. This tool effectively traces and smooths the edges of the glyphs and the end result is beautiful. However, using the DVI output format (with latex) causes a host of other problems with including figures, etc. For instance, you can't include .png or .pdf figures when using plain LaTeX.

Is there a way to somehow get the same bitmap font-smoothing effect in pdflatex? or via an intermediate format that still allows you to include at least .png figures?

migrated from stackoverflow.com Sep 8 '13 at 15:18

This question came from our site for professional and enthusiast programmers.

  • Welcome to TeX.sx! Your post was migrated here from Stack Overflow. Please register on this site, too, and make sure that both accounts are associated with each other (by using the same OpenID), otherwise you won't be able to comment on or accept answers or edit your question. – Werner Sep 9 '13 at 3:41

You can set up in order that Metafont uses a high resolution device for producing the fonts; this should be run with pdflatex.


% MF mode dpdfezzz is for 8000dpi

Some test text with\\
\textit{italic} and \textsl{slanted}.

Here's what appears on my screen at almost maximum zoom

enter image description here

You see that there's no jagged letter. Compare with what's obtained when the resolution and mode are the default

enter image description here

Load the images on a separate browser window or tab and maximize them to see the full comparison.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.