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/  #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #

Received on Wednesday, 17 May 1995 11:45:26 UTC