Skip to content

Instantly share code, notes, and snippets.

@enihsyou
Created February 3, 2025 10:33
Show Gist options
  • Save enihsyou/df39742deaac8f053d31fd8d0e3e170e to your computer and use it in GitHub Desktop.
Save enihsyou/df39742deaac8f053d31fd8d0e3e170e to your computer and use it in GitHub Desktop.
自用的 MacType 配置文件,适用 SAMSUNG G85SB QD-OLED 3440*1440显示器
[General]
Name=九条涼果
Icon=..\mactray.exe.ico,0
;【自动挂钩子进程】
;[0:Disable] 1:Enable
HookChildProcesses=1
;【字体微调】
;0:Normal 1:NoHinting 2:AutoHinting 3:Light+AutoHinting
HintingMode=1
;【抗锯齿方式】
;-1:Disable 0:Normal 1:Light 2:LCD(RGB) 3:LCD(GBR) 4:Light-LCD(RGB) 5:Light-LCD(GBR)
AntiAliasMode=0
;【常规体调整】
;-32:+32
NormalWeight=16
;【粗体字的调整】
;-16:+16
BoldWeight=2
;【斜体字的倾斜角度微调】
;-16:+16
ItalicSlant=-2
;【只有在FontLoader=0(在下面)时此项设置才有效。建议选0,选1会占用大量内存,也没看出有什么好处。】
;0:Disable 1:Enable
UseMapping=0
;【Gamma模式开关】
;-1:关闭;0:使用设置的Gamma值(GammaValue);1:使用sRGB的Gamma值;2:不明
GammaMode=0
;【Gamma值】
;GammaMode=0的时候此项设置才有效
;sRGB ≒ 2.2 CT-Default = 1.4
;windows的cleartype的Gamma值是1.4
GammaValue=1.4
;【对比度】
;数字越大越锐利,数字越小越发虚
Contrast=2.0
;【字体轮廓】
;数字越大字体就越粗越黑
RenderWeight=2.0
; DirectWrite 支持;DirectWrite support
DirectWrite=1
;【文字边界设置】
;数字越大越强调背景(类似文字边界被侵蚀的感觉),强调背景会有中字体锐利的感觉。适当降低对比度,提高TextTuning,可以使文字周围的颜色看起来“淡一点”
;再加上RenderWeight,把这三个设置的微妙平衡调节好的话,能得到不输给Mac的效果
;0:12
;AntiAliasMode=1时,通过TextTuning分量来调节
TextTuning=12
;AntiAliasMode=2时,通过TextTuning的RGB分量来调节
TextTuningR=4
TextTuningG=4
TextTuningB=4
;【字体加粗模式】
;对NormalWeight和BoldWeight有效
;0:Weight值大时横向加粗,值小时双向加粗,主要是避免Weight值过大时,模式3中在小字号时加粗过度出现斩头的现象;
;1:总是横向加粗;
;2:总是双向加粗,也就是freetype本身的粗体渲染。
;注意:通过加大GammaValue、TextTuning的值,可以减少Weight值过大的造成的效果问题,即可以在BolderMode=2时也可以避免转接头
BolderMode=0
;【字体的载入方法】
;(注意是载入方法,不是渲染方法)
;0:用freetype载入字体
;1:用windows的绘图核心载入字体
;很多freetype的设置需要此项选0才能生效
FontLoader=0
;【字体链接】
;当FontLoader=0时
;0:什么都不做;
;1:使用注册表里的字体链接设置,通过FreeType的字符表进行查找
;2:使用注册表里的字体链接设置,使用Windows的转换函数直接查找
;当FontLoader=1时
;会保持启用的状态,但是所有字体链接的处理会交由WIN32API完成。
FontLink=2
;【字体替代】
;当FontLoader=0时
;0:什么都不做;
;1:安全替换方案(兼容性较好),根据以下FontSubstitutes的配置进行替换;
;2:完全替换方案(效果较全面,如替换后出现乱码,请尝试使用1),根据以下FontSubstitutes的配置进行替换;
;当FontLoader=1时
;会保持启用的状态,但是所有字体替代的处理会交由WIN32API完成
FontSubstitutes=2
;【让freetype处理的最大的字体尺寸,单位是像素,0的话就是全尺寸】
;交付 gdi++ 处理的最大尺寸(单位为像素)
;0-2147483647
MaxHeight=0
;【阴影设置】
;格式:水平偏移,垂直偏移,阴影深度(值越大,越浅)
;Shadow=1,1,5
;【液晶显示器的优化配置】
;[0:None] 1:Default 2:Light 16:Legacy
LcdFilter=2
;【字体缓存、内存的设置】
LoadOnDemand=1
CacheMaxFaces=256
CacheMaxSizes=6140
CacheMaxBytes=20485760
EnableKerning=0
Shadow=0,0,0,0x0,0,0x0
MaxBitmap=0
HintSmallFont=0
;【强制使用某一个字体】
;无视所有其他字体,全系统的字体都会被这里设置的字体代替
;ForceChangeFont=华文中宋
[Exclude]
;【除外的字体】
[ExcludeModule]
;【不渲染的程序,但仍会加载DLL】
;【字体替代】
;系统在调用“=”前面的字体时会忽视“=”前面的字体,而去直接调用“=”后面的字体
;微软雅黑=XSong SimSun
[FontSubstitutes]
; list from https://github.com/subframe7536/maple-font/blob/other-resources/cn-resource/mactype/subframe7536.ini
; Segoe UI Variable=Maple UI
; Segoe UI Variable Small Light=Maple UI
; Segoe UI Variable Small Semilight=Maple UI
; Segoe UI Variable Small=Maple UI
; Segoe UI Variable Small Semibold=Maple UI
; Segoe UI Variable Small Bold=Maple UI
; Segoe UI Variable Text Light=Maple UI
; Segoe UI Variable Text Semilight=Maple UI
; Segoe UI Variable Text=Maple UI
; Segoe UI Variable Text Semibold=Maple UI
; Segoe UI Variable Text Bold=Maple UI
; Segoe UI Variable Display Light=Maple UI
; Segoe UI Variable Display Semilight=Maple UI
; Segoe UI Variable Display=Maple UI
; Segoe UI Variable Display Semibold=Maple UI
; Segoe UI Variable Display Bold=Maple UI
; Segoe UI=Maple UI
; Segoe UI Semilight=Maple UI
; Segoe UI Semibold=Maple UI
; Segoe UI Black=Maple UI
; Segoe UI Light=Maple UI
; Tahoma=Maple UI
; Calibri=Maple UI
; Verdana=Maple UI
; Arial=Maple UI
; Arial Black=Maple UI
; Arial Narrow=Maple UI
; Arial Unicode MS=Maple UI
; [enihsyou] 2025-02-03 IDA Pro 程序界面是这个字体,替换了更好看
SimSun=Maple UI
; NSimSun=Maple UI
; Fixedsys=Maple UI
; Hiragino Sans GB=Maple UI
; Lucida Grande=Maple UI
; Helvetica=Maple UI
; Helvetica Neue=Maple UI
; Lucida Sans Unicode=Maple UI
; Heiti SC=Maple UI
; Heiti TC=Maple UI
[[email protected]]
ClipBoxFix=1
[UnloadDll]
; list from https://gist.github.com/Jamesits/6a58a1b08d5cd09a94a02f30ddaf0e13
; Java programs
arduino.exe
idea.exe
java.exe
javaw.exe
javaws.exe
matlab.exe
pycharm64.exe
pycharm.exe
;
; Games
; Blizzard
Agent.exe
; Valve
cstrike.exe
; MS
forzahorizon4.exe
; miHoYo
BH3.exe
YuanShen.exe
GenshinImpact.exe
;
; ConEmu
ConEmuC.exe
ConEmuC64.exe
;
; Adobe
Photoshop.exe
Illustrator.exe
;
; Realtek
RTHDCPL.exe
RtHDVCpl.exe
; Other special programs
;
CppIDE.exe
DXG.exe
GoogleUpdate.exe
xdict.exe
winbox.exe
;
; Windows
GamePanel.exe
rundll32.exe
audiodg.exe
ccApp.exe
conhost.exe
conime.exe
csrss.exe
ctfmon.exe
dllhost.exe
dwm.exe
;explorer.exe
fontview.exe
hpgs2wnf.exe
imejpmgr.exe
jqs.exe
jusched.exe
lsass.exe
lsm.exe
mdm.exe
mencoder.exe
;mmc.exe
msdev.exe
nvsvc32.exe
nvvsvc.exe
oobechk.exe
scardsvr.exe
SearchFilterHost.exe
searchindexer.exe
SearchProtocolHost.exe
services.exe
smss.exe
spoolsv.exe
svchost.exe
taskeng.exe
taskhost.exe
unsecapp.exe
userinit.exe
winbox.exe
wininit.exe
winlogon.exe
wmdc.exe
wmiprvse.exe
wmpnetwk.exe
wscntfy.exe
wudfhost.exe
;MicrosoftEdge.exe
MicrosoftEdgeCP.exe
MicrosoftEdgeSH.exe
; Office https://bbs.saraba1st.com/2b/thread-1981475-0-1.html
OfficeC2RClient.exe
SppExtComObj.exe
; end list from gist, some have been disabled
AxureRP.exe
Fetion.exe
FontCreator.cn.exe
FontCreator.exe
Fontforge_EN.exe
Fontforge_SC.exe
Fontforge_TC.exe
PlantsVsZombies.exe
SearchFilterHost.exe
SearchProtocolHost.exe
SynTPEnh.exe
SynTPHelper.exe
bleachbit.exe
gnucash-bin.exe
mspdbsrv.exe
notecase.exe
notecaselauncher.exe
ollyice.exe
sc2.exe
war3.exe
[Individual]
;【单独设置的字体】
;格式=Hinting, AAMode, NormalWeight, BoldWeight, ItalicSlant, Kerning
[ExcludeSub]
; 不替换字体的程序
powershell_ise.exe
devenv.exe
Code.exe
javaw.exe
PPLive.exe
QQGame.exe
devenv.exe
[DirectWrite]
; RenderingMode=6
; GammaValue=1
; Contrast=1.4
; ClearTypeLevel=
; ⬇️ copied from default.ini
;渲染模式,0=默认,1=锯齿,2=经典,3=经典自然,4=自然,5=自然对称,6=字体原型
RenderingMode=6
;Gamma值,不写则根据上面的GammaValue自动计算
GammaValue=1.5
;对比度,默认为1
Contrast=1.0
;抗锯齿程度,默认1
ClearTypeLevel=1
[Experimental]
;the aggressiveness to disarm the OS protection.
;0=do nothing
;1=remove force MS signed binary
;2=degrade Dynamic code generation protection
ArmBreaker=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment