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: 35

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: 453

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

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.