From 974a4a21e16a2da85a66aae9b80eeca15ca26dd6 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sat, 23 Apr 2016 23:32:21 +0100 Subject: split out the layout glyph sizing and splitting API This refactors the core "font" sizing API to be handled through gui function tables similar to every other core/frontend calling API. --- render/html.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'render/html.c') diff --git a/render/html.c b/render/html.c index c95044f29..68eb11cd2 100644 --- a/render/html.c +++ b/render/html.c @@ -49,8 +49,8 @@ #include "image/bitmap.h" #include "javascript/js.h" #include "desktop/browser.h" -#include "desktop/font.h" #include "desktop/gui_utf8.h" +#include "desktop/gui_layout.h" #include "desktop/gui_internal.h" #include "render/box.h" @@ -844,7 +844,7 @@ html_create_html_data(html_content *c, const http_parameter *params) c->frameset = NULL; c->iframe = NULL; c->page = NULL; - c->font_func = &nsfont; + c->font_func = guit->layout; c->drag_type = HTML_DRAG_NONE; c->drag_owner.no_owner = true; c->selection_type = HTML_SELECTION_NONE; -- cgit v1.2.3