Recommended Posts

Does anyone have a great gdi++.ini they'd like to share?

Here's mine (I think it's alright, but could probably use a bit more tweaking):

[General]
HookChildProcesses=1
HintingMode=1
AntiAliasMode=1
MaxHeight=0
FontLoader=1
GammaMode=0
GammaValue=1.2
Contrast=1
RenderWeight=1.2
NormalWeight=1
BoldWeight=1
ItalicSlant=1
LcdFilter=0
LoadOnDemand=1
CacheMaxFaces=32
CacheMaxSizes=32
CacheMaxBytes=4194304
BolderMode=0
TextTuning=-1

[Individual]
Arial=RenderWeight,1

[Exclude]
Marlett
Segoe UI
Consolas

[ExcludeModule]
fontview.exe
msdev.exe
devenv.exe
gditray.exe
explorer.exe


[GdiTray]
MultiINISelector=0
RedrawDelay=50
CoolMenu=1

Your comparing it to a real mac though, they are two different styles of font smoothing. Not even GDI++ will give you the exact same font rendering as a Mac :p

FreeType can get really close, if not better.

What I don't understand is that it seems to render badly in GDI++ though, exact same settings on my old Linux installation gave me nice, thick looking bolds, etc. in GDI++ they're too thin.

I'm wondering.. I think the freetype thing that is bundled with linux systems is compiled without certain options that apple do use?

http://freetype.sourceforge.net/patents.html#licensing

However, the source code for the bytecode interpreter is still available and can be toggled on at compile time, for those that want to use it anyway (because they purchased a license from Apple, or because they are in a country where the patents do not apply, etc.). For details please check the documentation that comes with your FreeType source package (it normally involves changing one configuration macro).

I want sexy mac os x fonts on linux too. I was close to getting them yesterday, the problem is as always... if you set the settings based on a certain fonts, there will be fonts that will look like crap anyway,it's not "uniform".

But I'm kinda off topic since we're talking about windows

I meant that the fonts are moddified to look anti-aliased without using any render feature in Windows. Like when you use Bitstream Vera on Windows. Without using any type of render it still looks anti-aliased. With anti-aliased I mean that the font has smooth edges.

post-17647-1213628832_thumb.png

If it's not a Bitmap font, it's a Vector font, if it's a Vector font and it doesn't have smooth edges it was because it was designed that way.

anti-aliasing has nothing to do with the font (apart from the font can say at what sizes it should be anti-aliased, which can be overridden by the renderer anyway), it's entirely in the realm of the renderer.

