From 0cecbe3cbcef566fb679aed5f0055397cb4c040c Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Fri, 20 Feb 2009 09:51:21 +0000 Subject: allow framebuffer port to use freetype2 library svn path=/trunk/netsurf/; revision=6570 --- framebuffer/fb_8bpp_plotters.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'framebuffer/fb_8bpp_plotters.c') diff --git a/framebuffer/fb_8bpp_plotters.c b/framebuffer/fb_8bpp_plotters.c index 087cf025b..1d0eccc83 100644 --- a/framebuffer/fb_8bpp_plotters.c +++ b/framebuffer/fb_8bpp_plotters.c @@ -127,6 +127,15 @@ static bool fb_8bpp_clg(colour c) return true; } +#ifdef FB_USE_FREETYPE + +static bool fb_8bpp_text(int x, int y, const struct css_style *style, + const char *text, size_t length, colour bg, colour c) +{ + return false; + +} +#else static bool fb_8bpp_text(int x, int y, const struct css_style *style, const char *text, size_t length, colour bg, colour c) { @@ -206,7 +215,7 @@ static bool fb_8bpp_text(int x, int y, const struct css_style *style, free(buffer); return true; } - +#endif static bool fb_8bpp_disc(int x, int y, int radius, colour c, bool filled) { -- cgit v1.2.3