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

Notification

Icon
Error

Options
Go to last post Go to first unread
psdworker  
#1 Posted : Tuesday, April 2, 2019 7:29:12 AM(UTC)
psdworker

Rank: Newbie

Groups: Member
Joined: 4/1/2019(UTC)
Posts: 6

Is it possible to format TextLayer with CSS via this API?

Example:

A PSD file with a simple TextLayer.

And I want to add this .css formating:

font-size: 48px;

font-family: "Arial";

color: rgb(0, 0, 0);

text-shadow: 0 0 3px rgba(117,117,117,1) ;

opacity: 0.49;

line-height: 1.2;

text-align: left;

-moz-transform: matrix( 1,0,-0.04288069702515,1.17234940394686,0,0);

-webkit-transform: matrix( 1,0,-0.04288069702515,1.17234940394686,0,0);

-ms-transform: matrix( 1,0,-0.04288069702515,1.17234940394686,0,0);

position: absolute;

left: 198.159px;

top: 415.75px;

z-index: 4;

Fedor  
#2 Posted : Tuesday, April 2, 2019 8:33:28 AM(UTC)
Fedor

Rank: Advanced Member

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

Thanks: 5 times
Was thanked: 69 time(s) in 67 post(s)
Hi,

You can not use the standard CSS format, but Customer's Canvas has its own format of styling text (we implemented it as typography settings in HTML are pretty limited):

https://www.graphicsmill.com/doc...anced-formatted-text.htm

You can rotate text and add shadow as well:

https://www.graphicsmill...dvanced-drawing-text.htm

If you need a code sample of rendering please send us a source PSD file as well as the desired result.

Edited by user Tuesday, April 2, 2019 8:34:29 AM(UTC)  | Reason: Not specified

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.