Monday, August 15, 2011

Modify the default font of Mono after 2.10.3

(Since MonoFramework 2.10.7, there are no needs to do this instructions. Please update your MonoFramework to 2.10.7 or above.)

After Mono Framework 2.10.3, the way was changed how we modify the default font of Mono application like MonoDevelop. In this post, I write the way to modify from "Lucida Grande" to "Hiragino Maru Gothic Pro".
  1. Detect gtkrc file. If you are a MacOS X user, this file is in /Library/Frameworks/Mono.framework/Versions/Current/etc/gtk-2.0/gtkrc
  2. patch below onto /Library/Frameworks/Mono.framework/Versions/Current/etc/gtk-2.0/gtkrc
    58a59
    > font_name = "Hiragino Maru Gothic Pro 14"
    216c217
    < gtk-font-name = "Lucida Grande 12"
    ---
    > gtk-font-name = "Hiragino Maru Gothic Pro 12"

No comments:

Post a Comment