Photoshop: Font style size problems in CS6

  • 41
  • Problem
  • Updated 4 years ago
  • Solved
  • (Edited)
The charater style is buggy sometimes it won't change the type size. e.g. 14pt will appear has 8.64pt it's very frustrating. Something which I felt would speed my process up has slowed things down.
Photo of sam Dallyn

sam Dallyn

  • 3 Posts
  • 0 Reply Likes
  • frustrated

Posted 7 years ago

  • 41
Photo of Paul Riggott

Paul Riggott

  • 360 Posts
  • 144 Reply Likes
It's still bust!
It still only reports the base font size before a transform.
alert(app.activeDocument.activeLayer.textItem.size);
Photo of Charles Badland

Charles Badland

  • 60 Posts
  • 4 Reply Likes
"It's still a bust"

Same here. 13.0.5 Update made Character Values behave even worse after scaling text.
Photo of Charles Badland

Charles Badland

  • 60 Posts
  • 4 Reply Likes
Pete or Jeffrey,
Any word on fixing the Character Panel bugs re-introduced in the 13.0.5 update? It is a real PITA.
I hope with the release of CC, Adobe has not abandoned its last perpetual version of Photoshop. In fact, it would be nice to see CS6 eventually tuned to perfection, since it is all we can fall back on now.
Photo of Charles Badland

Charles Badland

  • 60 Posts
  • 4 Reply Likes
Looking at posts in Adobe Photoshop Forum today, this text bug in is CC too.
(again, I sure with Adobe just had ONE official forum)
Photo of B.O.B.

B.O.B.

  • 28 Posts
  • 1 Reply Like
Is that true? The bug lives on?
Photo of Charles Badland

Charles Badland

  • 60 Posts
  • 4 Reply Likes
That's what is being described over in Adobe Photoshop Forum.
http://forums.adobe.com/community/pho...
Photo of David

David, Official Rep

  • 3096 Posts
  • 481 Reply Likes
Can we please be clear here that the bug initially described in this thread, point sizes for type that are wrong, IS FIXED. (Note, no question mark!)

There is another issue, which ONLY impacts users of scripts, which persists.

