gmail notifier 字体修改

Gmail Notifier 身为一款 Firefox 插件(addon),提供了多帐号来信提醒功能,特别得是包括 Google Apps 帐号。 美中不足的是当鼠标悬停在右下角的 Gmail 图标上时,信息框中的字体偏小,显示的中文字体模糊不清。解决办法如下: 找到 ~/.mozilla/firefox/ 目录下的 gm-notifier.jar 文件 用 unzip 命令解压缩,解压后得到 content/ 和 locale/ 两个目录 编辑 content/gm-notifier/gm-notifier.css 文件,修改 font-size:0.8em; 为 font-size:1em; 编辑 content/gm-notifier/gm-core-overlay.xul 文件,修...

2007-09-12 · wuan

failed to write cache

执行fc-cache -v时得到错误信息: [/sun/home]# fc-cache -v /usr/share/fonts: caching, 0 fonts, 4 dirs /usr/share/fonts: failed to write cache /usr/share/fonts/X11: caching, 0 fonts, 6 dirs /usr/share/fonts/X11: failed to write cache /usr/share/fonts/X11/100dpi: caching, 0 fonts, 0 dirs /usr/share/fonts/X11/100dpi: failed to write cache /usr/share/fonts/X11/75dpi: caching, 0 fonts, 0 dirs /usr/share/fonts/X11/75dpi: failed to write cache /usr/share/fonts/X11/Type1: caching, 8 fonts, 0 dirs /usr/share/fonts/X11/Type1: failed to write cache /usr/share/fonts/X11/encodings: caching, 0 fonts, 1 dirs /usr/share/fonts/X11/encodings: failed to write cache /usr/share/fonts/X11/encodings/large: caching, 0 fonts, 0 dirs /usr/share/fonts/X11/encodings/large: failed to write cache /usr/share/fonts/X11/misc: caching, 0 fonts, 0 dirs /usr/share/fonts/X11/misc: failed to write cache /usr/share/fonts/X11/util: caching, 0 fonts, 0 dirs /usr/share/fonts/X11/util: failed to write cache /usr/share/fonts/truetype: caching, 0 fonts, 22 dirs /usr/share/fonts/truetype: failed to write cache /usr/share/fonts/truetype/arphic: caching, 2 fonts, 0 dirs /usr/share/fonts/truetype/arphic:...

2007-07-18 · wuan

serif和sans serif之间的区别

FROM: http://bbs.linuxunion.net/archive/index.php/t-109.html 衬线 Serif、无衬线 Sans Serif: Serif(某些印刷体字母各端部的短线)就是衬线的意思,例如 M 的起点于终点、T 的左右两端。 它是由罗马刻印字母所发展出来的,用以改良字体的优雅程度与易读性。它们是先用毛笔写在石头上,然后再刻出来的。 Serif 会活存到现在,是因为它们十分美丽及古典,而...

2007-01-22 · wuan

slickedit字体设定

还是换回了 SlickEdit10,11 的 crash 问题没法解决。 修改 /opt/slickedit/unicode/fontsets.ini,添加以下内容: [simsun] ptSize = 14 isFixed = 0 isBold = 0 isItalic = 0 font = -adobe-courier-medium-r-normal--14-100-100-100-m-90-iso8859-1:0x0000-0x00ff font = -*-simsun-medium-r-normal--14-0-0-0-p-0-iso10646-1:0x2800-0x28ff font = -*-simsun-medium-r-normal--14-0-0-0-p-0-iso10646-1:0x3000-0x33ff:0x4e00-0xffff font = -*-simsun-medium-r-normal--14-0-0-0-p-0-iso10646-1 设定 SlickEdit 的 Unicode Source Windows 字体为: VSE Unicode-simsun

2007-01-22 · wuan

ubuntu使用simsun字体

拷贝字体文件 mkdir -p /usr/share/fonts/zh_CN/truetype/ sudo cp /media/hda1/windows/fonts/simsun.ttc /usr/share/fonts/zh_CN/truetype/ sudo cp /media/hda1/windows/fonts/SURSONG.TTF /usr/share/fonts/zh_CN/truetype/ sudo cp /media/hda1/windows/fonts/tahoma.ttf /usr/share/fonts/zh_CN/truetype/ sudo cp /media/hda1/windows/fonts/tahomabd.ttf /usr/share/fonts/zh_CN/truetype/ sudo chmod 644 /usr/share/fonts/zh_CN/truetype/* 更新字体缓冲 cd /usr/share/fonts/zh_CN/truetype/ sudo mkfontscale sudo mkfontdir sudo fc-cache /usr/share/fonts/zh_CN/truetype/ 修改字体显示的优先级 sudo vi /etc/fonts/language-selector.conf <fontconfig> <alias> <family>serif</family> <prefer> <family>Bitstream Vera Serif</family> <family>SimSun</family> <-- 添加这行 <family>DejaVu Serif</family> <family>AR PL ShanHeiSun Uni</family> <family>WenQuanYi Bitmap Song</family> <family>AR PL ZenKai Uni</family> </prefer> </alias> <alias> <family>sans-serif</family> <prefer> <family>Bitstream Vera Sans</family> <family>SimSun</family> <-- 添加这行 <family>DejaVu Sans</family> <family>AR PL ShanHeiSun Uni</family> <family>WenQuanYi Bitmap Song</family> <family>AR PL ZenKai Uni</family> </prefer> </alias> <alias> <family>monospace</family> <prefer> <family>Bitstream Vera Sans Mono</family> <family>SimSun</family> <-- 添加这行 <family>DejaVu Sans Mono</family> <family>AR PL ShanHeiSun Uni</family> <family>WenQuanYi Bitmap Song</family> <family>AR PL ZenKai Uni</family> </prefer>...

2006-12-11 · wuan