Re: device-independent units (NOT!)

Walter Ian Kaye (boo@primenet.com)
Tue, 16 May 1995 23:57:57 -0700


Message-Id: <v01510110abdf4c904e1a@[198.68.46.190]>
Date: Tue, 16 May 1995 23:57:57 -0700
To: www-html@www10.w3.org
From: boo@primenet.com (Walter Ian Kaye)
Subject: Re: device-independent units (NOT!)

>Is anyone else as appalled as I am at the use of "pixels" as the
>spatial unit in the Netscape IMG WIDTH and HEIGHT tags? I am writing a
>browser which goes directly from HTML to Postscript, and what am I
>supposed to do with a request to make an image "50" wide? 50 what? I
>guess everyone "knows" that a pixel is 1/75 inch, right? Or is is
>0.01"? Why didn't they use some device-independent unit, and is it too
>late to correct this really shameful situation??

Just treat it as pixel=point.

The use of pixels for image dimensions is probably due to the fact that
when you create an image in your paint program, that is how its dimensions
are defined. It makes perfect sense.

Of course, inter-object spacing is another matter entirely... ;)


-Walter

# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# Walter Ian Kaye: (602) 942-6390  FoxPro/Excel Programmer; Guitarist     #
# Correspond to:   boo@primenet.com, boodlums@genie.com                   #
# BinHex files:    boo@primenet.com   WWW: http://www.primenet.com/~boo/  #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #