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 /desktop/save_pdf | |
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 'desktop/save_pdf')
-rw-r--r-- | desktop/save_pdf/font_haru.c | 2 | ||||
-rw-r--r-- | desktop/save_pdf/font_haru.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/desktop/save_pdf/font_haru.c b/desktop/save_pdf/font_haru.c index 57d36fe95..e8643f701 100644 --- a/desktop/save_pdf/font_haru.c +++ b/desktop/save_pdf/font_haru.c @@ -41,7 +41,7 @@ #include "utils/nsoption.h" #include "desktop/save_pdf/font_haru.h" -#include "render/font.h" +#include "desktop/font.h" #include "utils/log.h" diff --git a/desktop/save_pdf/font_haru.h b/desktop/save_pdf/font_haru.h index 0dd6dc0c4..c6578b09f 100644 --- a/desktop/save_pdf/font_haru.h +++ b/desktop/save_pdf/font_haru.h @@ -26,8 +26,8 @@ #include <hpdf.h> -#include "render/font.h" #include "desktop/plot_style.h" +#include "desktop/font.h" bool haru_nsfont_apply_style(const plot_font_style_t *fstyle, HPDF_Doc doc, HPDF_Page page, |