path: root/atari
diff options
authorVincent Sanders <>2014-10-13 11:56:31 +0100
committerVincent Sanders <>2014-10-13 11:56:31 +0100
commit17be8cf216e08a57c511ec1ea43eae40874fa9de (patch)
tree270667cd4a3418b185e5432be1c7c8b7dca8792f /atari
parent33c6073dbed882506e5a16fc43e7e2a71a2d6be2 (diff)
Put the font operations table alongside all the other core API
The netsurf core is driven from numerous operation tables most of which are now set through a common netsurf_register() interface. The font and plotting interfaces are currently separate and unlike all the other operation tables are modified for differing contexts. This change moves the font operations alongside all the other operations table and remove unnecessary interaction with the renderers font internals. Further this also removes the need for css internals to be visible in frontends.
Diffstat (limited to 'atari')
3 files changed, 2 insertions, 4 deletions
diff --git a/atari/encoding.h b/atari/encoding.h
index d0289b613..784aa8273 100644
--- a/atari/encoding.h
+++ b/atari/encoding.h
@@ -23,8 +23,6 @@
#include <assert.h>
#include <stdbool.h>
-#include "css/css.h"
-#include "render/font.h"
#include "utils/utf8.h"
struct gui_utf8_table *atari_utf8_table;
diff --git a/atari/font.c b/atari/font.c
index c55aca05a..24a18edef 100755
--- a/atari/font.c
+++ b/atari/font.c
@@ -39,7 +39,7 @@
#include <stdbool.h>
#include "css/css.h"
-#include "render/font.h"
+#include "desktop/font.h"
#include "utils/utf8.h"
#include "utils/log.h"
#include "utils/nsoption.h"
diff --git a/atari/gui.c b/atari/gui.c
index f70c740d5..29991515e 100644
--- a/atari/gui.c
+++ b/atari/gui.c
@@ -50,7 +50,7 @@
#include "desktop/browser.h"
#include "desktop/browser_private.h"
#include "desktop/mouse.h"
-#include "render/font.h"
+#include "desktop/font.h"
#include "atari/gemtk/gemtk.h"
#include "atari/gui.h"