In photoshop, my text size is 5.12pt and font type is Arial.
My base font size for my website is 13px/1.23 Arial.
How would I convert the 5.12pt size to the same size on web?
Thanks!
In photoshop, my text size is 5.12pt and font type is Arial.
My base font size for my website is 13px/1.23 Arial.
How would I convert the 5.12pt size to the same size on web?
Thanks!
The following is a great tool I use: http://pxtoem.com/ It helps converting between different units and for different base sizes.
Just remember fonts are going to render cleaner in graphical programs than in the browser. I mean cleaner in the sense of smoothness, sharpness, and sizing.
The pt to px ratio depends on your document's resolution.
I would start a new photoshop document with pixels and specify everything in pixels there.
Go to Edit > Preferences > Units & rulers
(or Ctrl+K
and choosing Units & Rulers
in the list on the left) and change the default Type
unit from Points
to Pixels
. While you're there, you can also change the Rulers
unit to Pixels
as well (although you can change that by right clicking on the rulers -- CTRL + R to enable them -- and choose the units type from there).
For web, make sure your document DPI is set to 72. You can check and set that from Image > Image Size...
Once you do this, you can safely use the font size (in px) you have in your PS document for web.
Hope this helps.