Skip to content

Conversation

valadaptive
Copy link
Contributor

@valadaptive valadaptive commented Mar 21, 2025

This is the Swash half of dfrg/zeno#15, and will require that to land first (and a new version of zeno to be released). As mentioned there, you could alternatively change the code here to pass in both offset and render_offset if you want to avoid a breaking change in zeno.

@valadaptive valadaptive changed the title Use offset instead of render_offset in scale Use both offset and render_offset in scale Mar 27, 2025
@xStrom
Copy link
Collaborator

xStrom commented Apr 26, 2025

This improves Parley's swash_render results even without the zeno release.

Swash main This PR
swash_render now swash_render

@xorgy why the breaking change label? This seems like a pretty straightforward bugfix to me.

@xStrom
Copy link
Collaborator

xStrom commented Apr 27, 2025

Alright, slight update on the swash_render improvement. Turns out it may have been a coincidence. parley#343 will resolve that on its own.

parley#343 + swash#88 + zeno#15 + swash#88 & zeno#15
swash_render baseline swash_render_swash swash_render zeno swash_render swash_and_zeno
Looks good Looks good Clipped due to Swash bug Looks good

So now with the more conservative approach taken to zeno#15, landing this Swash PR no longer depends on the Zeno PR and landing this Swash PR first is actually more important. It's a Swash bugfix that Zeno had a workaround for. With zeno#15 applied, the workaround goes away so Swash needs to be ready for it.

@dfrg
Copy link
Owner

dfrg commented Apr 30, 2025

Merging this one as well. As mentioned in zeno#15, subpixel rendering needs to be verified before release.

Thanks!

@dfrg dfrg merged commit 53de3fc into dfrg:main Apr 30, 2025
10 checks passed
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.

4 participants