折腾了一个上午,终于把我的 VPS 上的 Apache 跑着的相关服务,都切换到 Nginx 上了:
1. Blog 用的是 WordPress,原先是用 mod_php 跑着的,现在则换成了 php-fpm
2. Wiki 用的是 Trac,原先是用的 mod_python,现在用 tracd 直接起来,然后 Nginx 转发
3. Git 前端用的是 Gitweb,因为懒得再启一个 spawn-fcgi 了,所以干脆换成 GitPHP,同样通过 php-fpm 的方式跑着
4. Zotero 的 WebDAV 存储,由于好久都不用,直接停了,有时间再看看有没有什么轻便的替代方案吧

PS1:关于 Gentoo 上的 php-fpm 配置,见 http://bugs.gentoo.org/show_bug.cgi?id=208155http://bugs.gentoo.org/show_bug.cgi?id=301279
PS2:关于 Nginx 跑 WordPress 的 Permalink 设置,可以参考 http://blog.sjinks.pro/wordpress-plugins/nginx-compatibility/

Tags: , , , ,

David Turner has cranked out patches for freetype2, libXft, and cairo to produce this ClearType-like shinyness, and hopefully clean up some of the nasty artifacts that the current subpixel rendering exhibits.

Ubuntu users can add the following to sources.list and install libcairo2 libxft2 and libfreetype6 packages.

1
deb http://www.telemail.fi/mlind/ubuntu feisty fonts

But I’m a Gentoo user now. (It takes me two days for compiling…)
The default AA performance is too bad on my laptop. So I wrote these ebuilds for libXft and cairo. Them have been applied LCD subpixel rendering patch.
You can download it by click this.

Screenshots:

cleartype_eng.png cleartype_cn.png

Tags: , , ,