diff --git a/cn/fontconfig/64-omarchycn-cjk.conf b/cn/fontconfig/64-omarchycn-cjk.conf index 4be5c361..eca02e27 100644 --- a/cn/fontconfig/64-omarchycn-cjk.conf +++ b/cn/fontconfig/64-omarchycn-cjk.conf @@ -1,17 +1,31 @@ + + ja sans-serif Noto Sans CJK JP + + ja + Liberation Sans + Noto Sans CJK JP + ko sans-serif Noto Sans CJK KR + + ko + Liberation Sans + Noto Sans CJK KR + @@ -19,16 +33,31 @@ sans-serif Noto Sans CJK SC + + zh-cn + Liberation Sans + Noto Sans CJK SC + zh-cn serif Noto Serif CJK SC + + zh-cn + Liberation Serif + Noto Serif CJK SC + zh-cn monospace Noto Sans Mono CJK SC + + zh-cn + JetBrainsMono Nerd Font + Noto Sans Mono CJK SC + diff --git a/cn/migrations/1787973074.sh b/cn/migrations/1787973074.sh new file mode 100644 index 00000000..a7448f26 --- /dev/null +++ b/cn/migrations/1787973074.sh @@ -0,0 +1,8 @@ +echo "Refresh the CJK fontconfig priority so zh-cn rules survive 50-omarchy.conf (Issue #4)" + +# Only users who applied it before carry the broken copy +conf="$HOME/.config/fontconfig/conf.d/64-omarchycn-cjk.conf" +if [[ -f $conf ]]; then + cp "$OMARCHY_PATH/cn/fontconfig/64-omarchycn-cjk.conf" "$conf" + fc-cache -f > /dev/null +fi