RE: Best practice for font control

At 11:09 24.01.00 +0100, Karlsson Kent - keka wrote:

>The px unit should *never* be used with text (and preferably not be used at
>all). There is no way of telling how big or small the text glyphs will be,
>not now nor in the future.

Beg to differ. What matters in practice is relative size, px may be the
most useful measure second to ems, and much less troublesome than pts.
While there may be a half dozen or more impressions/implementations of what
a pixel really is, with a few exceptions the end result is the same. 

(*) Graphics. Raster graphics (GIF, JPEG and usually PNG) are measured in
pixels. By having the text set to the same unit, there are less surprises.
(*) Medium relative. Being a relative format unlike points, the result
usually is reasonable.
(*) Windows/other OS'es 12pt onscreen for a Windows PC is 16pt for other
OS'es, 12px is 12px everywhere. This goes for printouts too.

Received on Monday, 24 January 2000 16:58:48 UTC