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

Handle mixed font styles #2

Open
MiguelFranken opened this issue Mar 22, 2024 · 0 comments
Open

Handle mixed font styles #2

MiguelFranken opened this issue Mar 22, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@MiguelFranken
Copy link
Collaborator

MiguelFranken commented Mar 22, 2024

Many text properties can be set on individual characters. For that reason, you will find that many of text properties can return the special value figma.mixed if there are characters in the text with different values for that property. Always consider that a text property could have mixed values.

See https://www.figma.com/plugin-docs/working-with-text/

Relevant Method

console.error('[Builder] Mixed font names are not supported yet.')

@MiguelFranken MiguelFranken self-assigned this Apr 16, 2024
@MiguelFranken MiguelFranken added enhancement New feature or request good first issue Good for newcomers labels Apr 16, 2024
@lafllamme lafllamme self-assigned this Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
Status: Ready
Development

No branches or pull requests

2 participants