-
Notifications
You must be signed in to change notification settings - Fork 901
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
Blurry text rendering in Coder view on high resolution displays #1118
Comments
Yeah, I too have a retina display and know exactly what you mean. If you can figure out how to systematically check whether the display is retina type, and then how to tell wx (v3.0+) to render text using that high-res option, I'll have a go at tweaking the PsychoPy code. |
It sounds like you are using a default wx text view? If so the text view should be responsible for drawing sharp text. Therefore this issue would not belong here but on the wx bug report page... |
Rendering of interface elements in Builder and Coder on retina displays has improved progressively over recent releases, but text rendering does remain strikingly low-quality, which will be turning off potential new users. |
I use the Coder window for quick small things, and use PyCharm for longer code. For the visual display in the window, this patch for pyglet looks promising: https://bitbucket.org/pyglet/pyglet/commits/c6c387c. I see a crisper display, but the scale is off and things are not centered. So will need more work. |
I do think this is a wxPython issue more than ours probably. It should detect the retina display and adjust accordingly. My sense was that some aspects of it are doing so already. The pyglet code Jeremy points to looks interesting from our stimulus-rendering point of view though! |
code view is now high-res (turned off buffered drawing) added some higher-res icons for toolbar (compare coder with builder to see the difference) high-res icons in builder not yet having any effect (need to change the rednering of bitmap button?)
Resolved by 07e6472 |
I am using a Macbook Pro with a Retina display. The Coder view does not render the source code sharply. This follows most likely from not checking if the view draws onto a HDPI display. I attached a screenshot and a selection of it as prove/example.
Thanks for your hard work! It is appreciated. <3
The text was updated successfully, but these errors were encountered: