Article View: comp.text
Article #5964Re: How does (di)troff print specials?
From: Rick Richardson
Date: Sat, 11 Mar 1989 19:05
Date: Sat, 11 Mar 1989 19:05
38 lines
2149 bytes
2149 bytes
In article <5800007@ugun21> josef@ugun21.UUCP writes:
>Can somebody tell me the exact structure of the DESC.out and XX.out
>files (XX=R,I,B,H,S,...)?
Look in the font(5) manual page.
>What I am most interested in is the question:
>
> Given a troff special character like \(dg, how does ditroff
> figure out where to find the information on how to print the dagger?
> I.e. what is the path ditroff (and it's post-processors dxxxx) follows
> from \(dg to e.g. the bitmap for a dagger in file S.out.
The *.out files don't have character bitmaps in them.
They simply tell troff which characters and special
characters exist in the typeface, how wide they are at
a specific size (usually 10 pt), and what code to output to the
postprocessor. It is up to the postprocessor to do whatever is
necessary to get the glyph numbered 'code' to print on the printer.
This may or may not involve bitmaps, depending on the printer.
The postprocessor can store the bitmaps, outlines, or whatever
in any format it desires.
BTW, in my opinion, the *.out files are troff's weakest link
as far as 'keeping up with the Jones' goes. They do not
allow non-linearly scaled typefaces, have no height info,
and have no kerning info. Furthermore, they place a ridiculously
low limit upon the number of glyphs in a typeface. You can fix
the language with a preprocessor, but you can't easily
teach troff about typefaces that don't fit troff's model.
-Rick
--
Rick Richardson | JetRoff "di"-troff to LaserJet Postprocessor|uunet!pcrat!dry2
PC Research,Inc.| Mail: uunet!pcrat!jetroff; For anon uucp do:|for Dhrystone 2
uunet!pcrat!rick| uucp jetroff!~jetuucp/file_list ~nuucp/. |submission forms.
jetroff Wk2200-0300,Sa,Su ACU {2400,PEP} 12013898963 "" \d\r\d ogin: jetuucp
Technical Details
Message-ID:
<702@pcrat.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!pcrat!rickReferences:
<5800007@ugun21>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!pcrat!rick From: rick@pcrat.UUCP (Rick Richardson) Newsgroups: comp.text Subject: Re: How does (di)troff print specials? Message-ID: <702@pcrat.UUCP> Date: 11 Mar 89 19:05:56 GMT References: <5800007@ugun21> Reply-To: rick@pcrat.UUCP (Rick Richardson) Organization: PC Research, Inc., Tinton Falls, NJ Lines: 38