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

sub-pixel rendering test application #1580

Closed
totaam opened this issue Jul 14, 2017 · 6 comments
Closed

sub-pixel rendering test application #1580

totaam opened this issue Jul 14, 2017 · 6 comments

Comments

@totaam
Copy link
Collaborator

totaam commented Jul 14, 2017

Issue migrated from trac ticket # 1580

component: core | priority: major | resolution: fixed

2017-07-14 17:04:51: antoine created the issue


Follow up from #559.

The same way that #1553 provided a test application for #1309 (image depth settings), we should provide test applications for sub-pixel rendering.

@totaam
Copy link
Collaborator Author

totaam commented Jul 20, 2017

2017-07-20 17:48:29: antoine changed status from new to assigned

@totaam
Copy link
Collaborator Author

totaam commented Aug 3, 2017

2017-08-03 17:26:31: antoine uploaded file fontrendering.png (75.3 KiB)

screenshot of the new fontrendering test application
fontrendering.png

@totaam
Copy link
Collaborator Author

totaam commented Aug 3, 2017

2017-08-03 17:34:51: antoine uploaded file fontrendering-win32.png (62.4 KiB)

test app running on win32
fontrendering-win32.png

@totaam
Copy link
Collaborator Author

totaam commented Aug 3, 2017

2017-08-03 17:54:55: antoine commented


r16604 adds a test application (very slow to run..), which looks like this on Linux (with or without xpra):
[[Image(fontrendering.png)]]

The right hand side shows the difference between the antialias setting shown on the left and the "NONE" setting.

So far it shows that I am unable to force sub-pixel rendering to turn on, only gray (which is the default is seems).

Interestingly, it does enable sub-pixel rendering on MS Windows where the colours are clearly visible on the deltas:
[[Image(fontrendering-win32.png)]]
Looks like it uses more blue on the right hand side, and orange (red) on the left. So this would imply an RGB sub-pixel order which is correct. (this inverted since we XOR the two images!)
And this is confirmed by the value retrieved through the API, see Native_GUI.exe output.

@totaam
Copy link
Collaborator Author

totaam commented Aug 10, 2017

2017-08-10 16:45:23: antoine changed status from assigned to closed

@totaam
Copy link
Collaborator Author

totaam commented Aug 10, 2017

2017-08-10 16:45:23: antoine set resolution to fixed

@totaam totaam closed this as completed Aug 10, 2017
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