From 6c70e3bde6aa39250596a553ec2952700b214d05 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Mon, 22 Feb 2016 12:24:08 +0100 Subject: html: Don't forget bold/italic when font-family is not set. --- source/html/css-apply.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/html') diff --git a/source/html/css-apply.c b/source/html/css-apply.c index a6c531b0..ca0607bd 100644 --- a/source/html/css-apply.c +++ b/source/html/css-apply.c @@ -1273,7 +1273,7 @@ fz_apply_css_style(fz_context *ctx, fz_html_font_set *set, fz_css_style *style, value = value->next; } if (!style->font) - style->font = fz_load_html_font(ctx, set, "serif", 0, 0); + style->font = fz_load_html_font(ctx, set, "serif", is_bold, is_italic); } } -- cgit v1.2.3