Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

installing truetype fonts in miktex

613 views
Skip to first unread message

Hendri Adriaens

unread,
Apr 2, 2009, 12:54:49 AM4/2/09
to
Hi,

what is the easiest way to install truetype fonts (eg verdana) in
miktex? I tried the winfonts package (not supported by miktex package
manager) so installed in manually. It didn't give any error, but the
font in the resulting pdf was not Verdana. I tried MTFI (miktex
truetype font installer) but it wasn't updated for a long time and
doesn't work unfortunately.

Does anyone have a suggestion?

Thanks already,
-Hendri.

christophe...@tele2.fr

unread,
Apr 2, 2009, 1:42:13 AM4/2/09
to

In this page, I think you have what you look for

http://c.caignaert.free.fr/ttf-english.html

Christophe

Ulrike Fischer

unread,
Apr 2, 2009, 5:16:54 AM4/2/09
to
Am Wed, 1 Apr 2009 21:54:49 -0700 (PDT) schrieb Hendri Adriaens:

> Hi,
>
> what is the easiest way to install truetype fonts (eg verdana) in
> miktex? I tried the winfonts package (not supported by miktex package
> manager) so installed in manually. It didn't give any error, but the
> font in the resulting pdf was not Verdana.

I don't see a reason why it shouldn't work. I moved all files to a
local root, update the fndb and run this document:

\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{textcomp}
\pdfmapfile{+winfonts.map}
\begin{document}
\pagestyle{empty}
\fontfamily{verdana}\selectfont
abc \texteuro
\end{document}


It works fine, even TS1-encoding and the euro. There is even no need
to move the truetype to the texmf-tree. Miktex did find the fonts in
windows/fonts:

<C:/WINDOWS/Fonts/verdana.ttf>


> I tried MTFI (miktex
> truetype font installer) but it wasn't updated for a long time and
> doesn't work unfortunately.

Yes, this is known.


> Does anyone have a suggestion?
>

Apart from the way suggested by Christophe you can also convert the
fonts to type1 e.g. with fontforge and then use fontins
(->fontinstallationguide).

The easiest way to _use_ the fonts is with XeLaTeX. It should work
out of the box:

\documentclass{scrreprt}
\usepackage{xltxtra}
\setsansfont{Verdana}
\begin{document}
\sffamily abc €
\end{document}

--
Ulrike Fischer

Hendri Adriaens

unread,
Apr 2, 2009, 7:33:45 AM4/2/09
to
Hi Ulrike, Christophe,

thanks a lot for the help. I didn't find your suggestions earlier. The
method of Ulrike (using winfonts) did work (reinstalled miktex to
clean earlier attempts) and is indeed very easy :)

Thanks again, best regards,
-Hendri.

0 new messages