create_flexible method
Leave feedback
On this page
Creates a font transformation with flexible matching options.
def create_flexible(cls, original_font, replacement_font, match_any_size, match_any_style):
...
| Parameter | Type | Description |
|---|---|---|
| original_font | Font |
Font specification to match. |
| replacement_font | Font |
Font specification to transform to. |
| match_any_size | bool |
True to match any size, False to match exact size. |
| match_any_style | bool |
True to match any style, False to match exact style. |
- 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.