okular设定默认批注字体
Created 星期日 08 五月 2011
在okular handbook里只给出了调整单个批注字体的方法, 即在批注上右键--属性中修改. 但却缺少默认字体的定义. 研究了很久, 发现okular是从kdeglobals中读取字体配置, 因而只能修改kdeglobals文件. 这种方法的最大缺点是会同时影响到其它kde程序, 万幸我没有开几个kde程序, 还可以接受.
/home/allblue/.kde4/share/config/kdeglobals
[General]
XftAntialias=true
XftHintStyle=hintmedium
XftSubPixel=none
desktopFont=Sans Serif,11,-1,5,50,0,0,0,0,0
fixed=Monospace,11,-1,5,50,0,0,0,0,0
font=文泉驿正黑,10,-1,5,50,0,0,0,0,0
menuFont=Sans Serif,11,-1,5,50,0,0,0,0,0
smallestReadableFont=Sans Serif,10,-1,5,50,0,0,0,0,0
taskbarFont=Sans Serif,11,-1,5,50,0,0,0,0,0
toolBarFont=Sans Serif,10,-1,5,50,0,0,0,0,0
widgetStyle=plastique
这一行就是okular自动读取的字体设置, 手动改成自己想要的就可以了