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

Fixes #1045: Added super and subscript support with tests #1046

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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