Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

points and pixels

Status
Not open for further replies.

imadmarie

Programmer
Nov 14, 2001
14
JO
hi guys, what im trying to do is to find a function in vbscript that converts from points to pixels, or vice versa, no luck so far !! any help ?
 
Points and pixels from what source and in what environment? In printing and typesetting, there are approximately 72 pixels per inch (72 points = .996", if I remember correctly). Different sizes of screens and different resolutions would make that all pretty much impossible to calculate. A 17" screen at a resolution of 800 x 600 would have a different number of pixels per inch than a 15" monitor at the same resolution. As well, monitor font sizes (like for vision impaired settings) would affect the size in some applications.
 
And then try viewing the page on a Mac, any browser. It'll make you cry for sure.

I don't recall the ins & outs, but everything seems to end up "whacked" on a Mac.

Check out
This has screen-shots from various platforms for common web fonts at various point and pixel sizes.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top