path: root/cocoa
diff options
authorVincent Sanders <>2014-10-13 11:56:31 +0100
committerVincent Sanders <>2014-10-13 11:56:31 +0100
commit17be8cf216e08a57c511ec1ea43eae40874fa9de (patch)
tree270667cd4a3418b185e5432be1c7c8b7dca8792f /cocoa
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 'cocoa')
1 files changed, 2 insertions, 2 deletions
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,
-} \ No newline at end of file