\documentclass[twoside]{jarticle}
\addtolength{\textwidth}{0.9in}
\setlength{\oddsidemargin}{.4in}
\setlength{\evensidemargin}{.4in}
\pagestyle{headings}
\begin{document}
\section{JFM file format}
%JFM$B%U%!%$%k%U%)!<%^%C%H(B
JFM$B%U%!%$%k$N%U%)!<%^%C%H$O!"(B
$B4pK\E*$K$O(BTFM$B%U%!%$%k$N%U%)!<%^%C%H$K=`5r$7$F$*$j!"(B
TFM$B$r3HD%$7$?7A$K$J$C$F$$$k!#(B
$B$3$3$G$O!"<g$K$=$N3HD%ItJ,$K$D$$$F@bL@$r9T$$!"(B
$B$=$NB>$NItJ,$K4X$7$F$O!"(B
\TeX\ the program$BEy$N(BTFM$B$N@bL@$r;2>H$7$F$b$i$$$?$$!#(B
\subsection{JFM$B%U%!%$%k$N9=@.(B}
JFM$B%U%!%$%kA4BN$N9=@.$O!"(B
Table\ref{$B9=@.(B}(\pageref{$B9=@.(B}$B%Z!<%8(B)$B$K<($9$H$*$j$G$"$k!#(B \\
$B$3$3$G(BTFM$B$H0[$J$k$N$O<!$NE@$G$"$k!#(B
\begin{enumerate}
\item {\it char\_type}$B$N%F!<%V%k$,IU$12C$($i$l$?$3$H!#(B
\item {\it ligature}$B$N49$o$j$K(B{\it glue}$B$N%F!<%V%k$,@_$1$i$l$?$3$H!#(B
\item 2$B$K4XO"$7$F!"(B{\it lig\_kern}$B$+$i(B{\it glue\_kern}$B%F!<%V%k$XJQ99$5$l$?$3$H!#(B
\item $B$3$l$i$KH<$$!"@hF,$N%U%!%$%kFb$N3FItJ,$r5,Dj$9$k(B
	$B%Q%i%a!<%?I=$,JQ99$5$l$F$$$k!#(B
	$B$^$?!"%*%j%8%J%k$N(BTFM$B$H$N6hJL$N$?$a$K(Bid$B$rIU2C$7$F$$$k!#(B
\end{enumerate}

\subsection{char\_type}
$B:#2s$N(B\TeX $B$NF|K\8l2=$K$*$$$F$O!"F10l$NJ8;zI}!"(B
$B9b$5A08e$KA^F~$5$l$k%0%k!<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bits)} width\_table $B$X$N%$%s%G%C%/%9(B
\item{height\_index(4bits)} height\_table $B$X$N%$%s%G%C%/%9(B
\item{depth\_index(4bits)} depth\_table $B$X$N%$%s%G%C%/%9(B
\item{italic\_index(6bits)} italic\_table $B$X$N%$%s%G%C%/%9(B
\item{tag(2bits)}
	\begin{description}
	\item{tag=0} {\it remainder}$B$N9`$OL58z$G$"$j;HMQ$7$J$$$3$H$r<($9!#(B
	\item{tag=1} {\it glue\_kern}$B%W%m%0%i%`$,(B{\it glue\_kern[remainder]}
		$B$+$i$K<}$a$i$l$F$$$k$3$H$r<($9!#(B
	\item{tag=2$B!"(B3} $B;HMQ$7$J$$!#(B
	\end{description}
\item{remainder(8bits)}
\end{description}
%
\subsection{glue\_kern}
$BFCDj$N%-%c%i%/%?%?%$%W$NAH$_9g$;;~$KA^F~$9$Y$-(Bglue$BKt$O(Bkern$B$r(B
$B4JC1$J%W%m%0%i%`8@8l$K$h$C$F;XDj$9$k!#(B
$B3FL?Na$O!"0J2<$N(B4$B%P%$%H$G9=@.$5$l$k!#(B
\begin{description}
\item{$BBh(B1$B%P%$%H(B} 128$B0J>e$N;~!"$3$N%o!<%I$G%W%m%0%i%`=*N;!#(B
\item{$BBh(B2$B%P%$%H(B}
	\begin{itemize}
	\item $B<!$NJ8;z$N%-%c%i%/%?%?%$%W$,!"(B
		$B$3$N%P%$%H$G<($9%-%c%i%/%?%?%$%W$HF1$8>l9g!"(B
		$BBh(B3$B%P%$%H$N=hM}$r<B9T$7!"%W%m%0%i%`=*N;!#(B
	\item $B$=$&$G$J$1$l$P<!$N%9%F%C%W$X!#(B
	\end{itemize}
\item{$BBh(B3$B%P%$%H(B}
	$B$3$NCM$K$h$C$F%0%k!<$r07$&$+%+!<%s$r07$&$+$r5,Dj$9$k!#(B
	\begin{itemize}
	\item 127$B0J2<$N>l9g(B{\it glue[remainder$\times$3]}$B$N%0%k!<$rA^F~!#(B
	\item 128$B0J>e$N>l9g(B{\it kern[remainder]}$B$N%+!<%s$rA^F~!#(B
	\end{itemize}
\item{$BBh(B4$B%P%$%H(B} remainder
\end{description}
\subsection{glue$B%F!<%V%k(B}
3$B%o!<%I$G(B1$B$D$N%0%k!<$r9=@.$9$k!#(B
$B3FCM$O!"(B$design size\times2^{-20}$$B$rC10L$H$7$FI=$9!#(B
\begin{description}
\item{$BBh(B1$B%o!<%I(B} width
\item{$BBh(B2$B%o!<%I(B} stretch
\item{$BBh(B3$B%o!<%I(B} shrink
\end{description}
\subsection{param$B%F!<%V%k(B}
\begin{description}
\item{param[1]} italic slant$B!#(B
\item{param[2][3][4]} $B4A;z%U%)%s%H4V$KA^F~$9$k%0%k!<$N%G%U%)%k%HCM!#(B
\item{param[5][6][7]} $B4A;z(B--$B1Q;z%U%)%s%H4V$KA^F~$9$k%0%k!<$N%G%U%)%k%HCM!#(B
\end{description}
\newpage
\begin{table}[h]
\begin{minipage}[b]{2in}
\begin{tabular}{|c|c|} \hline
\hbox to.8in{\hfil$id$\hfil} & \hbox to.8in{\hfil$nt$\hfil} \\ \hline
$lf$ & $lh$ \\ \hline
$bc$ & $ec$ \\ \hline
$nw$ & $nh$ \\ \hline
$nd$ & $ni$ \\ \hline
$nl$ & $nk$ \\ \hline
$ng$ & $np$ \\ \hline
\multicolumn{2}{|c|}{} \\
\multicolumn{2}{|c|}{header} \\ 
\multicolumn{2}{|c|}{}\\ \hline
\multicolumn{2}{|c|}{} \\
\multicolumn{2}{|c|}{char\_type} \\ 
\multicolumn{2}{|c|}{}\\ \hline
\multicolumn{2}{|c|}{}\\
\multicolumn{2}{|c|}{char\_info} \\
\multicolumn{2}{|c|}{}\\ \hline
\multicolumn{2}{|c|}{}\\
\multicolumn{2}{|c|}{width} \\
\multicolumn{2}{|c|}{}\\ \hline
\multicolumn{2}{|c|}{}\\
\multicolumn{2}{|c|}{height} \\
\multicolumn{2}{|c|}{}\\ \hline
\multicolumn{2}{|c|}{}\\
\multicolumn{2}{|c|}{depth} \\
\multicolumn{2}{|c|}{}\\ \hline
\multicolumn{2}{|c|}{}\\
\multicolumn{2}{|c|}{italic} \\
\multicolumn{2}{|c|}{}\\ \hline
\multicolumn{2}{|c|}{}\\
\multicolumn{2}{|c|}{glue\_kern} \\
\multicolumn{2}{|c|}{}\\ \hline
\multicolumn{2}{|c|}{}\\
\multicolumn{2}{|c|}{kern} \\
\multicolumn{2}{|c|}{}\\ \hline
\multicolumn{2}{|c|}{}\\
\multicolumn{2}{|c|}{glue} \\
\multicolumn{2}{|c|}{}\\ \hline
\multicolumn{2}{|c|}{}\\
\multicolumn{2}{|c|}{param} \\
\multicolumn{2}{|c|}{}\\ \hline
\end{tabular}
\end{minipage}
\begin{minipage}[b]{3.3in}
\noindent
\begin{tabular}{l}
$id=$ JFM\_ID number. ($=11$) \\
$nt=$ number of words in the character type table. \\
$lf=$ length of the entire file, in words. \\
$lh=$ length of the header data, in words. \\
$bc=$ smallest character type in the font. \\
$ec=$ largest character type in the font. \\
$nw=$ number of words in the width table. \\
$nh=$ number of words in the height table. \\
$nd=$ number of words in the depth table. \\
$ni=$ number of words in the italic correction table. \\
$nl=$ number of words in the glue/kern table. \\
$nk=$ number of words in the kern table. \\
$ng=$ number of words in the glue table. \\
$np=$ number of font parameter words. \\
\end{tabular}
\end{minipage}
\caption{JFM$B%U%!%$%k$N9=@.(B\label{$B9=@.(B}}
\end{table}
\end{document}
