make work with clang/linux and smooth fonts