DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: [Feature Request] Turn off cleartype for capture, reactivate afterwards  (Read 6,609 times)

AStroP

  • Supporting Member
  • Joined in 2005
  • **
  • Posts: 10
Hi!

First of all - and i must repeat myself, as i already said that for some of your other tools  :Thmbsup: - many thanx for this wonderful piece of software. One of my favorite tools at all!
Just one little thingy I miss. Would it be feasable to disable cleartype (or font smoothing in general) temporarily for the screenshot and reactivate it afterwards? On my TFT i usually work with cleartype enabled but these screenshots don't look very nice when viewed on a "normal" (or should i say old?  :))  CRT. I hope, i haven't simply missed this feature while searching through the inexplorable depths of the preferences.

Mouse, probably you already know that, but maybe i can save you a couple of minutes with these links:

http://support.microsoft.com/kb/97142/en-us
http://msdn2.microsoft.com/en-us/library/ms724947.aspx
http://vbforums.com/showthread.php?t=491091

Apparently one has to use the SystemParametersInfo API. The relevant functions seem to be SPI_GETFONTSMOOTHING, SPI_SETFONTSMOOTHING, SPI_GETFONTSMOOTHINGTYPE, SPI_SETFONTSMOOTHINGTYPE.

Hope it can be done. At first glance it doesn't look too complicated, but i know, in reality usually things are different. :)

Andreas

AStroP

  • Supporting Member
  • Joined in 2005
  • **
  • Posts: 10
[...]
Mouse, probably you ...
[...]

$&?§$!! Of course I meant to say "Mouser"! :-[ Sorry!

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
this is not a bad idea..

an alternative solution would be to make options so you can tell sc to execute a commandline tool before it takes a screenshot, and then another afterwards.

that would let you use a commandline tool to turn off and on cleartype, or do anything else of a similar nature.

Original address: https://www.donationcoder.com/forum/index.php?topic=11114.0