\documentclass[a4paper]{scrartcl}%
\usepackage[english]{babel}%
\usepackage[latin1]{inputenc}%
\usepackage[T1]{fontenc}%
\usepackage{textcomp}%
\usepackage{lmodern}%
\usepackage{flagstaff}%
\usepackage{bera}
\usepackage{jkdoc}%
\usepackage[tocflat,tocindentauto]{tocstyle}
\usepackage{microtype}%
\usepackage{fonttable}%
\usepackage{hyperref}
\hypersetup{pdfauthor={Josef Kleber},pdftitle={flagstaff.sty},pdfsubject={LaTeX support files for Softmaker Flagstaff}}
\def\Softmaker{Softmaker}
\def\SoftmakerURL{http://www.softmaker.com/english/fonts_en.htm}
\def\LinkTDSZIP{\href{http://mirror.ctan.org/install/fonts/softmakerfreefont/flagstaff.tds.zip}{\texttt{flagstaff.tds.zip}}}
\begin{document}
\pagenumbering{roman}
\usetocstyle{KOMAlike}
\title{\texttt{flagstaff.sty}}
\Subtitle{\LaTeX{} support files for Softmaker Flagstaff available at\\\href{http://www.freefont.de}{\url{http://www.freefont.de}}}
\Fileversion{v1.3}
\Author{Josef Kleber}
\Refline{\href{mailto:softmakerfreefont@softmakerfreefont.josef-kleber.de}{\texttt{softmakerfreefont@softmakerfreefont.josef-kleber.de}}\\\href{http://softmakerfreefont.josef-kleber.de}{\texttt{http://softmakerfreefont.josef-kleber.de}}}
\maketitle
\Headline{Abstract}
\vspace*{3cm}
\begin{abstract}
This package offers \LaTeX{} support files for the Softmaker Flagstaff font available at \href{http://www.freefont.de}{www.freefont.de} in August 2009.

These support files were created with the \href{http://dante.ctan.org/tex-archive/help/Catalogue/entries/installfont.html}{\texttt{installfont}} bash script, which is available in CTAN.
\end{abstract}
\vfill
\begin{center}
{\huge\textbf{Attention}}

\bigskip
\fbox{\parbox[t]{.8\linewidth}{This package does \textbf{not} include the fonts (license restriction). They are or were available for free download at \href{http://www.freefont.de}{www.freefont.de}, as well as part of some font collections of \href{\SoftmakerURL}{\Softmaker{}}.}}
\end{center}
\vfill
\clearpage
\pagenumbering{arabic}
\FFFlagstaff
\setkomafont{sectioning}{\normalfont\normalcolor\FFFlagstaff\bfseries}
\addtokomafont{footnote}{\normalfont\normalcolor\FFFlagstaff}
\addtokomafont{footnotelabel}{\normalfont\normalcolor\FFFlagstaff}
\addtokomafont{footnotereference}{\normalfont\normalcolor\FFFlagstaff}
\section{Flagstaff (August 2009)}
\subsection{Package options}

The font style file offers the following options:

\subsubsection{scaled}

You can use the option \texttt{scaled} for scaling the font to better match with other fonts, e.g. \texttt{\textbackslash{}usepackage[scaled=1.03,leading=1.05]\-\{iceberg\}}.

\subsubsection{leading}

For some fonts it might be necessary to increase the leading between lines for a better optical impression, where 1.0 means 100\%.

\subsection{The Font}
First of all, you have to get the font. Download it for free at \href{http://www.freefont.de}{www.freefont.de} or get it from \href{\SoftmakerURL}{\Softmaker}. Copy the Postscript Type1 font Flagstaff.pfb to your local \TeX\ tree:

\medskip
\texttt{\nolinkurl{TEXMF:/fonts/type1/softmakerfreefont/Flagstaff/}}

\begin{center}
\begin{tabular}{|l|c|c|c|c|}
\hline
\strut Family & Series & Shape(s) & Example of Typeface & Supported Encodings\\
\hline
6fs & m & n & Flagstaff & OT1, T1, TS1\\
6fs & m & sl & \fontfamily{6fs}\fontseries{m}\fontshape{sl}\selectfont Flagstaff & OT1, T1, TS1\\
6fs & m & sc & \fontfamily{6fs}\fontseries{m}\fontshape{sc}\selectfont Flagstaff & OT1, T1, TS1\\
\hline
\end{tabular}
\end{center}

\subsection{Installation}
The following steps will show you the installation in the case of MiKTeX. For another \TeX\ distribution please take a look in its documentation.

\clearpage
\begin{itemize}
\item get \LinkTDSZIP
\item extract it in the main directory of your local \TeX\ tree
\item update the FileNameDataBase (FNDB) in MiKTeX Settings or with \texttt{initexmf -u}\footnote{for system-wide installations you have to add the \texttt{-{}-admin} switch} on the command line
\item include the map file
\begin{itemize}
\item run \texttt{initexmf -{}-edit-config-file updmap}
\item add \texttt{Map flagstaff.map} in the opening editor
\item save the file and close the editor
\item run \texttt{initexmf -{}-mkmaps}
\end{itemize}
\end{itemize}

\subsection{Usage}
If you want to typeset your complete document with the font Flagstaff simply add \texttt{\textbackslash{}usepackage\{flagstaff\}} to your preamble. If not, simply add another font package after \texttt{\textbackslash{}usepackage\{flagstaff\}}. You can switch to the font Flagstaff with the command \texttt{\textbackslash{}FFFlag\-staff}, which is a shortcut for:

\medskip
\texttt{\textbackslash{}fontfamily\{6fs\}\textbackslash{}fontseries\{m\}\textbackslash{}fontshape\{n\}\textbackslash{}selectfont}

\clearpage
\subsection{Font Tables}
\subsubsection{Font Table OT1}
\xfonttable{OT1}{6fs}{m}{n}
\newpage
\subsubsection{Font Table T1}
\xfonttable{T1}{6fs}{m}{n}
\subsubsection{Font Table TS1}
\xfonttable{TS1}{6fs}{m}{n}

\end{document}
