Skip to content

Instantly share code, notes, and snippets.

@katherlee
Created September 21, 2021 19:35
Show Gist options
  • Save katherlee/7069380b3b087e5f614a65270daba07d to your computer and use it in GitHub Desktop.
Save katherlee/7069380b3b087e5f614a65270daba07d to your computer and use it in GitHub Desktop.
FontMod config for CJK font replacement in Windows 10 English
style: &style
# Remove '#' to override font style
# size: 20
# width: 0
# weight: 0
# italic: false
# underLine: false
# strikeOut: false
# charSet: 0
# outPrecision: 0
# clipPrecision: 0
# quality: 0
# pitchAndFamily: 0
fonts:
Yu Gothic UI: &zh-cl-font
replace: Sarasa Gothic CL
<<: *style
Yu Gothic UI Semibold: &zh-cl-bold
replace: Sarasa Gothic CL Semibold
<<: *style
Yu Gothic UI Light: &zh-cl-light
replace: Sarasa Gothic CL Light
<<: *style
Yu Gothic UI Semilight: *zh-cl-light
Microsoft YaHei UI: *zh-cl-light
Arial: &monospace-font
replace: Sarasa Mono CL
<<: *style
Consolas: *monospace-font # English Monospace default font
SimSun: *zh-cl-font # Chinese Monospace fallback font
# Segoe UI: *zh-cl-font
# Segoe UI Semibold: *zh-cl-bold
# DAOpenSansRegular: *zh-cl-font
# DAOpenSansRegularItalic: *zh-cl-font
# DAOpenSansSemiboldItalic: *zh-cl-font
# DAOpenSansSemibold: *zh-cl-bold
Microsoft JhengHei UI: *zh-cl-font
Malgun Gothic: *zh-cl-font
Arial Unicode MS: *zh-cl-font
MS UI Gothic: *zh-cl-font
Gulim: *zh-cl-font
fixGSOFont: false # true is to use system UI font
#fixGSOFont: *zh-cn-font # Or replace with user defined font
debug: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment