diff options
Diffstat (limited to 'source/html/css-apply.c')
-rw-r--r-- | source/html/css-apply.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/html/css-apply.c b/source/html/css-apply.c index 67814440..bbfc7ffa 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(html_document *doc, struct computed_style *style, struct style *node) +compute_style(fz_context *ctx, html_context *htx, struct computed_style *style, struct style *node) { struct value *value; @@ -1087,7 +1087,7 @@ compute_style(html_document *doc, struct computed_style *style, struct style *no 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(doc, font_family, font_variant, font_style, font_weight); + style->font = html_load_font(ctx, htx, font_family, font_variant, font_style, font_weight); } } |