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

Have per-style max. bounding box limits #96

Open
hholzgra opened this issue Aug 28, 2023 · 0 comments
Open

Have per-style max. bounding box limits #96

hholzgra opened this issue Aug 28, 2023 · 0 comments

Comments

@hholzgra
Copy link
Owner

Right now there is only one global bounding box size limit, mostly meant to prevent out-of-memory situations.

Different styles have different memory consumption though, with e.g. the "Pencil" style being very "memory hungry".

So in addition to the global size limit it should also be possible to set per-style limits in the configuration style, with the effecting bounding box limit being the minimum of global and style specific settings.

Maybe we could also have a "max size scale factor" instead, e.g. "this still allows for only 10% of the global bounding box width / height limit.

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

No branches or pull requests

1 participant