diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2016-02-22 12:24:08 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2016-02-22 12:31:20 +0100 |
commit | 6c70e3bde6aa39250596a553ec2952700b214d05 (patch) | |
tree | b798afd2254cdc35025ce5f165ce351b2e7a341c /source | |
parent | 344200647a66310038be19125483b1d62483845d (diff) | |
download | mupdf-6c70e3bde6aa39250596a553ec2952700b214d05.tar.xz |
html: Don't forget bold/italic when font-family is not set.
Diffstat (limited to 'source')
-rw-r--r-- | source/html/css-apply.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } } |