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

Discrete soft small rendering #1819

Closed
bbstrikesagain opened this issue Aug 3, 2024 · 2 comments · Fixed by #1822
Closed

Discrete soft small rendering #1819

bbstrikesagain opened this issue Aug 3, 2024 · 2 comments · Fixed by #1822
Milestone

Comments

@bbstrikesagain
Copy link

Back until 0.27.9, when I enabled oversampling 2x or 3x it had the effect of shrinking the overall scale of stipples and line styles. Oversampling didn't affect the Layers palette, so the sample swatches there were rendered at full size regardless. That inconsistency was actually quite useful, as swatches are never overlaid in the Layers palette and full size rendering there made it clearer when editing the layer appearance. The oversampling could be disabled to render the layout using the same full size patterns, but in complex overlays the appearance was ugly and lacked stipple translucence. I generally left oversampling enabled to resolve layouts more in a more immersive, intuitive way, e.g:

image

Apparently since 0.28, and certainly in 0.29 versions, High resolution mode was added to support high DPI displays, but since then there's no combination of options that can turn off that feature and render the tidy scaled down oversampling. I'm using a 94 DPI 3840x1200 monitor, but none of the new klayout options can achieve anything like what I had in 0.27. Compare the appearance in 0.29.5:

image

It would be really great to have an option to support low resolution monitors and restore oversampling with the shrink

@klayoutmatthias
Copy link
Collaborator

Very good. Thanks for this ticket!

My proposal is an option to select "small rendering" under oversampling conditions. I will try that and provide a proposal. There is an interaction with the selection of the "Default" font glyphs and I think it makes sense to not scale the fonts with the oversampling in "small rendering" mode. I tried that, and the fonts basically become unreadable, unless you compensate that by choosing "XXXLarge" font.

Matthias

@klayoutmatthias klayoutmatthias added this to the 0.29.6 milestone Aug 4, 2024
@klayoutmatthias klayoutmatthias linked a pull request Aug 4, 2024 that will close this issue
@klayoutmatthias
Copy link
Collaborator

This is my current solution:

image

And this is the effect:

No Oversampling

image

3x Oversampling, "Small Rendering" OFF

image

3x Oversampling, "Small Rendering" ON

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants