[comp.text.tex] ctex 3.0 and gray.mf

kjartan@rhi.hi.is (Kjartan R. Gudmundsson) (08/03/90)

After installing tex3.0 on my unix machine, I was
unable to input any eight bit characters.  Eight bit characters always
showed up as space in the output.  Dvitype also reported a space
character where my eight bit characters where suposed to be. 

The file extra.c contains
-->boolean zinputln(f)
--> ...
-->#ifdef  NONASCII
-->        buffer[last++] = i;
-->#else
-->        buffer[last++] = (i > 127 || i < 0)?' ':i;
-->#endif
--> ...

In my opinion this should be changed, TeX3.0 is a eight bit program
and in fact the change file ctex.ch contains

-->%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-->% [2.23] allow any character that we can input to get in
-->%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-->@x
-->for i:=0 to @'37 do xchr[i]:=' ';
-->for i:=@'177 to @'377 do xchr[i]:=' ';
-->@y
-->for i:=0 to @'37 do xchr[i]:=chr(i);
-->for i:=@'177 to @'377 do xchr[i]:=chr(i);
-->@z

extra.c also contains the line
		    *temp++ = filename[i++] & 0x7F;

If the operating system being used does support eight bit filenames
(as does HPUX and AIX) then this code is wrong of course,
if the operating system does not support 8-bit filenames then the
variable "filename" will not contain 8 bit characters and there
is no need to strip the eight'th bit when copying to the variable "temp".

After these changes ctex3.0 works well on my HP9000/840 running HP-UX,
the dvi file prints correctly on the laserjet with our old driver (TeX82
DVI Translator Version 2.10) from Nelson Beebe. (I used a testfont with
some characters in positions > 127)

My next step is to extend the CMR fonts, I have read proposal in TuGboat
about basing the extension on the code-tables used on the IBM-PC (!!).  (Vol
11/2 june1990).  I will base my extensions on ISO/8859-1. If there
is any work being done on standardization on  the extensions of the cmr
fonts, I would like to know about it.

Gray fonts: The program gftodvi (or GFtoDVI) needs gray fonts, I have
not been able to build gray fonts from the mf sources.  If any one can
point out gray.300pk and gray.tfm I would be greatful.