0

Is there any way to make Adobe Photoshop text dimensions (e.g. height and width) be non-fractional?

Problem

For example, if I use Type tool and just write my text on layout, it will have fractional dimensions. Of course I can use Bounding box to prevent this, but in this case I will need to manually adjust Bounding box size to meet real text size.

The result I want to achive is pretty simple: I just want type my text and get it real dimension in pixels (not something like 65.69 px) to align it properly in my website layout.

2

Surely, I must be missing something in this question...why not just manually enter the (whole) value of the font size you want?

  • Transform your text to the size you'd like
  • Enter the size you want in the highlighted box below

enter image description here

The reason your font might be defaulting to a decimal value is that it's likely the last font size you used.

  • Hello! Thank you for your reply! No! Transforming text using "Transformation tool" is the worst practice in the world. My question is: how to avoid fractional text dimensions (not font size)? – AlexMomotov Nov 1 '16 at 16:21
  • See the image above! – AlexMomotov Nov 1 '16 at 16:23
  • 1
    @AlexMomotov "Worst practice in the world" Really? A bit dramatic, don't you think? I'm confused what the issue is. Transform to a size close to that you want your font to be, then manually round to the nearest whole integer in the font-size box that I mentioned in my answer. Those dimensions in the upper toolbar you are looking at (which only appear when you are using Free Transform) refer to the bounding box of the text, not the font-size, so it's irrelevant in web design anyway. If you want to avoid fractions there, enter your values manually in those spaces... – Manly Nov 1 '16 at 18:26
  • @AlexMomotov also, I never use bounding boxes for text in photoshop. It's really cumbersome to size a box to your text (unless you have a very very specific layout). I prefer to size the text to fit the design. In case you don't know how to enter text without the bounding box: Click wherever you want your text to be while using the type tool (don't click and drag). Then resize like Manly shows in his answer :) – Ashlee Palka Nov 1 '16 at 18:48
0

Here's a thought: try adjusting the kerning of your text to fit in the dimensions of a specific box.

In this example, I made a square artboard (200x200).

Original text

Now, use the keyboard shortcut for kerning to increase or decrease the space in between the letters. (alt+<- or ->)

More kerning

Less kerning

By adjusting kerning, you'll be able to fit your text into any size box you want. Hope this helps.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.