\usepackage{$fontname}
I get an error which I can't really explain to myself:Code: Select all
! LaTeX Error: Missing begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.9 n
\expandafter\ifx\csname Sfpr@scale\endcsname\relaxn \let\Sfpr@@scale\@...
You're in trouble here. Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
)
! Incomplete ifx; all text was ignored after line 9.
<inserted text>
fi
l.4 \begin{document}
The file ended while I was skipping conditional text.
This kind of error happens when you say `\if...' and forget
the matching `\fi'. I've inserted a `\fi'; this might work.
Code: Select all
\NeedsTeXFormat{LaTeX2e}%
\ProvidesPackage{fingerpaint}[2010/03/05 v1.0 FingerPaint-Regular]%
\RequirePackage{textcomp}%
\RequirePackage{xkeyval}%
\define@key{fingerpaint.sty}{scaled}[1.0]%
{%
\def\Sfpr@scale{#1}%
}%
\define@key{fingerpaint.sty}{leading}[1.0]%
{%
\linespread{#1}%
}%
\ExecuteOptionsX{scaled}%
\ProcessOptionsX\relax%
\renewcommand*{\rmdefault}{fpr}%
\newcommand\FFfpr{\fontfamily{fpr}\fontseries{m}\fontshape{n}\selectfont}%
\endinput%
Some input from my side: I am using the script by editing the default values in the script cause some parameters while calling the script seem to be ignored while calling the script. So if you cant get it to work you can just edit the default values in the script file itself. That will work. Also if you have problems with converting the TTF files just do it yourself with the ttf2pt1 script.
Code: Select all
ttf2pt1 -a -b -l adobestd $filename