teselkinevgenii / gdipp

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

unable to disable antialiasing of CLEARTYPE_QUALITY using gdipp #231

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Which program triggers the problem? Specify the filename if possible.
tortoiseproc.exe from tortoisegit

What steps will reproduce the problem?
use the following settings:

    <process>
        <renderer>0</renderer>
        <render_mode>
            <mono>2</mono>
            <gray>0</gray>
            <subpixel>0</subpixel>
        </render_mode>          
    </process>

Then commit changes in tortoisegit and enter text into the commit message box. 

What is the expected output? What do you see instead?

I expect no antialiasing in the text.

What version of gdipp (including renderer)? On which operating system?
0.9.1 on Windows 2003 x86

Please provide any additional information below. Screenshots always help.

This problem isn't specific to this dialog box. Any time a program specifies 
CLEARTYPE_QUALITY in CreateFont(), it isn't getting trapped by gdipp and turned 
into mono quality (i assume this means non-antialiased) when used to render. I 
havent run into anyone else doing this yet (apart from my personally programmed 
test-case) since it is rude to use anything but DEFAULT_QUALITY.

I'm not sure if this is something that can be fixed, or if it just didn't ever 
get tested due to disabling of cleartype being an unusual use for gdipp. I'll 
be really grateful if I can use this software for this purpose.

Original issue reported on code.google.com by zero...@zeromus.org on 17 Aug 2012 at 6:39