AdobeDocs / AdobeDocs/photoshop-api-docs

Font size unit issue

Open
#79 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
114
Forks
20
PR merge metrics
No merged PRs in 30d

Description

### Expected Behaviour
The documentation indicates that the default font size unit for text layers is in point: fontSize | float | in points. So, i'm expecting to retreive the value in points

### Actual Behaviour
But, from what I see in my tests, the values returned are in pixels not in points.

### Reproduce Scenario (including but not limited to)
Retreive any JSON manifest from the API and have a look at the layer text characterStyle fontSize

Is there a way to know the current unit? and/or to specify it when calling the API to get the manifest?

Contributor guide

Open the contributing guide

Research direction

Start with the documentation describing the text layer's characterStyle.fontSize and compare it with the value returned in a JSON manifest from the API. Verify whether the returned value is pixels or points and whether the API exposes or accepts a unit setting. Done means the documentation accurately states the unit and explains how to determine or specify it, if supported.

Written by the indexing model from the issue text.

Assessment

Domain
api, documentation
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.