Skip to content

Instantly share code, notes, and snippets.

@yous
Last active January 5, 2016 10:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yous/8d84759ecff8f9006f05 to your computer and use it in GitHub Desktop.
Save yous/8d84759ecff8f9006f05 to your computer and use it in GitHub Desktop.
MacType
[General]
Name=Custom
Icon=..\mactray.exe.ico,0
;【自动挂钩子进程】
;[0:Disable] 1:Enable
HookChildProcesses=1
;【字体微调】
;0:Normal 1:NoHinting 2:AutoHinting 3:Light+AutoHinting
HintingMode=0
;【抗锯齿方式】
;-1:Disable 0:Normal 1:Light 2:LCD(RGB) 3:LCD(GBR) 4:Light-LCD(RGB) 5:Light-LCD(GBR)
AntiAliasMode=4
;【常规体调整】
;-32:+32
NormalWeight=0
;【粗体字的调整】
;-16:+16
BoldWeight=0
;【斜体字的倾斜角度微调】
;-16:+16
ItalicSlant=0
;【只有在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.5
;【对比度】
;数字越大越锐利,数字越小越发虚
Contrast=1.7
;【字体轮廓】
;数字越大字体就越粗越黑
RenderWeight=1.4
;【文字边界设置】
;数字越大越强调背景(类似文字边界被侵蚀的感觉),强调背景会有中字体锐利的感觉。适当降低对比度,提高TextTuning,可以使文字周围的颜色看起来“淡一点”
;再加上RenderWeight,把这三个设置的微妙平衡调节好的话,能得到不输给Mac的效果
;0:12
;AntiAliasMode=1时,通过TextTuning分量来调节
TextTuning=0
;AntiAliasMode=2时,通过TextTuning的RGB分量来调节
TextTuningR=0
TextTuningG=0
TextTuningB=0
;【字体加粗模式】
;对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=0
;【让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
;【强制使用某一个字体】
;无视所有其他字体,全系统的字体都会被这里设置的字体代替
;ForceChangeFont=华文中宋
;【除外的字体】
[ExcludeModule]
;【不渲染的程序,但仍会加载DLL】
;微软雅黑=XSong SimSun
[Experimental@Firefox.exe]
ClipBoxFix=1
[UnloadDll]
fontview.exe
AxureRP.exe
FontCreator.exe
FontCreator.cn.exe
notecaselauncher.exe
notecase.exe
gnucash-bin.exe
bleachbit.exe
Fontforge_TC.exe
Fontforge_SC.exe
Fontforge_EN.exe
dwm.exe
Fetion.exe
xdict.exe
ollyice.exe
sc2.exe
avgnt.exe
PlantsVsZombies.exe
SynTPHelper.exe
SynTPEnh.exe
war3.exe
SearchFilterHost.exe
SearchProtocolHost.exe
mspdbsrv.exe
chrome.exe
ConEmuC.exe
ConEmuC64.exe
gpg.exe
pacman.exe
bash.exe
zsh.exe
[exclude]
[FontSubstitutes]
굴림=Noto Sans CJK KR Regular
Gulim=Noto Sans CJK KR Regular
돋움=Noto Sans CJK KR Regular
Dotum=Noto Sans CJK KR Regular
새굴림=Noto Sans CJK KR Regular
New Gulim=Noto Sans CJK KR Regular
굴림체=Noto Sans Mono CJK KR Regular
GulimChe=Noto Sans Mono CJK KR Regular
돋움체=Noto Sans Mono CJK KR Regular
DotumChe=Noto Sans Mono CJK KR Regular
바탕=나눔명조
Batang=나눔명조
[Individual]
[excludeSub]
javaw.exe
PPLive.exe
QQGame.exe
devenv.exe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment