[Tex/LaTex] How to ensure that Droid Sans and Garamond are available on the system

fonts

I’m writing a class file and wish to use Droid Sans and Garamond which is no problem width \usepackage{droidsans} and \usepackage[garamond]{mathdesign}. With my TeX Live 2012 on Mac OS X eveything works like a charm but the client, I’m writing the class for, uses Windows XP, Suse and Ubuntu where TeX can’t find all necessary font files, although droidsans and mathdesign are available.

The question is what do I have to do to make the font available for any user (with an up to date distribution)? I guess there’s nothing I can do directly but I would like to explain in the manual what to do to install the fonts …

Update

Heres a small example.

\documentclass{scrbook}

% simulate class option
\newif\iffonts% to prevent the class
                % loading any font packages
\fontstrue

\iffonts
   \usepackage[T1]{fontenc}
   \usepackage{droidsans}
   \usepackage[garamond]{mathdesign}
\fi

\begin{document}
\chapter{Section one}
Some text
\end{document}

This should be compiled with pdflatex. It qould be great if there’d be a solution for WIndows and Ubuntu (other users can help themselves or use \fontsfalse). One may also use \fontsfalse when using any other machin then pdflatex. The font support must only work with pdflatex.

Best Answer

The user has to install the packages mathdesign, droidsans and urw-garamond. The best would be to install the packages with the package manager of the used tex distribution. If not possible he has to follow the installation instructions in the readme files. It would be the best to install the font urw-garamond in a local texmf tree. More hints you can find in question getting-urw-garamond-and-the-license.

With some changes your MWE should then compile:

\documentclass{scrbook}

% simulate class option
\newif\iffonts% to prevent the class
                % loading any font packages
\fontstrue

\iffonts
  \renewcommand{\rmdefault}{ugm}
  \usepackage[T1]{fontenc}
  \usepackage{textcomp}
  \usepackage{droidsans}
  \usepackage[urw-garamond]{mathdesign}
\fi


\begin{document}
\chapter{Section one}
Some text
\end{document}