diff options
author | Vincent Sanders <vince@kyllikki.org> | 2014-10-13 11:56:31 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2014-10-13 11:56:31 +0100 |
commit | 17be8cf216e08a57c511ec1ea43eae40874fa9de (patch) | |
tree | 270667cd4a3418b185e5432be1c7c8b7dca8792f /gtk/font_pango.c | |
parent | 33c6073dbed882506e5a16fc43e7e2a71a2d6be2 (diff) | |
download | netsurf-17be8cf216e08a57c511ec1ea43eae40874fa9de.tar.gz netsurf-17be8cf216e08a57c511ec1ea43eae40874fa9de.tar.bz2 |
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 'gtk/font_pango.c')
-rw-r--r-- | gtk/font_pango.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gtk/font_pango.c b/gtk/font_pango.c index 1cb536e9e..c49b32b25 100644 --- a/gtk/font_pango.c +++ b/gtk/font_pango.c @@ -27,12 +27,13 @@ #include <stdio.h> #include <gtk/gtk.h> -#include "gtk/font_pango.h" -#include "gtk/plotters.h" -#include "render/font.h" #include "utils/utils.h" #include "utils/log.h" #include "utils/nsoption.h" +#include "desktop/font.h" + +#include "gtk/font_pango.h" +#include "gtk/plotters.h" static bool nsfont_width(const plot_font_style_t *fstyle, const char *string, size_t length, |