-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
text layer's textProperties no parsed corretly #64
Comments
Hello! Could you provide sample PSD file(s) so we can debug this? |
Thank you for you reply. the text layer font size not 12px.
|
Hm. The funny thing is that engine data contains precisely such value:
Maybe it's not any standard size, but instead some custom Adobe dimension? |
Sorry, I didn't check the 'Text Layer' attribute due to my negligence, However, you can change the font size and color of the 'Text Layer'. You will see that the resolution result is always: FontSize: 12
FillColor: {Type:1,Values:[1,0,0,0]}
StrokeColor: {Type:1,Values:[1,0,0,0]} |
For any PSD that I try, the value of FontSize is always 12 when I try to get it from |
Looking at more sample files, looks like indeed the path you are mentioning has always the same But the I don't know whether it maps to anything natural in PS UI since I don't have access to it at the moment :) |
i tried it. when fontsize is The analytical result seems to be 4.166666666666667 times the actual value.This confused me. And I need other attributes of text layer like |
@overQ-N If you were to have a look at |
For anyone else that might stumble across this, I was able to solve my issue with |
I try to get font style.but it parse result always same(in fact not).
The StyleSheetData like
FontSize
,FillColor
,StrokeColor
and other property are same,it seems like no parse yet?The text was updated successfully, but these errors were encountered: