Skip to content

Conversation

@lxrichert
Copy link

@lxrichert lxrichert commented Mar 10, 2025

Fixes #1045 : Added support for sub and superscript, so that ..font.superscript=True sets the baseline value to a default of 30000. Integer values can also be set for more control. False, None or 0 unset the baseline value. Similarly for subscript with a default value of -15000. Tests added in test_text.py

@lxrichert lxrichert changed the title Added super and subscript support with tests Fixes #1045: Added super and subscript support with tests Mar 10, 2025
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

Successfully merging this pull request may close these issues.

Add support for sub- and superscripts in text runs.

1 participant