git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
133453c
)
renamed USE_FREETYPE to HAVE_FREETYPE
author
kramm
<kramm>
Wed, 4 Feb 2004 07:57:36 +0000
(07:57 +0000)
committer
kramm
<kramm>
Wed, 4 Feb 2004 07:57:36 +0000
(07:57 +0000)
lib/modules/swffont.c
patch
|
blob
|
history
diff --git
a/lib/modules/swffont.c
b/lib/modules/swffont.c
index
f2727a4
..
f8f7707
100644
(file)
--- a/
lib/modules/swffont.c
+++ b/
lib/modules/swffont.c
@@
-21,7
+21,7
@@
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
-#ifdef USE_FREETYPE
+#ifdef HAVE_FREETYPE
#include <freetype/freetype.h>
#include <freetype/ftglyph.h>
#include <freetype/freetype.h>
#include <freetype/ftglyph.h>
@@
-244,7
+244,7
@@
SWFFONT* swf_LoadTrueTypeFont(char*filename)
return font;
}
return font;
}
-#else //USE_FREETYPE
+#else //HAVE_FREETYPE
SWFFONT* swf_LoadTrueTypeFont(char*filename)
{
SWFFONT* swf_LoadTrueTypeFont(char*filename)
{
@@
-431,7
+431,7
@@
SWFFONT* swf_LoadFont(char*filename)
if(isSWF(filename)) {
return swf_ReadFont(filename);
}
if(isSWF(filename)) {
return swf_ReadFont(filename);
}
-#if defined(USE_FREETYPE)
+#if defined(HAVE_FREETYPE)
return swf_LoadTrueTypeFont(filename);
#elif defined(HAVE_T1LIB)
return swf_LoadT1Font(filename);
return swf_LoadTrueTypeFont(filename);
#elif defined(HAVE_T1LIB)
return swf_LoadT1Font(filename);