[Tex/LaTex] How to install and use OTF fonts

fontsmiktex

The French Ministry of Education has made writing fonts available to teachers in OTF format.

The provided files allow to install them on the Windows operating system (for Mac, I don't know).

These fonts are here: http://eduscol.education.fr/cid72979/polices-de-caracteres-cursives-pour-l-enseignement-de-l-ecriture.html

  • Is it possible to install them on a MikTeX distribution?
  • And if so how?
  • Is it possible to use it with LaTeX? with PDFLaTeX?
  • If not, is there another way to use them on TeX derivative systems?

Best Answer

The problem you have has nothing to do with the specific LaTeX distribution that you use. The OTF fonts, once installed, can be used by any software which uses fonts (such as, say, Microsoft Word). An explanation on how to install them can be seen here.

Once the fonts are installed, you can use them using XeLaTeX. For instance, an OTF font that I have on my computers is called DTLUnicoST. When I want to use it as the main text font in a XeLaTeX document, I put the line \setmainfont[Mapping=tex-text-ms]{DTLUnicoST}in the preamble of that document. Be sure to load one of the packages fontspecor xltxtra.


Here's an example:
\documentclass[12pt]{article}
\usepackage{fontspec}
\setmainfont[Mapping=tex-text-ms]{Cambria}
\begin{document}
Hello World!
\end{document}

Note the encoding of the LaTeX file must be Unicode.