Skip to main content
shun1
New Participant
May 15, 2025 3:30 AM UTC
Question

Inconsistent font size values obtained via plugin API before and after selecting a text layer

Here’s the feedback content:

 

When using a plugin API to retrieve the font size of text within an instance, the value obtained is 24 before selecting the text layer. However, after operating to select this text layer, using the same method to retrieve the font size yields 12. Could you please explain why this discrepancy occurs?

 

This issue affects the consistency of font size data retrieved by plugins before and after layer selection, which may lead to unexpected behavior in plugin functionality. Your clarification or resolution would be greatly appreciated.

 

This topic has been closed for replies.

2 replies

shun1
shun1Author
New Participant
May 16, 2025 2:42 AM UTC

Is there someone from figma who can answer?

shun1
shun1Author
New Participant
May 28, 2025 6:52 AM UTC

Bumping