path: root/monkey
diff options
authorVincent Sanders <>2014-10-13 11:56:31 +0100
committerVincent Sanders <>2014-10-13 11:56:31 +0100
commit17be8cf216e08a57c511ec1ea43eae40874fa9de (patch)
tree270667cd4a3418b185e5432be1c7c8b7dca8792f /monkey
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 'monkey')
1 files changed, 1 insertions, 2 deletions
diff --git a/monkey/font.c b/monkey/font.c
index c4f4bffe1..3b6ca4fdc 100644
--- a/monkey/font.c
+++ b/monkey/font.c
@@ -16,10 +16,9 @@
* along with this program. If not, see <>.
-#include "render/font.h"
#include "utils/nsoption.h"
#include "utils/utf8.h"
+#include "desktop/font.h"
static bool nsfont_width(const plot_font_style_t *fstyle,
const char *string, size_t length,