create_by_name method
Leave feedback
On this page
Creates a font transformation by name only, matching any size and style, with the replacement font preserving the original font’s size and style.
def create_by_name(cls, original_font_name, replacement_font_name):
...
| Parameter | Type | Description |
|---|---|---|
| original_font_name | str |
Original font family name to transform. |
| replacement_font_name | str |
Replacement font family name. |
- class
FontTransformation
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.