PhotoshopForums.com Home
Navigate Contact FAQ Search Members
font size v line height (PSD to HTML email problem)
Post new topic   Reply to topic    PhotoshopForums.com Forum Index -> General Photoshop and Design Discussion
 See a User Guidelines violation? Please contact us.
Author Message

goodship

Joined: 25 Jan 2012
Posts: 3



PostPosted: Mon Feb 06, 2012 7:15 am    Post subject: font size v line height (PSD to HTML email problem) Reply with quote

Hello,

I have a PSD which needs to be converted into an HTML email - pixel perfect.

There is text which has a font size of 27px (according to the type tool). However the text only occupies a vertical line-height of 20px- I have measured it in Photoshop with the ruler calibrated in pixels.

How can this be possible because if I add up the vertical height of all the rows of the box that this text sits within, it exceeds the height of the box on the PSD, by 7px (i.e. 27px - 20px = 7px).

This is causing problems when coding the HTML email. I am indeed setting the font size to 27px and it looks correct but it is too big in terms of the total height of the box (that the text sits within).

Any explanation would be most appreciated.

Thank you
View user's profile Send private message

jerryb4417

Joined: 20 Dec 2008
Posts: 710
Location: Oklahoma
PS Version: photoshop cs5
OS: win7 pro 64 bit, i7-3.2g, GTS 450,

PostPosted: Mon Feb 06, 2012 9:13 am    Post subject: Reply with quote

hi,
not sure if i am visualizing the issue correctly but first thing that came to my mind is the font style...

a ariel size 10 is different than let say a signature size 10 ...

so my first question is what font are you using?
View user's profile Send private message

goodship

Joined: 25 Jan 2012
Posts: 3



PostPosted: Mon Feb 06, 2012 9:36 am    Post subject: Reply with quote

Thank you for replying.

I am using Arial size 10 regular strong
View user's profile Send private message

goodship

Joined: 25 Jan 2012
Posts: 3



PostPosted: Mon Feb 06, 2012 9:37 am    Post subject: Reply with quote

sorry, 27, not 10
View user's profile Send private message

jerryb4417

Joined: 20 Dec 2008
Posts: 710
Location: Oklahoma
PS Version: photoshop cs5
OS: win7 pro 64 bit, i7-3.2g, GTS 450,

PostPosted: Mon Feb 06, 2012 1:24 pm    Post subject: Reply with quote

hi,
first.. still having a issue visualizing however mayb come up with somthing that can help

1. first font size really has nothing to do with pixels!! has to do with points and not pixels....
that sort of why your numbers don't work out...
here.
this is shot article on this...
http://www.ehow.com/about_6502418_font-point-size_.html

2. what you might try.... and there could be other ways... bring up your character panel , either from the menue or there a toggle button at the top when in text mode ,,, and there, even though you don't don't change the point size but you can change physical sizes.....
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    PhotoshopForums.com Forum Index -> General Photoshop and Design Discussion All times are GMT - 6 Hours
Page 1 of 1
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Contact - User Guidelines >

Copyright © 2003-2016. PhotoshopForums.com, iFroggy Network. All Rights Reserved.
Powered by phpBB © phpBB Group. phpBB SEO. Privacy Policy.
We are in no way affiliated with Adobe. Photoshop, Adobe and related marks are registered trademarks of Adobe.
PhotoshopForums.com