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

on-disk raster graphics should all load and render in a HiDPI-friendly way #772

Open
3 tasks
jwise opened this issue Oct 2, 2024 · 0 comments
Open
3 tasks

Comments

@jwise
Copy link
Contributor

jwise commented Oct 2, 2024

todo on this front:

  • all icons, when looking for a scale to load textures, should ask for the point size they want, and have the texture loader come up with a path that satisfies the current HiDPI situation and satisfies the requested point size (i.e., the toolbar icon loader should not construct the path itself)
  • ... either that, or all icons should just be rendered in 2x, and the path names should be in point size, and then on 1x systems, we can use some sort of system-integrated mechanism to scale icons down (perhaps some kind of "graphics processing unit"? do computers have those these days?)
  • there should at least be a shell script to rerender all of the .svgs into their target PNGs, and really, that should probably be a build step, rather than having PNG binary artifacts checked in that are derived from SVGs
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