This forum contains outdated content and is available for reading only. Please contact technical support if you have any questions.

Notification

Icon
Error

Options
Go to last post Go to first unread
dfreire  
#1 Posted : Thursday, March 12, 2015 11:08:04 AM(UTC)
dfreire

Rank: Newbie

Groups: Guest
Joined: 2/27/2015(UTC)
Posts: 8

Thanks: 2 times
Hi,

When the psd is parsed, one of my PsdTextFrames has a few custom metrics that differ from the font defaults. How can i set custom measuring properties ( Ascent and Descent ) on creating a font?

dfreire attached the following image(s):
CreateFont.PNG
TextLayerFrame.png
Fedor  
#2 Posted : Friday, March 13, 2015 10:42:01 PM(UTC)
Fedor

Rank: Advanced Member

Groups: Guest
Joined: 7/28/2003(UTC)
Posts: 1,660

Thanks: 5 times
Was thanked: 76 time(s) in 74 post(s)
Originally Posted by: dfreire Go to Quoted Post
Hi,

When the psd is parsed, one of my PsdTextFrames has a few custom metrics that differ from the font defaults. How can i set custom measuring properties ( Ascent and Descent ) on creating a font?

What do you mean to "set custom measuring properties"? Do you need to render the PSD image with 100% match and that's why you need to create the font with the same settings?

Best regards,

Fedor Skvortsov

dfreire  
#3 Posted : Monday, March 16, 2015 8:59:39 AM(UTC)
dfreire

Rank: Newbie

Groups: Guest
Joined: 2/27/2015(UTC)
Posts: 8

Thanks: 2 times
Exactly Fedor, that's what i need to do.
Fedor  
#4 Posted : Monday, March 16, 2015 9:14:10 AM(UTC)
Fedor

Rank: Advanced Member

Groups: Guest
Joined: 7/28/2003(UTC)
Posts: 1,660

Thanks: 5 times
Was thanked: 76 time(s) in 74 post(s)
You can find a sample of PSD rendering here:

http://www.graphicsmill..../modify-and-merge-layers

If it doesn't work the way you expect please send us a PSD file.

Best regards,

Fedor Skvortsov

dfreire  
#5 Posted : Friday, May 8, 2015 8:46:51 AM(UTC)
dfreire

Rank: Newbie

Groups: Guest
Joined: 2/27/2015(UTC)
Posts: 8

Thanks: 2 times
Hey Fedor,

Sorry for the late late reply.

To refer i'm not merging changes. I built an editor which allows each psd layer to be changed, as in raster or text, changing positioning, deleting, font size, font name, and others.

Here you have .psd example, where the text layer that contains the personal info has some properties that change the metrics ( http://puu.sh/hG1Mf/d214d9cc83.png ).

These are the properties from parsing the psd:

http://puu.sh/hG1RV/47496a736d.png

( External leading should be 12, right? )

Edited by user Friday, May 8, 2015 9:31:36 AM(UTC)  | Reason: Not specified

File Attachment(s):
Archive.zip (2,517kb) downloaded 1 time(s).
Fedor  
#6 Posted : Thursday, May 14, 2015 9:19:30 AM(UTC)
Fedor

Rank: Advanced Member

Groups: Guest
Joined: 7/28/2003(UTC)
Posts: 1,660

Thanks: 5 times
Was thanked: 76 time(s) in 74 post(s)
Hi,

The Font structure contains default font metrics. The settings defined in Photoshop can be found in the properties of PsdTextFrame class. For example there is Tracking property in both Font and PsdTextFrame class (see the attached screenshot).

The current version doesn't support the extracting leading settings however I have submitted a bug (#20563) and we will implement it in the further versions. I will keep you informed of the status.

Edited by user Thursday, May 14, 2015 9:23:02 AM(UTC)  | Reason: Not specified

Fedor attached the following image(s):
font_metrics.png
Best regards,

Fedor Skvortsov

dfreire  
#7 Posted : Thursday, May 14, 2015 10:47:48 AM(UTC)
dfreire

Rank: Newbie

Groups: Guest
Joined: 2/27/2015(UTC)
Posts: 8

Thanks: 2 times
Thanks for your reply Fedor,

So, now it is not possible to render a PSD using AdvancedGraphics and make it look exactly like it?

Fedor  
#8 Posted : Thursday, May 14, 2015 12:08:49 PM(UTC)
Fedor

Rank: Advanced Member

Groups: Guest
Joined: 7/28/2003(UTC)
Posts: 1,660

Thanks: 5 times
Was thanked: 76 time(s) in 74 post(s)
Quote:
So, now it is not possible to render a PSD using AdvancedGraphics and make it look exactly like it?

Yes, it is not possible to render a PSD image exactly like Photoshop does as the format is very complex.

Even though we constantly improve the support of the PSD format. Please let us know a missing functionality and we will research and consider its implementation.

Best regards,

Fedor Skvortsov

thanks 1 user thanked Fedor for this useful post.
dfreire on 5/14/2015(UTC)
Users browsing this topic
Guest (2)
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.