%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%  This is an input file for  propw  to make jis.pl
%
%  The line starting with the character # or a figure
%   (excluded the top spaces) has only meaning
%
%             Written by SHIMA, Nov. 2000
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%  Usage: propw propw.txt
%         propw < propw.txt
%
%   propw "-fm=MS P MINCHOU" "#lr o" > mspmin.pl
%   propw -o=msptmin.pl -v -zw=1 -zh=1 -zd=.151515 "#@lr o" > propw.log
%
%   propw < data_from_dviout
%
%  "data_from_dviout" for a Japanese (proportional) TrueType font can be 
%   obtained as follows.
%
%    1. Display testw.dvi by dviout.
%
%    2. Link a Japanese (proportional) TrueType font to min/tmin:
%         [Option] -> Setup Parameters... -> [WinJFont]
%         Select min/tmin in [jfm]
%         Push [Change Font], select a TrueType font and [Ok]
%         Push [Define] and [Ok]
%         (min is for YOKO -the first page- and tmin for TATE -the scond-)
%
%   3. [Help] -> Character Size of TrueType
%
%   4. Push [Copy], open an editor (ex. MemoChou/notepad), paste from 
%      the clipboad (Henshu -> Haritsuke) and save it as a file.
%
%   5. The file is  "data_from_dviout".
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

The order of lines in this file are not essential.

output file name
%o=jis.pl
%o=jis.tfm

tate?
%#t

%#cs 0			CHECKSUM
%#cs-					default CHECKSUM

%#zw 0.962216		QUAD		tfm width
%#zh 0.916443		XHEIGHT		height+depth
%#zd 0.138855		CHARDP		depth
%#ds 10			DESIGN SIZE
%#st 0.091641		STRETCH
%#ep 0.229101		EXTRASPACE
%#et 0.183283		EXTRASTRETCH
%#eh 0.114551		EXTRASHRINK
%#ad 0.0				plus value of glue
%#kn 9			e g i k m o q s u w y 

square box?
%#q
% -> zh = zw       zd = zw*0.151515
%    st = zw*0.1   sp = zw/4           eh = zw/8      et = zw/5

generate PL file
#p

FAMILY
#fm JIS KANJI

TrueType font name (if it begins with '@', then -t is automatically set)
%#Font: "@lr o"

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% The width of characters are indicated as follows  %
%   <width>  <a character>  <comment>               %
%                                                   %
% The KANJI first appeared is assumed to be ZENKAKU %
%  <width> is relative to the <width> of ZENKAKU    %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%256 
%170 A
%170 B
%128 i
%208  2411
%248  2422
%... ..