/sys/lib/tmac.an (troff -man) loads the LucidaSans fonts:
.fp 1 R LucidaSans
.fp 2 I LucidaSansI
.fp 3 B LucidaSansB
.fp 5 L LucidaCW

If you don't have those, some other font is substituted and that'll
make your output look ugly.

(/sys/lib/tmac.s (troff -ms) doesn't load fonts (defaults to Times roman)

        Sape
--- Begin Message ---
The problem most likely is the missing font informations. If you just use
``dpost -f'' (or the equivalent aux/download ... mentioned earlier) you
should get just what you want. The reason the page display looks good is
that you have access to the fonts as long as you don't leak the postscript
outside a Plan 9 system.

        Martin

* [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote:
> I've been writing a man page and wanted to see how it looks
> when formatted with troff and printed, so I tried:
> troff -man <file> | dpost | lp
> only to find that the printout was extremely ugly. Words seem
> to have run together in some very strange ways; if I had a scanner
> handy I could show what I mean. Anyway, the same thing happens
> when I do:
> troff -man /sys/man/1/cat | dpost | lp
> but not when I do:
> troff -ms /sys/doc/asm.ms | dpost | lp
> 
> Am I missing something simple and fundamental, or is troff/dpost
> just broken?
> 
> 
> John

--- End Message ---

Reply via email to