Skip to main content
Question

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


shun1
  • New Participant
  • 6 replies

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.

https://www.figma.com/design/m4GlOWzCeLbiIAIQyhintJ/Untitled?node-id=0-1&t=6IGMeD4e9AxtETy7-1

 

2 replies

shun1
  • Author
  • New Participant
  • 6 replies
  • May 16, 2025

Is there someone from figma who can answer?


shun1
  • Author
  • New Participant
  • 6 replies
  • May 28, 2025

Bumping


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings