diff options
author | Vincent Sanders <vince@netsurf-browser.org> | 2009-02-20 09:51:21 +0000 |
---|---|---|
committer | Vincent Sanders <vince@netsurf-browser.org> | 2009-02-20 09:51:21 +0000 |
commit | 0cecbe3cbcef566fb679aed5f0055397cb4c040c (patch) | |
tree | 82e0b523e73d5c069060b79b41d697839585b924 /framebuffer/fb_16bpp_plotters.c | |
parent | 8aa291df0f63bb152d6d2893f361f6ae06fe06d7 (diff) | |
download | netsurf-0cecbe3cbcef566fb679aed5f0055397cb4c040c.tar.gz netsurf-0cecbe3cbcef566fb679aed5f0055397cb4c040c.tar.bz2 |
allow framebuffer port to use freetype2 library
svn path=/trunk/netsurf/; revision=6570
Diffstat (limited to 'framebuffer/fb_16bpp_plotters.c')
-rw-r--r-- | framebuffer/fb_16bpp_plotters.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/framebuffer/fb_16bpp_plotters.c b/framebuffer/fb_16bpp_plotters.c index 827cc8f6e..095dcda52 100644 --- a/framebuffer/fb_16bpp_plotters.c +++ b/framebuffer/fb_16bpp_plotters.c @@ -191,7 +191,13 @@ static bool fb_16bpp_clg(colour c) return true; } - +#ifdef FB_USE_FREETYPE +static bool fb_16bpp_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_16bpp_text(int x, int y, const struct css_style *style, const char *text, size_t length, colour bg, colour c) { @@ -278,6 +284,7 @@ static bool fb_16bpp_text(int x, int y, const struct css_style *style, free(buffer); return true; } +#endif static bool fb_16bpp_disc(int x, int y, int radius, colour c, bool filled) { |