Skip to content
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

Font sizes of a Usertext layer not getting matched after parsing the PSD file #100

Open
RajeshBattu opened this issue Mar 7, 2018 · 0 comments

Comments

@RajeshBattu
Copy link

RajeshBattu commented Mar 7, 2018

Created PSD file(300dpi) using Adobe photoshop CC 2017 on windows machine. PSD file consists of list of Usertexts and their sizes 40pt, 24pt, 48pt. Using PSD parser read the font sizes i.e., 49px, 29px, 249px

Converted pixels to pts = (pixels*72)/300.

Final sizes 40 becomes 11.952, 24 becomes 6.96, 48 becomes 59.76

Can you please help me out, why the font sizes were not getting matched.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant