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

    • I am not a US citizen nor a Trump fan. Respect to both left and right. But I will, for the sake of fun, predict something for my own. There will come a day when the US and China will collide like titans ( over Taiwan or anything else ). Then, on that day, some people in this comment section will realize how good an idea it was to become independent in areas like that. ( Or atleast try )
    • Microsoft Edge gets tons of security features, including AI model that can see your screen by Usama Jawad Microsoft Edge may not be the most popular browser out there, but it does receive quite frequent updates that sometimes bring surprising new features and axe others that are not as popular. Now, Microsoft has detailed some of the new security enhancements that it has introduced in Edge for Business, typically used by commercial customers. Microsoft has emphasized that security features are baked into Edge for Business and offer native integration with security and governance tools like Defender and Purview. Browser sessions are governed by default on managed devices but can also be governed through dedicated work profiles on unmanaged devices. An important aspect in this area is controlling the use of shadow AI. We have talked about this before, but it essentially restricts employees from using unsanctioned AI apps through data loss prevention (DLP) policies, with Edge redirecting them to trusted AI services like Microsoft 365 Copilot. This feature, available as a pay-as-you-go (PAYG) license, ensures that confidential data never exits AI boundaries set by your organization in Purview. Additionally, Microsoft also has strong DLP policies for contractors. Contractors leveraging a Entra ID-joined work profile provisioned by their contracting company on a device managed by their actual employer can be restricted from downloading files locally. In such scenarios, the file is saved on the contracting firm's OneDrive rather than being downloaded locally. Another useful Edge security feature disallows copying and pasting from unmanaged locations and apps. Similarly, DLP policies can be configured at a granular level to restrict screenshots or downloading of files from certain locations. In the same vein, IT admins can block the installation of extensions, hosted apps, themes and scripts, and control if users can install extensions from external locations. They can also enable the installation of specific extensions and allow users to request access to certain extensions, so that they can be managed on a case-by-case basis. Finally, Edge for Business now has an on-device AI model that uses computer vision to see what's on your screen and block potentially malicious content immediately. This does not rely on site reputation, as it simply monitors what is being displayed on your screen, which means that it is effective against malicious content that takes over your screen and employs scareware tactics. Since this is an on-device AI model, it does use your system's resources, so it's enabled by default only on devices with at least 2GB of RAM and four CPU cores. You can find more details in the Microsoft Mechanics video here.
    • Could you come up with a slightly less depressing background for Tux instead of that gray gradient? Doesn't have to be cheerful, just less of a downer...
    • Linux 7.2's first release candidate gets off to a good start by Paul Hill Credit: Larry Ewing It has been a few weeks since the release of Linux 7.1, and in that time, the Linux 7.2 merge window has been open, where developers can submit their features and patches ready for the upcoming release. That window is now shut, and the release candidate phase has begun so that new features can be tested and further fixes applied. According to the founder of Linux, Linus Torvalds, this week’s release candidate looks “reasonably normal”. Although we are super early in the release candidates, this is a good sign as it makes it more likely that an eighth release candidate will not be needed. Torvalds even mentioned that the update’s stats are only larger than they really are because there was another AMD header drop with a third of the patch just being AMD GPU register definitions, which aren’t big changes but make the code contributed look larger overall. In addition to this, he noted that just over half the patch is drivers, even when excluding the AMD register dump. The rest of the changes are spread out over architecture updates, tooling, documentation, and core kernel updates. In the next week, Torvalds says that he will be chilling out, taking the week “mostly off”. Despite this, he will be reading emails and keeping up with things, so if he is slow responding, now you know why. He said he is hoping for a calm week, but we will just have to see if the second release candidate is actually like that. We should expect seven or eight release candidates before Linux 7.2 is released, so expect it around the end of August. If you missed it a few weeks ago, be sure to check out our coverage of Linux 7.1's release.
    • Ridiculous claim that the labor cost difference of $6000 annually would increase cost per phone by $200. The employees produce 3 phones per month or what?
  • Recent Achievements

    • Dedicated
      Zeynel earned a badge
      Dedicated
    • One Month Later
      JKR earned a badge
      One Month Later
    • Dedicated
      Asgardi earned a badge
      Dedicated
    • Conversation Starter
      jessse3334 earned a badge
      Conversation Starter
    • Reacting Well
      JuvenileDelinquent earned a badge
      Reacting Well
  • Popular Contributors

    1. 1
      +primortal
      496
    2. 2
      +Edouard
      248
    3. 3
      PsYcHoKiLLa
      154
    4. 4
      Steven P.
      86
    5. 5
      macoman
      65
  • Tell a friend

    Love Neowin? Tell a friend!