自定义字体DPI(不止是96、120)

心之所在 | 2011/05/24

KDE 默认的固定字体DPI只有96和120两种,相应的配置文件是

qii@linux:~$ cat $HOME/.kde4/share/config/kcmfonts
[General]
dontChangeAASettings=false
forceFontDPI=96

如果forceFontDPI为0,就是不强制指定DPI。其实这里的配置数据可以随便填写的,比如200也可以,效果图如下:

http://ow9msq.bay.livefilestore.com/y1pBeWSEpX9U8wlpyY407Gd8uRu7pqmV3yM8W2iSR1254CoQirzZX-mQknjyYTWauN54CS3CqPWUROueKXcb_W-aVDbsCtyDUbl/dpi.jpeg?psid=1

不过当前麻烦的一点是由于KDE启动脚本startkde不认自定义的数值,所以kwin的标题栏是不认自定义数值的,其它地方倒是没什么差错,这个bug会在4.7修正,要是你愿意的话,现在就可以去改下/usr/bin/startkde的代码,见 Review Board

    泰达希尔-德鲁伊
    Tags: ,

    4 FEEDBACKS

    Leave a Reply to 心之所在 Cancel reply

    Your email address will not be published. Required fields are marked *

    Note: Commenter is allowed to use '@User+blank' to automatically notify your reply to other commenter. e.g, if ABC is one of commenter of this post, then write '@ABC '(exclude ') will automatically send your comment to ABC. Using '@all ' to notify all previous commenters. Be sure that the value of User should exactly match with commenter's name (case sensitive).

    This site uses Akismet to reduce spam. Learn how your comment data is processed.