teselkinevgenii / gdipp

Automatically exported from code.google.com/p/gdipp
0 stars 0 forks source link

Enable proper portrait mode rendering #161

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
As MS Cleartype has no matching functionality at all, adding this feature could 
really boost spreading GDIPP by all the professional users of portrait/pivot 
displays!!!

Which program triggers the problem?
Portrait LCD display orientation.

What steps will reproduce the problem?
1. Rotate LCD display to portrait orientation, and 
2. switch windows (XP, Vista, and 7) to vertical screen layout
3. e.g. Right-click/Resolution/Orientation/Portrait

What is the expected output? What do you see instead?
expected:
a. font smoothing switched automatically from RGB/BGR to V-RGB/V-BGR pixel 
geometry (preferrable), for any portrait display, or
b. if the above isn't possible either for single or for multiple displays, then 
on detection of multiple displays with different orientation GDIPP should 
switch off subpixel rendering, falling back to grayscale smoothing only
c. as an absolute and easy minimum, I can set v-RGB/v-BGR layout manually in 
gdipp_setting.xml (pixel_geometry settings matching FreeType V-RGB/V-BGR 
settings), or

instead:
On changing orientation (via Windows or videodriver hotkeys), all text becomes 
blurred with color tint due to incorrect subpixel layout match.

It's easily tested on any display with Windows orientation option in display 
options. Having pivot display isn't necessary.

What version of gdipp (including renderer)? On which operating system?
Any. tested on 0.91

Please provide any additional information below. Screenshots always help.

Subpixel layout check tool: http://www.lagom.nl/lcd-test/subpixel.php

Original issue reported on code.google.com by achuma...@gmail.com on 24 Mar 2011 at 2:04