Compare commits

...
Author SHA1 Message Date
Giacomo Catenazzi e486e338d3 Import Debian changes 1.2.0.svn250-2
libg15render (1.2.0.svn250-2) unstable; urgency=low

  * And correct the libg15render.h, not requiring -I includes
2019-11-19 01:49:55 +03:00
4 changed files with 19 additions and 8 deletions

No files matched your search

+6
View File
@@ -1,3 +1,9 @@
libg15render (1.2.0.svn250-2) unstable; urgency=low
* And correct the libg15render.h, not requiring -I includes
-- Giacomo Catenazzi <cate@debian.org> Tue, 18 Sep 2007 21:25:32 +0200
libg15render (1.2.0.svn250-1) unstable; urgency=low libg15render (1.2.0.svn250-1) unstable; urgency=low
* New upstream (from svn) * New upstream (from svn)
+2 -8
View File
@@ -10,12 +10,6 @@ extern "C"
#define TTF_SUPPORT 1 #define TTF_SUPPORT 1
#ifdef TTF_SUPPORT
#include <ft2build.h>
#include <freetype/freetype.h>
#include <freetype/ftbitmap.h>
#endif
#define BYTE_SIZE 8 #define BYTE_SIZE 8
#define G15_BUFFER_LEN 1048 #define G15_BUFFER_LEN 1048
#define G15_LCD_OFFSET 32 #define G15_LCD_OFFSET 32
@@ -42,8 +36,8 @@ extern "C"
/** g15canvas::mode_reverse determines whether color values passed to g15r_setPixel are reversed.*/ /** g15canvas::mode_reverse determines whether color values passed to g15r_setPixel are reversed.*/
int mode_reverse; int mode_reverse;
#ifdef TTF_SUPPORT #ifdef TTF_SUPPORT
FT_Library ftLib; struct FT_LibraryRec_ * ftLib;
FT_Face ttf_face[G15_MAX_FACE][sizeof (FT_Face)]; struct FT_FaceRec_* ttf_face[G15_MAX_FACE][sizeof (struct FT_FaceRec_*)];
int ttf_fontsize[G15_MAX_FACE]; int ttf_fontsize[G15_MAX_FACE];
#endif #endif
} g15canvas; } g15canvas;
+7
View File
@@ -16,8 +16,15 @@
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include <stdio.h>
#include <ft2build.h>
#include <freetype/freetype.h>
#include <freetype/ftbitmap.h>
#include "libg15render.h" #include "libg15render.h"
/** /**
* Retrieves the value of the pixel at (x, y) * Retrieves the value of the pixel at (x, y)
* *
+4
View File
@@ -16,6 +16,10 @@
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include <ft2build.h>
#include <freetype/freetype.h>
#include <freetype/ftbitmap.h>
#include "libg15render.h" #include "libg15render.h"
void void