#include #include #include "gb2312.h" #include "freetype2.h" static struct{ char szFontName[64]; char szFontFile[128]; }FontInfo[] = { { "楷体", "./simkai.ttf" }, { "黑体", "./simhei.ttf" }, { "宋体", "./simsun.ttc" }, { "Uming", "./uming.ttf" } }; static char* GetFontFile(char *pszFontName) { int i; int nSize; if((NULL == pszFontName) || ('\0' == *pszFontName)) goto err; ...
by peeweek - Linux文档专区 - 2009-12-08 21:43:07 阅读(2507) 回复(0)
装freetype2需要 libfreetype6 libttf 但是 libttf2-2.1.9-1_4.rh9.at.i386.rpm libfreetype6-2.1.9-1_4.rh9.at.i386.rpm 都装不了提示 file /usr/lib/libfreetype.so.6 from install of libfreetype6-2.1.9-1_4.rh9.at conflicts with file from package freetype-2.1.3-6 freetype-2.1.3-6也不能卸载 - -! 请高人指点指点。。。
装freetype2需要 libfreetype6 libttf 但是 libttf2-2.1.9-1_4.rh9.at.i386.rpm libfreetype6-2.1.9-1_4.rh9.at.i386.rpm 都装不了提示 file /usr/lib/libfreetype.so.6 from install of libfreetype6-2.1.9-1_4.rh9.at conflicts with file from package freetype-2.1.3-6 freetype-2.1.3-6也不能卸载 - -! 请高人指点指点。。。
最近在基于freetype2做字体显示的功能,有几个疑问不明白,首先打开AA的效果怎么感觉字体的效果出来后毛绒绒的,就是边的部分灰度值在0~255之间,不知有啥patch能改变这种效果,觉得还是windows上的cleartype舒服啊,另外就是想到利用描边去改善这块的效果,但看了看文档,也没发现FT_Stroke怎么个用起来,freetype2这块新手,请大家指教:)
安装freetype2有如此提示,如何是好。。
[root@Www. freetype-2.2.1]#./configure
GNU make (>= 3.79.1) or makepp (>= 1.19) is required to build freetype2.
Please try
`GNUMAKE=
安装freetype2有如此提示,如何是好。。
[root@Www. freetype-2.2.1]#./configure
GNU make (>= 3.79.1) or makepp (>= 1.19) is required to build freetype2.
Please try
`GNUMAKE=
大家先鄙视我吧,我太菜了
链接帮助都不行
gnu make什么意思
./configure -help
GNU make (>= 3.79.1) or makepp (>= 1.19) is required to build freetype2.
Please try
`GNUMAKE=
请问我下了freetype-2.1.4.tar.gz #tar -zxvf freetype-2.1.4.tar.gz #cd freetype-2.1.4 #./configure 提示“Sorry, GNU make is required to build freetype2.” 可是我已经安装了gmake啊 #GNUMAKE=/usr/local/bin/gmake ./configure 也不行。 到/usr/ports/print/freetype2 却可以安装?
本帖最后由 mw_spark 于 2010-07-16 19:46 编辑 刚编译最新Lablin时,发现编译到 DirectFB-1.4.3 和 SDL_ttf-2.0.9 ,都报 freetype 头文件路径找不到,估计是我本机上没有安装 freetype2 ,其他人都没有这个问题。附上我的Patch。
getbitmap.c[color="#b0c4de"]#include [color="#ffa07a"] [color="#b0c4de"]#include FT_freetype_H [color="#98fb98"]int [color="#87cefa"]main([color="#98fb98"]int [color="#eedd82"]argc, [color="#98fb98"]char **[color="#eedd82"]argv){ [color="#98fb98"]int [color="#eedd82"]psize; [color="#98fb98"]FT_Library [color="#eedd82"]library; [color="#98fb98"]FT_Face [color="#eedd82"]face; [color="#98fb98...
终于找到在kde中文章标题会爬坡的问题的原因了。 原来是freetype 2.10的bug。打上zhllg提供的补丁,效果明显啊。 在此感谢zhllg的帮助。 http://www.linuxsir.org/bbs/showthread.php?t=243175 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/16972/showart_95877.html