GDI++; Some Tips and Tricks.

Lately i've been learning moar and moar about GDI++ . I've learned how to exclude fonts and how to make it start up without having to right click > enable the tray icon. First off, here's how to have it start up with you:

  1. Create a shortcut to Gditray.exe and add it to StartProgramsStartup.
  2. Right click the file and click the Shortcut tab. You should see a box labeled Target: C:Program FilesGDITrayGditray.exe or something similar. Add

"-on"

So now, it should look something like this:

C:Program FilesGDITrayGditray.exe "-on"

3. It should work now. Click Apply and OK and then Re-Login.

_____________________________________________________________

Now, i will tell you how to exclude certain fonts from GDI. First of all, you must find out which rendering model you're using. You can do this by Right clicking your GDI tray icon > Use preferences > and then cycling through the available options and finding which one looks the best. Once you've determined which one looks best, go to your GDI Directory and open up the INI folder. There should be 4 INI files there. All the numbers match up to the options in the Use preferences menu (i.e. 1.ini = the first option in the Use Preferences menu).

Open up the appropriate INI in Notepad or an equivalent.

Navigate to the bottom of the document:

2jb3clx.png

Adding fonts under the [Exclude] parameter will exclude them. Adding applications under the [ExcludeModule] parameter will exclude those applications.

I know this much about GDI so far, more to be added ;)

#495399

I must be on a different version, as there is nothing called "Use Preferences" in my tray menu. All configuration I've done is through the ini file, which is quite easy to do. :)

That "-on" thing was something I'd been searching for since long.

Here's my custom config ini,

[General]

HookChildProcesses=1

HintingMode=1

AntiAliasMode=1

MaxHeight=200

FontLoader=1

GammaMode=0

GammaValue=1

Contrast=1

RenderWeight=1.1

NormalWeight=1

BoldWeight=1

ItalicSlant=1

LcdFilter=0

LoadOnDemand=1

CacheMaxFaces=32

CacheMaxSizes=32

CacheMaxBytes=4194304



[Individual]



[Exclude]

Marlett



[ExcludeModule]

fontview.exe

msdev.exe

devenv.exe

gditray.exe







[GdiTray]

MultiINISelector=0

RedrawDelay=50

CoolMenu=1

#495404

I'm using GDI++.DLL Version 8.0.2007.0923.

Try changing your MultiINISelector=0 to MultiINISelector=1.

#495406

GDI++.DLL Version 8.0.2007.0927

I have a newer version, lol. :D

#495407

Hmm... For some reason I have never had to put -on in my Startup shortcut. It just turned on anyway. Am I using a different one than everyone else?

#495419

mines is activated at start up aswell and i have the 0923 version :o

#495423

Excuse me! but can i ask what is gdi++ ?!

HEHE! plz bear wit me! i am still newcomer here :P

Looks like font smoothing isnt it ?!!!!

#495424

ye it's like cleartype but better, google it ;)

#495425

There's another thread I created here. Search "Font smoothing" and you should find it. Google will give a lot of jap stuff and virtually nil resources in english.

#495428

Hm well if the .927 version lacks that feature that i shaln't update it.

#495437

I upgraded to the 0927 version and it gave me the rendering of the default xp :o.

So i had to look for the installer some chinese guy made on hollywood gui.

Took me hours to find it haha thought it had actually been deleted :P

#495455

mine seems to ignore the [ExcludeModule] setting, im using gdi0850 build that came without the tray [couldnt seem to find a recent link for tray]

#495517

I made a custom installer too.

setup.zip

Attachment: setup.zip

#495519

many many thanks for this ojalord...........

Will try and post how it goes....

#495590

Edit: It works just as advertised! Just hit check 'enable' from the systray icon after running setup....

Thanks for your efforts Oja!

#495591

Follow the instructions of Bapestar from the first post to make the app enable itself automatically.

Also, do not forget to read the translated readme I've included and tweak the ini to settings that look best to you.

#495623

Well LADIDA, I just found a virus in Uninstall.exe. The virus is called Win32:Neptunia-OV. Is it a false positive? If it's a trojan, how has it not done anything in the 3 - 4 months i've had GDI++ installed?

#496148

Huh? What uninstall.exe?

Try virustotal...

#496155

My version has an Uninstall.exe included. It must be a false positive, no way it would be on my drive for all this time and not do anything. Avast must be just playing it safe. Whatever the case is, i deleted the file.

#496161

There is a glaring problem with GDI++. Check this out.

//img413.imageshack.us/my.php?image=gdispacingproblemkm6.jpg

Left is Firefox, right is Safari. Notice how the small fonts are unevenly spaced.

Also, from the default Light setting down to Medium, Asian fonts on the desktop icons doesn't display font smoothing at all. In fact on the version I'm running right now--1.0.2007.1227, Light to Medium settings are virtually no different from Cleartype. To get OS X style font smoothing it seems the only way is to select "old.ini". But why are they undermining OS X font smoothing only to replace it with Cleartype. It makes no sense.

Here's another version I found on a Chinese blog. It comes with Strong Medium and Light setting (shown in kanji characters) that supports unhinted font smoothing.

sendspace.com/file/ugit9x

#496578

Try using the version I've packaged. The settings provided in the other versions ("light", "medium", etc) all looked ghastly on my CRT...So I configured the ini as per my own liking by directly comparing the output to that of Safari's. :)

#496595

Yes, I've tried your package and it does smooth Asian fonts now, however the spacing issue is still there. Good job though.

#497200

I don't know if it's my settings with GDI or something else but if someone could offer some ideas how to make my fonts look a bit smoother. They look a little rough. Unless it's just me?

screenpv0.th.jpg

#497566

resizing is done with either windowblids or control panel

#497630

ojalord,

Take a look at this link - http://offset.skew.org/wiki/User:Mjb/GDI%2B%2B and the attached gditray.txt. It includes some other settings that you can put in the gdi++.ini file to enable the ability to use multiple .ini files. If you want to test or use different configs you can create a .ini folder and put .ini files in it (1.ini, 2.ini...). I was able to get them to show on the preferences menu item by selecting "Open a Folder" and then navigating into the .ini folder.

SMF

gditray.txt

Attachment: gditray.txt

#497952