The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: "Nelson H. F. Beebe" <beebe@math.utah.edu>
To: tuhs@minnie.tuhs.org
Subject: Re: [TUHS] Reconstructed and newly set UNIX Manual
Date: Sat, 27 Oct 2018 08:18:06 -0600	[thread overview]
Message-ID: <CMM.0.95.0.1540649886.beebe@gamma.math.utah.edu> (raw)

Angelo Papenhoff <aap@papnet.eu> writes about the conversion of
printer points to other units:

>> >From my experience in the world of prepress 723pts == 10in.
>>
>> Then Adobe unleashed PostScript on us and redefined the point
>> so that 72pt == 1in.
>>
>> Ibunaware of any other definitions of a point.

The most important other one is that used by the TeX typesetting
system: 72.27pt is one inch.  TeX calls the Adobe PostScript one a big
point: 72bp == 1in.  Here is what Don Knuth, TeX's author, wrote on
page 58 of The TeXbook (Addison-Wesley, 1986, ISBN 0-201-13447-0):

>> ...
>>     The units have been defined here so that precise conversion to sp
>>     is efficient on a wide variety of machines. In order to achieve
>>     this, TeX's ``pt'' has been made slightly larger than the official
>>     printer's point, which was defined to equal exactly .013837in by
>>     the American Typefounders Association in 1886 [cf. National Bureau
>>     of Standards Circular 570 (1956)]. In fact, one classical point is
>>     exactly .99999999pt, so the ``error'' is essentially one part in
>>     10^8.  This is more than two orders of magnitude less than the
>>     amount by which the inch itself changed during 1959, when it
>>     shrank to 2.54cm from its former value of (1/0.3937)cm; so there
>>     is no point in worrying about the difference. The new definition
>>     72.27pt=1in is not only better for calculation, it is also easier
>>     to remember.
>> ...

Here sp is a scaled point: 65536sp = 1pt.  The distance 1sp is smaller
than the wavelength of visible light, and is thus not visible to
humans.

TeX represents physical dimensions as integer numbers of scaled
points, or equivalently, fixed-point numbers in points, with a 16-bit
fraction.  With a 32-bit word size, that leaves 16 bits for the
integer part, of which the high-order bit is a sign, and the adjacent
bit is an overflow indicator.  That makes TeX's maximum dimension on
such machines 1sp below 2^14 (= 16,384) points, or about 5.75 meters
or 18.89 feet.

-------------------------------------------------------------------------------
- Nelson H. F. Beebe                    Tel: +1 801 581 5254                  -
- University of Utah                    FAX: +1 801 581 4148                  -
- Department of Mathematics, 110 LCB    Internet e-mail: beebe@math.utah.edu  -
- 155 S 1400 E RM 233                       beebe@acm.org  beebe@computer.org -
- Salt Lake City, UT 84112-0090, USA    URL: http://www.math.utah.edu/~beebe/ -
-------------------------------------------------------------------------------

             reply	other threads:[~2018-10-27 14:51 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-27 14:18 Nelson H. F. Beebe [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-10-27 11:59 Doug McIlroy
2018-10-27 12:28 ` Angelo Papenhoff
2018-10-27 13:07   ` Milo Velimirovic
2018-10-27 13:56     ` Toby Thain
2018-10-27 15:19     ` Ralph Corderoy
2018-10-27 15:53 ` Clem Cole
2018-10-27 16:25   ` Larry McVoy
2018-10-27 19:45   ` Lars Brinkhoff
2018-10-26 19:46 Angelo Papenhoff
2018-10-26 19:57 ` Jim Capp
2018-10-26 20:41 ` Clem Cole
2018-10-26 21:05   ` Angelo Papenhoff
2018-10-26 21:58     ` Bakul Shah
2018-10-26 20:59 ` Warren Toomey
2018-10-27 17:15   ` Angelo Papenhoff
2018-10-27 17:41     ` Angelo Papenhoff
     [not found] ` <20181026214308.GA20796@minnie.tuhs.org>
     [not found]   ` <20181026221153.GA19920@indra.papnet.eu>
2018-10-26 22:29     ` Angelo Papenhoff
2018-10-26 23:06       ` Warner Losh
2018-10-26 23:46         ` Larry McVoy
2018-10-28 22:57 ` Angelo Papenhoff
2018-10-29  0:15   ` Clem cole
2018-11-01 17:21 ` Angelo Papenhoff

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CMM.0.95.0.1540649886.beebe@gamma.math.utah.edu \
    --to=beebe@math.utah.edu \
    --cc=tuhs@minnie.tuhs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).