Hi
I wanna convert point to pixel. for example 36pt equals with ...px
Thank you
How can I convert point to pixel ?
Moderator: General Moderators
Re: How can I convert point to pixel ?
I may be way off, but I usually add 2 from pt to px. So 36pt would be 38px. A quick way to tell is to write a page & specify the font size of an element in pt. Install Web Developer, type Ctrl + Shift + F & click on that element. The font size will be displayed in px.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
Re: How can I convert point to pixel ?
It depends on the font, operating system, browser, browser text size, and screen resolution. You can't really say "36pt text is 38px tall" because in a lot of circumstances it won't be.
Re: How can I convert point to pixel ?
Ya, I figured it was a rough guess at best.onion2k wrote:It depends on the font, operating system, browser, browser text size, and screen resolution. You can't really say "36pt text is 38px tall" because in a lot of circumstances it won't be.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.