[comp.text] Metafont HELP!!!

wainscot@wheatena.berkeley.edu (Brian Wainscott) (03/28/89)

I have been having problems in Metafont defining my own printer mode for
making some fonts.  Specifically, I am trying to generate fonts for a device
that has 360 horozontal DPI but only 180 vertical, and when I set the
aspect_ratio variable to 1/2, I get wierd results for small characters.
(I'm using an EPSON LQ850, which is ok in 180x180 mode, but there is a
360x180 mode I want to try to get working.)

CMR10 dosen't look right until I hit about magstep2, because at lower mag
all the horozontal strokes are too thick - in fact twice as thick as the
same strokes on my old 180x180 font.

I would also like to know where to get Metafont input for any good fonts
for use with mathematics (particularly the Blackboard Bold font).

Any suggestions/help would be GREATLY appreciated.

P.S.  -  Anyone know where I can get my hands on the source for a printer
         driver - once I get the fonts working I'll need one, and don't
         REALLY want to write one complete from scratch!

-Brian Wainscott
wainscot@math.berkeley.edu

dhosek@jarthur.Claremont.EDU (Donald Hosek) (04/03/89)

In article <22141@agate.BERKELEY.EDU> wainscot@wheatena.berkeley.edu (Brian Wainscott) writes:
>
>I have been having problems in Metafont defining my own printer mode for
>making some fonts.  Specifically, I am trying to generate fonts for a device
>that has 360 horozontal DPI but only 180 vertical, and when I set the
>aspect_ratio variable to 1/2, I get wierd results for small characters.
>(I'm using an EPSON LQ850, which is ok in 180x180 mode, but there is a
>360x180 mode I want to try to get working.)
>
>CMR10 dosen't look right until I hit about magstep2, because at lower mag
>all the horozontal strokes are too thick - in fact twice as thick as the
>same strokes on my old 180x180 font.

I think this at least partly due to the way in which MF is drawing the 
strokes: most likely at the lower resolutions, things aren't lining up
properly on the pixel boundaries... I don't think that CM was tested 
exhaustively on non-unit aspect ratio printers.

I'm aware of at least one driver for the 360x180 mode of the Epson which
simply takes 360dpi fonts and does vertical subsampling. The results are
probably at least as good as what you'll get directly from MF... You really
can't get decent MF output at resolutions under 200dpi. You certainly
can't expect to get anything better than draft output from your Epson.

>I would also like to know where to get Metafont input for any good fonts
>for use with mathematics (particularly the Blackboard Bold font).

Ahem. My first reaction is yeah, right. The status of the AMS math fonts
(in which bb appears) is that either the fonts are in old mf (and thus the
source is useless--this is the case with msym and msxm as well as the mcy
fonts) or it's in new MF and costs money (this is the case with the euler 
fonts. As far as I know, there are no pd Metafonts for mathematics other than
what's provided with TeX and LaTeX. I'd be glad to herre news to the contrary.

>P.S.  -  Anyone know where I can get my hands on the source for a printer
>         driver - once I get the fonts working I'll need one, and don't
>         REALLY want to write one complete from scratch!

Send me a note at U33297@UICVM.UIC.EDU and I'll prepare you a list of what's
in the TUG DVI driver database.

-dh