1 diff --git a/SDL_Pango.pc.in b/SDL_Pango.pc.in
2 index 750d091..3af38ff 100644
5 @@ -6,6 +6,6 @@ includedir=@includedir@
7 Description: SDL library for internationalized text rendering
10 +Requires: pango pangoft2
11 Libs: -L${libdir} -lSDL_Pango
12 Cflags: -I${includedir}
13 \ No newline at end of file
14 diff --git a/src/SDL_Pango.c b/src/SDL_Pango.c
15 index b969bc1..cc2c3f5 100644
20 #include "SDL_Pango.h"
22 +const SDLPango_Matrix _MATRIX_WHITE_BACK
27 +const SDLPango_Matrix *MATRIX_WHITE_BACK = &_MATRIX_WHITE_BACK;
29 +const SDLPango_Matrix _MATRIX_BLACK_BACK
34 +const SDLPango_Matrix *MATRIX_BLACK_BACK = &_MATRIX_BLACK_BACK;
36 +const SDLPango_Matrix _MATRIX_TRANSPARENT_BACK_BLACK_LETTER
41 +const SDLPango_Matrix *MATRIX_TRANSPARENT_BACK_BLACK_LETTER = &_MATRIX_TRANSPARENT_BACK_BLACK_LETTER;
43 +const SDLPango_Matrix _MATRIX_TRANSPARENT_BACK_WHITE_LETTER
48 +const SDLPango_Matrix *MATRIX_TRANSPARENT_BACK_WHITE_LETTER = &_MATRIX_TRANSPARENT_BACK_WHITE_LETTER;
50 +const SDLPango_Matrix _MATRIX_TRANSPARENT_BACK_TRANSPARENT_LETTER
55 +const SDLPango_Matrix *MATRIX_TRANSPARENT_BACK_TRANSPARENT_LETTER = &_MATRIX_TRANSPARENT_BACK_TRANSPARENT_LETTER;
57 //! non-zero if initialized
58 static int IS_INITIALIZED = 0;
60 diff --git a/src/SDL_Pango.h b/src/SDL_Pango.h
61 index 6ebdf78..b7e5e58 100644
64 @@ -47,57 +47,32 @@ typedef struct _SDLPango_Matrix {
65 Uint8 m[4][4]; /*! Matrix variables */
68 -const SDLPango_Matrix _MATRIX_WHITE_BACK
75 Specifies white back and black letter.
77 -const SDLPango_Matrix *MATRIX_WHITE_BACK = &_MATRIX_WHITE_BACK;
78 +extern const SDLPango_Matrix *MATRIX_WHITE_BACK;
80 -const SDLPango_Matrix _MATRIX_BLACK_BACK
86 Specifies black back and white letter.
88 -const SDLPango_Matrix *MATRIX_BLACK_BACK = &_MATRIX_BLACK_BACK;
89 +extern const SDLPango_Matrix *MATRIX_BLACK_BACK;
91 -const SDLPango_Matrix _MATRIX_TRANSPARENT_BACK_BLACK_LETTER
97 Specifies transparent back and black letter.
99 -const SDLPango_Matrix *MATRIX_TRANSPARENT_BACK_BLACK_LETTER = &_MATRIX_TRANSPARENT_BACK_BLACK_LETTER;
100 +extern const SDLPango_Matrix *MATRIX_TRANSPARENT_BACK_BLACK_LETTER;
102 -const SDLPango_Matrix _MATRIX_TRANSPARENT_BACK_WHITE_LETTER
108 Specifies transparent back and white letter.
110 -const SDLPango_Matrix *MATRIX_TRANSPARENT_BACK_WHITE_LETTER = &_MATRIX_TRANSPARENT_BACK_WHITE_LETTER;
111 +extern const SDLPango_Matrix *MATRIX_TRANSPARENT_BACK_WHITE_LETTER;
113 -const SDLPango_Matrix _MATRIX_TRANSPARENT_BACK_TRANSPARENT_LETTER
119 Specifies transparent back and transparent letter.
120 This is useful for KARAOKE like rendering.
122 -const SDLPango_Matrix *MATRIX_TRANSPARENT_BACK_TRANSPARENT_LETTER = &_MATRIX_TRANSPARENT_BACK_TRANSPARENT_LETTER;
123 +extern const SDLPango_Matrix *MATRIX_TRANSPARENT_BACK_TRANSPARENT_LETTER;
126 Specifies direction of text. See Pango reference for detail
127 @@ -186,7 +161,8 @@ extern DECLSPEC void SDLCALL SDLPango_SetBaseDirection(
128 SDLPango_Direction direction);
131 -#ifdef __FT2_BUILD_UNIX_H__
135 extern DECLSPEC void SDLCALL SDLPango_CopyFTBitmapToSurface(
136 const FT_Bitmap *bitmap,
137 @@ -194,11 +170,8 @@ extern DECLSPEC void SDLCALL SDLPango_CopyFTBitmapToSurface(
138 const SDLPango_Matrix *matrix,
141 -#endif /* __FT2_BUILD_UNIX_H__ */
146 extern DECLSPEC PangoFontMap* SDLCALL SDLPango_GetPangoFontMap(
147 SDLPango_Context *context);