From 5031b80b331ddc58fd24f3fe7a85503320cf9689 Mon Sep 17 00:00:00 2001 From: James Bursa Date: Thu, 17 Jul 2003 23:01:02 +0000 Subject: [project @ 2003-07-17 23:01:02 by bursa] Fix 670947, tidy gui code, move some headers. svn path=/import/netsurf/; revision=231 --- debug/fontd.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'debug/fontd.c') diff --git a/debug/fontd.c b/debug/fontd.c index 89ae8ed75..f4537c238 100644 --- a/debug/fontd.c +++ b/debug/fontd.c @@ -8,10 +8,19 @@ #include #include #include "netsurf/css/css.h" -#include "netsurf/debug/fontd.h" +#include "netsurf/render/font.h" #include "netsurf/utils/utils.h" #include "netsurf/utils/log.h" +#define FONT_FAMILIES 1 +#define FONT_BOLD 2 +#define FONT_SLANTED 1 + +/* a font_set is just a linked list of font_data for each face for now */ +struct font_set { + struct font_data *font[FONT_FAMILIES * 4]; +}; + /** * font id = font family * 4 + bold * 2 + slanted * font family: 0 = sans-serif, 1 = serif, ... -- cgit v1.2.3