diff options
author | James Bursa <james@netsurf-browser.org> | 2003-07-17 23:01:02 +0000 |
---|---|---|
committer | James Bursa <james@netsurf-browser.org> | 2003-07-17 23:01:02 +0000 |
commit | 5031b80b331ddc58fd24f3fe7a85503320cf9689 (patch) | |
tree | 7911bcec2639a026ba6ff4403e6984977a8e5d54 /riscos/font.c | |
parent | 8bca5444485f4f76f96b8f1f57434afca36cca62 (diff) | |
download | netsurf-5031b80b331ddc58fd24f3fe7a85503320cf9689.tar.gz netsurf-5031b80b331ddc58fd24f3fe7a85503320cf9689.tar.bz2 |
[project @ 2003-07-17 23:01:02 by bursa]
Fix 670947, tidy gui code, move some headers.
svn path=/import/netsurf/; revision=231
Diffstat (limited to 'riscos/font.c')
-rw-r--r-- | riscos/font.c | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/riscos/font.c b/riscos/font.c index 25db522fc..493a7e507 100644 --- a/riscos/font.c +++ b/riscos/font.c @@ -8,12 +8,21 @@ #include <assert.h> #include <stdio.h> +#include "oslib/font.h" #include "netsurf/css/css.h" -#include "netsurf/riscos/font.h" -#include "netsurf/utils/utils.h" #include "netsurf/desktop/gui.h" +#include "netsurf/render/font.h" #include "netsurf/utils/log.h" -#include "oslib/font.h" +#include "netsurf/utils/utils.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 |