summaryrefslogtreecommitdiff
path: root/source/html/css-apply.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2014-11-26 02:14:34 +0100
committerTor Andersson <tor.andersson@artifex.com>2014-12-03 12:25:52 +0100
commit673f6e7149c3c5b0e2a1fe334c3b04124fc807c6 (patch)
tree0009993139bd79dcaf3a3ed867b759069ef6433e /source/html/css-apply.c
parentcf42f2f4d5e95b7254479e80614d1814e74e2387 (diff)
downloadmupdf-673f6e7149c3c5b0e2a1fe334c3b04124fc807c6.tar.xz
html: Clean up some names.
Diffstat (limited to 'source/html/css-apply.c')
-rw-r--r--source/html/css-apply.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/html/css-apply.c b/source/html/css-apply.c
index bbfc7ffa..289811c6 100644
--- a/source/html/css-apply.c
+++ b/source/html/css-apply.c
@@ -990,7 +990,7 @@ default_computed_style(struct computed_style *style)
}
void
-compute_style(fz_context *ctx, html_context *htx, struct computed_style *style, struct style *node)
+compute_style(fz_context *ctx, fz_html_font_set *set, struct computed_style *style, struct style *node)
{
struct value *value;
@@ -1087,7 +1087,7 @@ compute_style(fz_context *ctx, html_context *htx, struct computed_style *style,
const char *font_variant = get_style_property_string(node, "font-variant", "normal");
const char *font_style = get_style_property_string(node, "font-style", "normal");
const char *font_weight = get_style_property_string(node, "font-weight", "normal");
- style->font = html_load_font(ctx, htx, font_family, font_variant, font_style, font_weight);
+ style->font = fz_html_load_font(ctx, set, font_family, font_variant, font_style, font_weight);
}
}