This bug or design glitch or user-error (it's open for debate) is a question of architecture, which we have been discussing internally -- should transformed Type be treated differently than other Transformed layers? To this point, our answer has been "no" which is why the Point Size of a layer is kept distinct from the Transform Factor applied to it -- for example, if you have 18pt Tahoma that you transform by 200%, what you're really seeing is NOT 36pt (though that's what's displayed in the Options Bar and Character Panel); what you really see is 18pt type that's been expanded by a factor of 2. As a result, scripts currently report the underlying type size (in this case 18pt) and not the "adjusted" type size (in this case 36).

An immediate solution to the problem would be to use the following code snippet in your script to determine if a transformation has been applied and what factor it is. Then, you can multiply and you're good.

runCopyCSSFromScript = true;
if (typeof cssToClip == "undefined")
$.evalFile( app.path + "/" + localize("$$$/ScriptingSupport/Required=Required") + "/CopyCSSToClipboard.jsx" );

var textDesc = cssToClip.getLayerAttr( "textKey.textStyleRange.textStyle" );
var fontSize = textDesc.getVal( "size" );

// Matrix: [xx xy 0; yx yy 0; tx ty 1], if not identiy, then add it.
var textXform = cssToClip.getLayerAttr( "textKey.transform" );
var xscale = 1.0, yscale = 1.0;
if (textXform)
{
function xfm(key) { return textXform.getVal( key ); }
var xscale = xfm( "xx" );
var yscale = xfm( "yy" );
}

$.writeln( 'Photoshop text size: ' + fontSize * yscale );

If you are missing CopyCSSToClipboard.jsx, please just let me know and I can email it to you. Everything else should work just nifty.

A longer-term solution would require us to change how point sizes are reported via scripting. This change could be problematic to some users, especially those using Type Styles, but we will look into it further.

Thanks,
David
Photo of Charles Badland

Charles Badland

  • 60 Posts
  • 4 Reply Likes
David,
My response was to Christopher's post saying that the bug has now migrated to tracking input (and keening and leading). This is not a user problem and is reproducible. It has nothing innately connected to scripts. Scale text and most all Character input goes haywire.
Photo of David

David, Official Rep

  • 3096 Posts
  • 481 Reply Likes
Howdy Charles,

We are aware of the bug and are looking into a solution. A workaround is to change the tracking or leading using keyboard input.

Thanks,
David
Photo of MICHAEL DRINKS

MICHAEL DRINKS

  • 9 Posts
  • 0 Reply Likes
Actually, I'm typing in 175 for the font size and it's turning that into 16741.97 and giving me an error message that won't go away. It flips to Leading when I hit ok and gives me an error for that, although I am only changing type size. Having to force quit.
Photo of MICHAEL DRINKS

MICHAEL DRINKS

  • 9 Posts
  • 0 Reply Likes
Now I get it. It appears the text I was trying to change in an old file had a base size of 15pt when I copied and pasted it into a new piece of text. It must have had a transform applied, although it was indicating that the size was 202 pt. When I tried to drag slide the size or type in a number it would convert to a number over the max font size. BUG. v13.0.5 x64
Photo of Paul Riggott

Paul Riggott

  • 360 Posts
  • 144 Reply Likes
I've had a few e-mails from Adobe and eventually admitted there is a bug, but will we ever get a fix for for CS6?


OK, yes, it looks like this is our bug to me too.
I will file this and request to fix in next version.

I truly apologize for the inconvenience and thank you very much for bringing the issue to us.

Best Regards,
Kyoko
Photo of Charles Badland

Charles Badland

  • 60 Posts
  • 4 Reply Likes
Kyoko is A-OK. She was very responsive when I corresponded with her on the text corruption bug in CS6.
Photo of Xaime Aneiros

Xaime Aneiros

  • 3 Posts
  • 0 Reply Likes
Now the type size seems to be fixed and the problem it's the tracking! I enter 10 and I get 1, I enter 50 and I get 9!!!
Photo of David

David, Official Rep

  • 3096 Posts
  • 481 Reply Likes
Hi Xaime,

We are aware of the problem and looking into a solution.

Thanks,
David
Photo of Jaydude

Jaydude

  • 29 Posts
  • 1 Reply Like
In CC (Photoshop 14.0), tracking is still not OK. Seems to be 1/10 of the tracking values we are used to.
Photo of David

David, Official Rep

  • 3096 Posts
  • 481 Reply Likes
Hi Jan,

There is a new bug with regard to tracking of transformed text. Was your text transformed?

David
Photo of Alexandre Souza

Alexandre Souza

  • 5 Posts
  • 0 Reply Likes
I have both CC and CS6. My original text (in CC) has 54px. However, when I open it in CS6, the font size shows 127.55px

Pretty crazy, right? Both Photoshop have the latest updates. Ideas?
Photo of David

David, Official Rep

  • 3096 Posts
  • 481 Reply Likes
There's a transformation of 236.203% associated with the text. If you copy it, it will be the original point size of 54. But if you move it, the transformation factor will remain. There was a bug in CS6 with transformations. We're currently working on a fix.

Thanks,
David
Photo of Agus Riady

Agus Riady

  • 15 Posts
  • 0 Reply Likes
Glad that this is officially recognized as bug again. I was really confused why after the last update—which claimed to solve the bug, I still have problems with text layers.

Come on Adobe, do something about it quick! I really frustrated with this bug. I have to manually fill in the size of tens of text layer just to avoid this bug when transforming text. This really a productivity killer. CS6 upgrade is the most regretful thing I've ever done since the first time I know Adobe software. Such a simple feature, but buggy for such a long time (2 years since CS6 launch!).

Please do something... Please...
Photo of Nicklaus Deyring

Nicklaus Deyring

  • 1 Post
  • 0 Reply Likes
Have to agree with agus, dealing with this bug every day is really irritating.
Photo of Jon Fuller

Jon Fuller

  • 106 Posts
  • 15 Reply Likes
I set tracking to 10, and then it shows as 4. Wha?!
Photo of David

David, Official Rep

  • 3096 Posts
  • 481 Reply Likes
You transformed the layer by 250%.
Photo of Jon Fuller

Jon Fuller

  • 106 Posts
  • 15 Reply Likes
Clearly, but it's still unexpected behavior. When transforming text, I don't care what the original size used to be. I don't want to track the new size by only 4. I typed 10 for a reason...
Photo of David

David, Official Rep

  • 3096 Posts
  • 481 Reply Likes
Howdy Garconis,

Yes, you're right. We should not be changing user-entered values. There's a bug in the current version. We are actively working on a fix. Sorry if I wasn't clear enough.

Thanks,
David
Photo of omegaequalsone

omegaequalsone

  • 2 Posts
  • 0 Reply Likes
i started this thread about the same issue on the adobe PS CC forum. i am surprised this has not been addressed yet... but on the other hand, since people purchasing PS CC are ignorant to the issue (and are probably not reading the forums in droves before they buy), it's probably in reality (from adobe's POV) not super-critical since it's not interfering with sales.

