Seg3D
Seg3D copied to clipboard
Better font rendering on OSX
Fixes widgets being squished as well on OSX.
Closes #349 and hopefully #132, but Windows still has squished widgets on high resolution monitors.
I made a build and an installer and didn't notice a change. Qt 5.14/MacOS 10.14. I deleted all from Superbuild down. Do I need to blow everything away? I'll try one more time.
even after a fresh build, doesn't seem to do anything to the fonts
Alan 3:52 PM One thing that you have to keep in mind is that OSX now caches plist files, and if you just edit it for a .app, you won't see any change.
You can force it with a "defaults read /path/to/plist" as I recall.
Another thing you can do is copy it to a new location.
This has confused me many times.
@allywarner If we can get this one to work, it should be merged before the version update, yeah?
@dcwhite I think so! It'd be a nice addition.
I think the problem is the actual bundle plist file is not getting this change. I'll check the cpack code
Yes, there are deeper problems here. The plist file that winds up in the bundle is hard-coded and located in src/Resources/. So that one would get the NSHighResolutionCapable key addition. There are two .plist.in files in the CMake/Modules directory, and they're both ignored (and both are a mess of duplicated keys it seems). So this needs more clean up. I'll investigate more tomorrow.
@jessdtate We figured out how to get improved font rendering (make the same small change, but to a different plist file) but uncovered some sloppy messiness related to the plist files in the repo. Should we (a) clean up the messiness now or (b) make the quick fix to get the fonts working before the release?
let's fix it in the next release. I think we are ready to go otherwise.