below url has the detail about font dpi:
http://www.linuxsir.org/bbs/showthread.php?t=266659
在gnome环境下,系统字体大小会通过gnome-settings-daemon来进行设定。更具体的来说是会通过gnome-settings-daemon中xrand插件来设定。
每次进入gnome环境时,xrand插件会读取~/.config/monitors.xml配置文件来进行分辨率大小的设定。与此同时调用gnome-desktop中的libgnome-desktop库crtc_assignment_apply()来进行字体DPI的设置。默认设置为固定的96DPI。
另外,可以通过下面命令行查询当前分辨率字体DPI:
xdpyinfo |grep resolution