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

Support miter #4237

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Support miter #4237

wants to merge 3 commits into from

Conversation

JorjMcKie
Copy link
Collaborator

No description provided.

When using Page insert_text() / insert_textbox() with render_mode != 0, using proper values for `miter_limit` can control the generation of "spikes".
@JorjMcKie
Copy link
Collaborator Author

When writing text using Page.insert_text() or Page.insert_textbox() using render mode != 0, text appearance may show "spikes" when unfortunate combinations of font size and border-width parameters are chosen.
This fix introduces a new parameter miter_limit with a default value that suppresses all such spikes. Its value can be changed to either other (> 1) numbers or to None to allow PDF defaults.

@JorjMcKie JorjMcKie force-pushed the support-miter branch 2 times, most recently from d540edc to a2e6b59 Compare January 18, 2025 13:58
Also improve miter description in shape.rst.
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.

1 participant