liushaolin / gdipp

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

directwrite and 0 hinting causes flashing and inability to log in #75

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Which program triggers the problem? Specify the filename if possible.
Entire OS (Windows 7)

What steps will reproduce the problem?
1. Set renderer to directwrite
2. Set hinting to 0
3. Restart or log off

What is the expected output? What do you see instead?
Windows will not be able to log in and will flash the screen repeatably 
requiring a restart.

What version of gdipp (including renderer)? On which operating system?
0.8.1 beta x86, directwrite

Please provide any additional information below. Screenshots always help.
Documentation says that directwrite accepts a maximum of 1 for the hinting 
settings, so perhaps 0 is unsupported and a edit of the settings doc is needed.

Original issue reported on code.google.com by gerardo....@gmail.com on 17 Jun 2010 at 5:34

GoogleCodeExporter commented 8 years ago
What you mentioned must be the ClearType level in the 
CreateCustomRenderingParams() arguments. No, gdipp always set it to 1.0. 
Instead, gdipp uses different render modes and antialiasing options to control 
hinting level.

Original comment by crendk...@gmail.com on 17 Jun 2010 at 7:40

GoogleCodeExporter commented 8 years ago
Fixed in source.

Original comment by crendk...@gmail.com on 18 Jun 2010 at 12:04