Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
Nifty  
#1 Posted : Friday, May 4, 2018 8:51:52 AM(UTC)
Nifty

Rank: Advanced Member

Groups: Member
Joined: 10/12/2015(UTC)
Posts: 40

I'm having an issue parsing some Photoshop files. I've narrowed the issue down, using the TextCallback, to a textString that looks like the following:

Code:
<p style="space-after:2pt;"><span>EASY RETURNS</span></p><p style="space-after:2pt;"><span></span><span style="tracking:20pt;font-name: Whitney-Medium; ">online and in-store</span></p>


The exception message is: "InvalidStyleValueException: tracking-20pt"

While I'm able to manually go fix this particular psd, it would be nice if there was a way to ignore style's that are invalid or don't apply to your component.
I'm afraid of writing a bunch of code that strips out "tracking:0pt", "tacking:1pt", etc...

Any suggestions on how I can fix this issue so I don't have to alter all our Photoshop files?
Eugene Kosmin  
#2 Posted : Sunday, May 6, 2018 6:49:06 PM(UTC)
Eugene Kosmin

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 9/19/2006(UTC)
Posts: 455

Was thanked: 27 time(s) in 27 post(s)
Hi,
Could you post here one of those files? And maybe a code if it is not straightforward.
Best regards,
Eugene Kosmin.
Aurigma Development Team
Nifty  
#3 Posted : Friday, November 9, 2018 6:32:49 AM(UTC)
Nifty

Rank: Advanced Member

Groups: Member
Joined: 10/12/2015(UTC)
Posts: 40

Another user got this exception: "InvalidStyleValueException: tracking--20pt"

I've attached the problematic psd file. I know the psd is ugly, but I've narrowed it down to one layer, I just can't figure out what property is causing the exception.
Although it would be nice if the psdProcessor just ignored styles that it might not recognize, right now I'd take an explanation so I can inform our users of what properties or styles not to use on text layers.

Any help would be greatly appreciated.

20pt Problem.zip (59kb) downloaded 2 time(s).
Fedor  
#4 Posted : Monday, November 19, 2018 11:27:29 PM(UTC)
Fedor

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 7/28/2003(UTC)
Posts: 1,572

Thanks: 5 times
Was thanked: 64 time(s) in 63 post(s)
We confirm the bug (#469). We will fix it before Christmas. I will let you know as soon as the problem is solved.
Best regards,
Fedor Skvortsov
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.