diff options
author | Nicolas Noble <pixel@nobis-crew.org> | 2009-11-05 10:25:21 -0800 |
---|---|---|
committer | Nicolas Noble <pixel@nobis-crew.org> | 2009-11-05 10:25:21 -0800 |
commit | 95ffde34268043d5590780211c2a284b4c6f18b4 (patch) | |
tree | f6e23a51d6b82683516891ba8183de15f1719791 /cd/src/sim | |
parent | f6fd6c3f805505af14a31f780bddefd5d036f152 (diff) |
Mingw32 version compiles now - removing more truetype support bloat.
Diffstat (limited to 'cd/src/sim')
-rwxr-xr-x | cd/src/sim/cd_truetype.h | 46 | ||||
-rwxr-xr-x | cd/src/sim/sim.c | 1 | ||||
-rwxr-xr-x | cd/src/sim/sim_linepolyfill.c | 1 | ||||
-rwxr-xr-x | cd/src/sim/sim_primitives.c | 1 |
4 files changed, 0 insertions, 49 deletions
diff --git a/cd/src/sim/cd_truetype.h b/cd/src/sim/cd_truetype.h deleted file mode 100755 index f29fb82..0000000 --- a/cd/src/sim/cd_truetype.h +++ /dev/null @@ -1,46 +0,0 @@ -/** \file - * \brief Text and Font Simulation using FreeType library. - * - * See Copyright Notice in cd.h - */ - -#ifndef __TRUETYPE_H -#define __TRUETYPE_H - -#ifdef __cplusplus -extern "C" { -#endif - -#include "ft2build.h" -#include FT_FREETYPE_H - -/* - In CD version 4.4 we start to use FreeType 2. - Only TrueType font support is enabled. -*/ - -typedef struct _cdTT_Text -{ - FT_Library library; - FT_Face face; - - unsigned char* rgba_data; /* the image where one character is drawn with the foreground color during text output */ - int rgba_data_size; - - int max_height; - int max_width; - int descent; - int ascent; - -}cdTT_Text; - -cdTT_Text* cdTT_create(void); -void cdTT_free(cdTT_Text * tt_text); -int cdTT_load(cdTT_Text * tt_text, const char *font,int size, double xres, double yres); - -#ifdef __cplusplus -} -#endif - -#endif /* ifndef _CD_TRUETYPE_ */ - diff --git a/cd/src/sim/sim.c b/cd/src/sim/sim.c index 349624a..3e4ccf1 100755 --- a/cd/src/sim/sim.c +++ b/cd/src/sim/sim.c @@ -11,7 +11,6 @@ #include "cd.h" #include "cd_private.h" -#include "cd_truetype.h" #include "sim.h" diff --git a/cd/src/sim/sim_linepolyfill.c b/cd/src/sim/sim_linepolyfill.c index 1a20907..bbcfa60 100755 --- a/cd/src/sim/sim_linepolyfill.c +++ b/cd/src/sim/sim_linepolyfill.c @@ -12,7 +12,6 @@ #include "cd.h" #include "cd_private.h" -#include "cd_truetype.h" #include "sim.h" diff --git a/cd/src/sim/sim_primitives.c b/cd/src/sim/sim_primitives.c index 5f5e0a3..47a5d00 100755 --- a/cd/src/sim/sim_primitives.c +++ b/cd/src/sim/sim_primitives.c @@ -11,7 +11,6 @@ #include "cd.h" #include "cd_private.h" -#include "cd_truetype.h" #include "sim.h" void cdlineSIM(cdCtxCanvas* ctxcanvas, int x1, int y1, int x2, int y2) |