this really, really sucks, adobe. you're basically flipping off your hardcore loyal PS users. i know it's been said many times here, but this is not a minor bug..for those of use working on web design & visual comps this is HUGE issue and essentially renders PS CC COMPLETELY UNUSABLE. my 30 day trial ran out, so i'd guess the chances of getting another trail are slim to none. and being that CS6 works just fine, i'm very unlikely to purchase creative cloud.
Photo of Charles Badland

Charles Badland

  • 60 Posts
  • 4 Reply Likes
"and being that CS6 works just fine..."
Don't update your CS6 then. This same bug was also introduced in its last update.

edit: Actually it looks like Adobe pulled the CS6 update with this bug from their download page? Latest version listed in the PS Mac download is13.0.4. My CS6 version now with text bug is 13.0.5. Hmm.
Photo of Ed Rodgers

Ed Rodgers

  • 1 Post
  • 0 Reply Likes
is there any workaround for this issue?

i'm a new CC user as of this week and went to use text and had this happen... i was on CS2 and even in PS CS2 it now has the same bug (must be a shared library?)
Photo of David

David, Official Rep

  • 3096 Posts
  • 481 Reply Likes
Hi Ed,

We're aware of the problem and working on a fix. The bug revolves around transformed text and the widgets which allow user control of that text.

Until the solution is officially available, a work-around for the bug is to simply not transform type. Or, if that is too inimical to your workflow, go ahead and make the transformations that you want, note the new point size of the font, and Undo. Afterwards, you can simply change the point size of the font WITHOUT a transformation and the bug will not be triggered.

We know this is not ideal, but it is a solution until we can get a fix built, vetted, and available to the public.

Thanks,
David
Photo of Agus Riady

Agus Riady

  • 15 Posts
  • 0 Reply Likes
Hi David,

I didn't thought of that workaround before. But it is still impractical and not flexible enough in many scenarios.

So I once again beg the team at Adobe to fix this two years old bug ASAP.

Please push the team to do it as fast as they can David, as you are the one who hear our complaints. We are also as tired as you complaining about the same thing. But this still a very frustrating issue most of us.

Thanks... still frustrated...
Agus
Photo of Sara

Sara

  • 1 Post
  • 0 Reply Likes
Please fix this issue for CS6. I bought CS6 just months ago and its driving me crazy.
Photo of David

David, Official Rep

  • 3102 Posts
  • 483 Reply Likes
Official Response
Okay, I can finally post this:

We have made many fixes to the behavior of transformed text and they are now available in the latest release, Photoshop 14.1, which you can download RIGHT NOW. I will acknowledge, there are still a few lingering issues to resolve, but for most users, these fixes should handle their problems. We felt it was better to get a partial fix out now than a perfect fix in the future. We are still planning additional improvements for a coming release.

If you are still struggling with problems, by all means let us know so we can make sure we address them.

Thanks and enjoy!
David
Photo of Jon Fuller

Jon Fuller

  • 106 Posts
  • 15 Reply Likes
What about CS6 users?
Photo of Agus Riady

Agus Riady

  • 15 Posts
  • 0 Reply Likes
Same here. Can we get any estimate when Photoshop 13 got the same update?

Thanks!
Photo of MICHAEL DRINKS

MICHAEL DRINKS

  • 9 Posts
  • 0 Reply Likes
Thanks for hearing these concerns, but since it has been known about for a while, it seems like it should justifiable to get this fix implemented in CS6? I would rather not upgrade at this time. Thanks David
Photo of David

David, Official Rep

  • 3102 Posts
  • 483 Reply Likes
Hi Michael and everyone else,

Yes, we have not forgotten CS6. We are looking into putting these fixes into an upcoming dot-release for perpetual users. At this time, that's all I can say.

Meanwhile, for those who have switched to CC, the first round of fixes are available today.

Thanks,
David
Photo of Agus Riady

Agus Riady

  • 15 Posts
  • 0 Reply Likes
Great news. Hope it will be released very soon.

Thanks David
Photo of MICHAEL DRINKS

MICHAEL DRINKS

  • 9 Posts
  • 0 Reply Likes
Thanks David. (Putting down pitchfork)
Photo of David

David, Official Rep

  • 3102 Posts
  • 483 Reply Likes
We have been working on a solution to these bugs for CS6 as well a for CC. While the transformed type fix for the Creative Cloud is already released, that for CS6 is still being refined.

If you are interested, I would invite you to join a special prerelease program to validate these bugs really are resolved. All you have to do is respond to this message. I will then submit your name and email address to the program. You will need to sign a non-disclosure agreement, since this software is not available to the general public. Then, you can download and tryout the fix for yourself. If we've missed something, your voice can help us catch it and repair it.

