在pc上使用步骤:
1. 下载并解压freetype-2.1.10.tar.gz。
2. 在freetype-2.1.10目录下按顺序执行
a. $./configure
b. $./make
c. $./make install (as root user)
另外可下载ft2demos-2.10.tar.gz,解压编译。
其中的bin目录下ftview程序,可以用来显示ttf字体,并演示各种效果。
用arm-elf-gcc编译
1.$./configure -host=arm-elf
2 $./make