This makes Windows look like Gnome rendering. I only wish this worked on x64 :(

Same :(

If the source code is available, surely someone with the knowledge can create a 64 bit compatible version, no?

Ran this on Vista x64, works within firefox, but obviously not within Vista itself.

  • 1 month later...

Ok, I've had a quick look at the code. To my surprise, the code is actually rather good and the hooks are done using Microsoft's own detour hooking library, now here's the good news; Microsoft Detours is x64 compliant, so simply compiling under x64 should suffice. There is bad news however, only the professional copy of the Detours library will compile under x64. So unless somebody who has a copy of the library it's highly unlikely we'll get a x64 copy any time soon.

Edited by x0r

Sorry for double posting, but does anyone knows how to make the GDI++ to start automatically at Windows startup? I did make it the program to start as I login to Windows, but it is not active when the program is started. I will need to right click the icon and activate it from there. Or there is a time delay before the thing works after being launched?

Sorry for double posting, but does anyone knows how to make the GDI++ to start automatically at Windows startup? I did make it the program to start as I login to Windows, but it is not active when the program is started. I will need to right click the icon and activate it from there. Or there is a time delay before the thing works after being launched?

i found out how

right click on the shortcut u have in the start up folder and go to the target tab

it should say

X:\GDI++\gditray.exe "-on"

it automaticlly skins the fonts on login

Ok, I've had a quick look at the code. To my surprise, the code is actually rather good and the hooks are done using Microsoft's own detour hooking library, now here's the good news; Microsoft Detours is x64 compliant, so simply compiling under x64 should suffice. There is bad news however, only the professional copy of the Detours library will compile under x64. So unless somebody who has a copy of the library it's highly unlikely we'll get a x64 copy any time soon.

I wonder if this might be useful? http://ntcore.com/Files/nthookengine.htm

  • 2 months later...
Hi all,

This is what I meant.

Please advise.

Thanks.

gdied5.th.jpg

I've been getting the same sort of problems when I'm trying to substitute fonts.

But it's strange, cause the [FontSubstitutes] works fine for settings like Segoe UI=Lucida Grande

but not Arial=Helvetica 55 Roman, which makes all the arial text jumbled like the screenshot above.

same thing when trying to replace my ugly system korean fonts,

any of these eng/kor fontname variations

굴림=맑은 고딕/ 굴림=Malgun Gothic/ Gulim=Malgun Gothic/ Gulim=맑은 고딕

would make the text get scrambled.

Some other korean people on the web seem to get it work correctly, but i don't know why it's not working for me :(

I wonder if this might be useful? http://ntcore.com/Files/nthookengine.htm

And about GDI++ on 64-bit..

yea after reading some of the previous posts It looks like the assumption that only 32-bit apps are hooked is correct.

I'm using Vista x64, and IE 32-bit gets smooth fonts all right but not the 64-bit IE.

windows shell and Sidebar doesn't get smooth fonts either.

Strange thing is, apps like Notepad sometimes gets hooked and sometimes not.

And I noticed that when more than one notepads are open, only one of em is font-smoothed.

a single explorer window very randomly seems to get hooked but not all of them again.

@_@ My heads hurt..

PS: my current setting:

[General]
Name=H1/A2/L2/OD1-Kimatg20081018
Icon=%systemroot%\system32\shell32.dll,-155

HookChildProcesses=1
HintingMode=1
AntiAliasMode=2
MaxHeight=0
WidthMode=0
FontLoader=0
GammaMode=0
GammaValue=1.3
RenderWeight=1.0
Contrast=1.0
TextTuning=0
TextTuningR=-1
TextTuningG=-1
TextTuningB=-1
NormalWeight=6
BoldWeight=6
ItalicSlant=0
LcdFilter=2
LoadOnDemand=1
CacheMaxFaces=16
CacheMaxSizes=16
CacheMaxBytes=5242880
FontSubstitutes=2
UseMapping=1
FontLink=0
BolderMode=0

[Individual]

[Exclude]
Marlett


[ExcludeModule]
photoshop.exe
gom.exe
gomencmain.exe
msnmsgr.exe

[FontSubstitutes]
"Segoe UI"="Lucida Grande"

+and screenshot

post-161291-1224302947_thumb.png

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Cheap labour, the same as the U.K. China pays their people pittance.
    • Those people that come over here on boats are already in a safe country, if they want to come over here then do so correctly though the right channels. I was born in the U.K, my family that came over here came so via the proper means. My partner came here via the correct channels, she also became a British citizen, she knows more about this country than most of them that was born here, including myself, she worked hard to do what she does. She will stick up for this country and have done a few times, when people from her own part of world have put the U.K down. We are not going to agree, all I said to start with is that maybe Trump has the right idea with this America first thing and maybe we should start doing the same. Maybe not as drastic as what he is doing, but we do need to sort this country out, we need to sort out tech instead of relying on the U.S and others. Again you have not shown why you are so annoyed that we have left the E.U and this is what it is all about? If you don't live in the U.K and live in the E.U are you annoyed that we left your little club? If you live in the U.K and is pro-E.U, then fair enough then I can see how it annoys you. Are you one of these people who lives in the U.K and have a holiday chalet in the E.U and can now only stay there for so long? If so, then that is bad luck. As I have posted before, I have no problem with people coming here to work, as long as they do if via the proper channels. We are out of the E.U, people voted out, and maybe if more people had voted instead of sitting on their backsides the results would have been different. But they like the E.U and our government thought no we would not vote to leave. How wrong they were, surprised me. I expected to wake up in the morning and hear on the radio that we voted to stay. As I said, we are out and have been for 10 years, we are not going to go back in anytime soon if we ever do, so we all need to make the best of how things are. Anyway, this is supposed to be a tech site.
    • Tim Cook: "The US over time began to stop having as many vocational kinds of skills." What's the point of wasting time getting those skills if you can't get a job with them? Good Lord, maybe he and his cohort of CEO's who exported all these jobs to China should just shut the f**k up :D
    • I made a new Cinematic/Trailer for the game, this will be the intro, still a work in progress!  I also updated the Steam page with a ton of new screenshots! 👀 https://store.steampowered.com/app/3925340/Incoherence_Dark_Rooms/  
  • Recent Achievements

    • Conversation Starter
      jessse3334 earned a badge
      Conversation Starter
    • Reacting Well
      JuvenileDelinquent earned a badge
      Reacting Well
    • One Month Later
      Excellence2025 earned a badge
      One Month Later
    • Week One Done
      Excellence2025 earned a badge
      Week One Done
    • Week One Done
      flexorcist earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      501
    2. 2
      +Edouard
      211
    3. 3
      PsYcHoKiLLa
      150
    4. 4
      Steven P.
      73
    5. 5
      macoman
      62
  • Tell a friend

    Love Neowin? Tell a friend!