Search the FAQ Archives

3 - A - B - C - D - E - F - G - H - I - J - K - L - M
N - O - P - Q - R - S - T - U - V - W - X - Y - Z
faqs.org - Internet FAQ Archives

comp.text Frequently Asked Questions
Section - TR9. What are width tables?

( Single Page )
[ Usenet FAQs | Web FAQs | Documents | RFC Index | Business Photos and Profiles ]


Top Document: comp.text Frequently Asked Questions
Previous Document: TR8. What are fonts? How do I add fonts?
Next Document: TR10. How do I make width tables?
See reader questions & answers on this topic! - Help others by sharing your knowledge

Both CAT troff and ditroff need to know the width of each character
that you use.  The widths of each character (along with some additional
characteristics) are arranged in a file for each font.  There are
basically five different width table formats:

	1) CAT troff: uses a binary table of 224 unsigned chars.
	2) MIPS (and RISC/Ultrix) CAT troff uses an ASCII dump of (1)
	3) DWB 2.x and several of the commercial variants use an ASCII
	   format that is compiled into a binary form by a special program
	   called "makedev".
	4) DWB 3.x uses the ASCII format mentioned in (3) - doesn't need
	   to be compiled.
	5) Groff uses the ASCII format mentioned in (4) with minor variations.

If the width tables are wrong, character spacing will look funny - up
to and including overlapping characters, and broken right justification.

User Contributions:

Comment about this article, ask questions, or add new information about this topic:

CAPTCHA




Top Document: comp.text Frequently Asked Questions
Previous Document: TR8. What are fonts? How do I add fonts?
Next Document: TR10. How do I make width tables?

Single Page

[ Usenet FAQs | Web FAQs | Documents | RFC Index ]

Send corrections/additions to the FAQ Maintainer:
textfaq@ferret.ocunix.on.ca (Text FAQ commentary reception)





Last Update March 27 2014 @ 02:12 PM