From 17be8cf216e08a57c511ec1ea43eae40874fa9de Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Mon, 13 Oct 2014 11:56:31 +0100 Subject: 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. --- cocoa/font.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cocoa') diff --git a/cocoa/font.m b/cocoa/font.m index 08fad0a36..3e28dea47 100644 --- a/cocoa/font.m +++ b/cocoa/font.m @@ -23,7 +23,7 @@ #import "css/css.h" #import "utils/nsoption.h" -#import "render/font.h" +#import "desktop/font.h" #import "desktop/plotters.h" @@ -234,4 +234,4 @@ static inline NSDictionary *cocoa_font_attributes( const plot_font_style_t *styl cocoa_font_get_nsfont( style ), NSFontAttributeName, cocoa_convert_colour( style->foreground ), NSForegroundColorAttributeName, nil]; -} \ No newline at end of file +} -- cgit v1.2.3