Skip to content

Instantly share code, notes, and snippets.

@luciascarlet
Last active March 21, 2025 20:34
Show Gist options
  • Save luciascarlet/dd8f95d77f9dc0f8dc15886b7cfd7511 to your computer and use it in GitHub Desktop.
Save luciascarlet/dd8f95d77f9dc0f8dc15886b7cfd7511 to your computer and use it in GitHub Desktop.

Revisions

  1. luciascarlet revised this gist Nov 12, 2022. 1 changed file with 14 additions and 6 deletions.
    20 changes: 14 additions & 6 deletions Balanced.ini
    Original file line number Diff line number Diff line change
    @@ -1,10 +1,13 @@
    # update v1.1 (see revisions for older version; this has a smoother appearance for both DirectWrite and GDI)
    # Use with latest testing version of MacType only.
    # Recommended to disable ClearType (not AA) system-wide by setting the FontSmoothingType DWORD to 1 in HKCU/Control Panel/Desktop. Do not do this step if you use Firefox, as it'll cause it to render very crunchy non-antialiased fonts for some text, but it improves Edge/Chrome and Chromium apps.
    # Microsoft Edge and Chrome require bypassing the renderer code integrity policy so that vertical AA can be enabled by this profile. More details: https://github.com/snowie2000/mactype/wiki/Google-Chrome

    # Additional suggested tweak: use Winaero Tweaker (https://winaero.com/winaero-tweaker/) to change every system font to "Segoe UI Variable Small", if you are using Windows 11. This will make fonts in Win32 UI's consistent with WinUI UI's, where Segoe UI Variable is used. (Windows doesn't use Segoe UI Variable for those by default because the legacy ClearType renderer is so crap it actually mangles their own Segoe UI Variable font...)
    # update: seems this can screw up things that ask for specific system fonts for some reason and make them, like, super-bold? I don't recommend doing this right now, at least not the "system font" as this seems to do font replacement...

    [General]
    # 0: use font's built-in hints, 1: use no hints, 2: use FreeType auto hints (sometimes better sometimes worse)
    HintingMode=0
    AntiAliasMode=1
    NormalWeight=1
    @@ -18,34 +21,39 @@ TextTuning=0
    TextTuningR=0
    TextTuningG=0
    TextTuningB=0
    GammaValue=1.8
    Contrast=1.8
    RenderWeight=1.6
    GammaValue=1.9
    Contrast=1.3
    RenderWeight=1.8
    Fontlink=2
    HookChildProcesses=1
    FontLoader=0
    FontSubstitutes=0
    LcdFilterWeight=3,121,0,0,0
    Shadow=0,0,0,0x0,0,0x0
    MaxBitmap=12
    MaxBitmap=0
    DirectWrite=1
    HintSmallFont=0
    CacheMaxFaces=256
    CacheMaxSizes=12554432
    CacheMaxBytes=12108864
    Name=Balanced

    [UnloadDll]
    # put processes that you want to exclude from MacType here, example:
    # firefox.exe

    [exclude]
    [FontSubstitutes]
    [Individual]
    [ExcludeSub]

    [DirectWrite]
    # still subject to change, these are hard
    RenderingMode=5
    ClearTypeLevel=0.0
    GammaValue=2.0
    Contrast=0.5
    GammaValue=2.2
    Contrast=1.67

    [Experimental]
    # injects into more apps? I guess?
    ArmBreaker=2
  2. luciascarlet revised this gist Nov 12, 2022. 1 changed file with 2 additions and 4 deletions.
    6 changes: 2 additions & 4 deletions Balanced.ini
    Original file line number Diff line number Diff line change
    @@ -35,14 +35,12 @@ CacheMaxSizes=12554432
    CacheMaxBytes=12108864
    Name=Balanced
    [UnloadDll]
    # put processes that you want to exclude from MacType here, example:
    # firefox.exe
    [exclude]
    [FontSubstitutes]
    [Individual]

    [ExcludeSub]
    # put processes that you want to exclude from MacType here, example:
    # firefox.exe

    [DirectWrite]
    RenderingMode=5
    ClearTypeLevel=0.0
  3. luciascarlet revised this gist Nov 12, 2022. 1 changed file with 4 additions and 0 deletions.
    4 changes: 4 additions & 0 deletions Balanced.ini
    Original file line number Diff line number Diff line change
    @@ -38,7 +38,11 @@ Name=Balanced
    [exclude]
    [FontSubstitutes]
    [Individual]

    [ExcludeSub]
    # put processes that you want to exclude from MacType here, example:
    # firefox.exe

    [DirectWrite]
    RenderingMode=5
    ClearTypeLevel=0.0
  4. luciascarlet revised this gist Nov 12, 2022. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions Balanced.ini
    Original file line number Diff line number Diff line change
    @@ -2,6 +2,8 @@
    # Recommended to disable ClearType (not AA) system-wide by setting the FontSmoothingType DWORD to 1 in HKCU/Control Panel/Desktop. Do not do this step if you use Firefox, as it'll cause it to render very crunchy non-antialiased fonts for some text, but it improves Edge/Chrome and Chromium apps.
    # Microsoft Edge and Chrome require bypassing the renderer code integrity policy so that vertical AA can be enabled by this profile. More details: https://github.com/snowie2000/mactype/wiki/Google-Chrome

    # Additional suggested tweak: use Winaero Tweaker (https://winaero.com/winaero-tweaker/) to change every system font to "Segoe UI Variable Small", if you are using Windows 11. This will make fonts in Win32 UI's consistent with WinUI UI's, where Segoe UI Variable is used. (Windows doesn't use Segoe UI Variable for those by default because the legacy ClearType renderer is so crap it actually mangles their own Segoe UI Variable font...)

    [General]
    HintingMode=0
    AntiAliasMode=1
  5. luciascarlet created this gist Nov 11, 2022.
    47 changes: 47 additions & 0 deletions Balanced.ini
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,47 @@
    # Use with latest testing version of MacType only.
    # Recommended to disable ClearType (not AA) system-wide by setting the FontSmoothingType DWORD to 1 in HKCU/Control Panel/Desktop. Do not do this step if you use Firefox, as it'll cause it to render very crunchy non-antialiased fonts for some text, but it improves Edge/Chrome and Chromium apps.
    # Microsoft Edge and Chrome require bypassing the renderer code integrity policy so that vertical AA can be enabled by this profile. More details: https://github.com/snowie2000/mactype/wiki/Google-Chrome

    [General]
    HintingMode=0
    AntiAliasMode=1
    NormalWeight=1
    BoldWeight=1
    ItalicSlant=0
    EnableKerning=1
    GammaMode=0
    LcdFilter=1
    BolderMode=0
    TextTuning=0
    TextTuningR=0
    TextTuningG=0
    TextTuningB=0
    GammaValue=1.8
    Contrast=1.8
    RenderWeight=1.6
    Fontlink=2
    HookChildProcesses=1
    FontLoader=0
    FontSubstitutes=0
    LcdFilterWeight=3,121,0,0,0
    Shadow=0,0,0,0x0,0,0x0
    MaxBitmap=12
    DirectWrite=1
    HintSmallFont=0
    CacheMaxFaces=256
    CacheMaxSizes=12554432
    CacheMaxBytes=12108864
    Name=Balanced
    [UnloadDll]
    [exclude]
    [FontSubstitutes]
    [Individual]
    [ExcludeSub]
    [DirectWrite]
    RenderingMode=5
    ClearTypeLevel=0.0
    GammaValue=2.0
    Contrast=0.5
    [Experimental]
    # injects into more apps? I guess?
    ArmBreaker=2