[Tex/LaTex] polutonikogreek with lmodern 12pt

babelfontsgreeklatin-modern

Within a document in ngerman or english, I'd like to have some Greek text using babel's polutonikogreek. It seems there are two options for including greek text:

\textgreek{mikra'iti mouse~ion}

which seems good for single words and short passages, and for longer passages

\selectlanguage{polutonikogreek} mikra'iti mouse~ion

Using my standard setup (cf. below) including \documentclass[12pt]{article}, both options produce ugly pixelated output, technically speaking, it uses a Type 3 font, which doesn't happen for normal text:

pixelated greek

This problem doesn't appear when using 10pt, in this case, a Type 1 font is used.

How do I get Type 1 fonts for polutonikogreek in 12Pt (and other sizes)? Here's my setup / a MWE:

\documentclass[12pt]{article}
\usepackage[polutonikogreek,english]{babel}
\usepackage[T1]{fontenc}
\usepackage{lmodern}

\begin{document}

\textgreek{mikra'iti mouse~ion}

\selectlanguage{polutonikogreek} mikra'iti mouse~ion

\end{document}

I use pdfTeX 1.40.11 by MiKTeX 2.9

Interestingly, this issue appears even in a manual for the greek option in babel, so it doesn't seem to be trivial. Then again, the manual is from 1997.

P.S.: You'll notice there's also an issue with the circumflex accent, but I thought I'd post this as a separate question once this one's solved.

Best Answer

The cheep method to solve this is to tell (pdf)latex to use grmn1000.pfb for all sizes:

\documentclass[12pt]{article}

\usepackage[polutonikogreek,english]{babel}

\usepackage[T1]{fontenc}
\usepackage{lmodern}
\DeclareFontFamily{LGR}{lmr}{}
\DeclareFontShape{LGR}{lmr}{m}{n}
  {<-> grmn1000}{}

\begin{document}

\textgreek{mikra'iti mouse~ion}

\selectlanguage{polutonikogreek} mikra'iti mouse~ion

\end{document}

You will need more \DeclareFontShape command for bold etc. Look in lgrlmr.fd for a list.

The other possibility is to install the full set of the cbfonts. As far as I know there is no miktex package so you will have to do it manually. Get cbfonts.zip from CTAN (~70MB!), unzip it somewhere outside the miktex folders. You will get a folder

cbfonts/fonts/map
             /type1
             /....  
       /tex

In cbfonts/fonts/map there is a cbgreek-full.map. Move it to cbfonts/fonts/map/dvips (miktex seems to ignore maps directly in fonts/map).

Then add the root folder cbfonts as a new root in miktex settings as in admin mode (for all users) or user mode (only for you). Call on the command line initexmf --admin --edit-config-file updmap (admin mode) or initexmf --edit-config-file updmap (user mode) which will open a updmap.cfg. Add Map cbgreek-full.map, save it. Then run updmap --admin or updmap. After this your example should use grmn1200.pfb for the 12pt greek.

Related Question