Thanks,
David
Photo of Agus Riady

Agus Riady

  • 15 Posts
  • 0 Reply Likes
I can help.
Photo of Alan Trewartha

Alan Trewartha

  • 2 Posts
  • 0 Reply Likes
belt and braces responding here - I would be very interested to see this fix
Photo of klipp86

klipp86

  • 4 Posts
  • 0 Reply Likes
David, I am interested in getting this problem fixed for CS6. I tried Cory's work around and it didn't seem to work for me. Please help! How do I provide you with my email?
Photo of David

David, Official Rep

  • 3102 Posts
  • 483 Reply Likes
Check your email, Klipp! 8-)
Photo of Christopher Murphy

Christopher Murphy

  • 7 Posts
  • 1 Reply Like
I would love to help fix the CS6 version. Sign me up.
Photo of MICHAEL DRINKS

MICHAEL DRINKS

  • 9 Posts
  • 0 Reply Likes
Count me in!
Photo of Alan Trewartha

Alan Trewartha

  • 2 Posts
  • 0 Reply Likes
I would be very interested to help check this has been fixed
Photo of corychurch

corychurch

  • 1 Post
  • 0 Reply Likes
It seems like this problem only exists if you manually transform the text after you've entered it and THEN try to adjust its tracking or like. For example, i choose the text tool (font size defaults to 30px or something). Then I grab a corner and make it larger. Then I try to adjust the tracking and this issue occurs. HOWEVER, if I choose the text tool, choose my font size that I think I want, then change the tracking, it works as normal.

I derived the workaround from here: http://davechapfilms.com/photoshop-cs...
Photo of David

David, Official Rep

  • 3102 Posts
  • 483 Reply Likes
Howdy Cory,

You are right on the money. That said, we have a fix in the latest patch for CC and we will be releasing a fix for CS6 soon.

Thanks,
David
Photo of Allen Roberts

Allen Roberts

  • 107 Posts
  • 1 Reply Like
Seems like I just stumbled into this problem.

I have a script that worked just fine until I updated from 13.0 to 13.1 and then text sizes started to go crazy. Code is very simple, just changes the contents a text layer textItem.contents = "new text", but with 13.1, the size changes as well as the text in the script.

When I look at the layer with the text tool, it says the size is 20pts, but the script actually sees the size at a much smaller size (13).

The work around was to delete the layer and recreate. Apparently at some point in time, the layer had been transformed.

This is a huge problem for existing scripts!
Photo of Paul Riggott

Paul Riggott

  • 360 Posts
  • 144 Reply Likes
I have a function here to get the correct font size, hope it helps.

http://www.ps-bridge-scripts.talktalk...
Photo of Allen Roberts

Allen Roberts

  • 107 Posts
  • 1 Reply Like
Paul:

That is a help. A couple of suggestions..

1. I didn't have this problem with 13.0, so perhaps the check should be for 13.0.1 (version I have now).

2. The function returns a string, which makes setting the size incorrect. Perhaps return parseInt(textSize);

3. The function assumes the layer to get the size is the active layer... which wasn't the case with most of my code.

Allen
Photo of Paul Riggott

Paul Riggott

  • 360 Posts
  • 144 Reply Likes
The first version of CS6 was unusable for me, the updates are essential.
You could call the function with..
var FontSize = Number(getFontSize());
I suppose you could amend the code depending if you are useing the Layer Index or the Layer ID.
Photo of Allen Roberts

Allen Roberts

  • 107 Posts
  • 1 Reply Like
I added parseInt() on your code and then switched the layer with the text content to the active layer. Thanks for the function!
I have stayed away from CS6 because of problems with crashing on printing... but the new crop tool is nice, so was using it for heavy cropping projects. I did an update and boy did I get surprised.. printed 300 8x12s with the wrong size text. When scripts go bad.. they can be expensive.
Photo of Allen Roberts

Allen Roberts

  • 107 Posts
  • 1 Reply Like
I see that 13.0.5 is suppose to fix this problem. I don't see a download for that, and my copy thinks it is up to date with 13.0.1.

Is this problem fixed in 13.0.5?

Allen
Photo of Allen Roberts

Allen Roberts

  • 107 Posts
  • 1 Reply Like
Sorry... 13.0.5 is the mac version. 13.0.1.2 is windows which if you do info is reported as 13.0.1 (which is why I thought is wasn't up to date). That version still has the problem with text sizes modified in scripts when the script changes only the contents. Seems like a serious bug.