#25 fix fonts garbled problem under Mac OS X