summaryrefslogtreecommitdiff
path: root/source/html/css-apply.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2015-09-15 12:38:37 +0200
committerTor Andersson <tor.andersson@artifex.com>2015-09-15 21:57:43 +0200
commitc97ba05ef627bfdea79bf925e5728ae27270d25e (patch)
treec37c65fa05c33f7bf70c8beff33a02b9b753fb09 /source/html/css-apply.c
parent334444a89f9099b540f93f7bc0e2f0509de536d7 (diff)
downloadmupdf-c97ba05ef627bfdea79bf925e5728ae27270d25e.tar.xz
epub: Use a fallback font.
Diffstat (limited to 'source/html/css-apply.c')
-rw-r--r--source/html/css-apply.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/html/css-apply.c b/source/html/css-apply.c
index 2333ef5d..551dc2d8 100644
--- a/source/html/css-apply.c
+++ b/source/html/css-apply.c
@@ -1069,6 +1069,7 @@ fz_apply_css_style(fz_context *ctx, fz_html_font_set *set, fz_css_style *style,
const char *font_style = string_from_property(match, "font-style", "normal");
const char *font_weight = string_from_property(match, "font-weight", "normal");
style->font = fz_load_html_font(ctx, set, font_family, font_variant, font_style, font_weight);
+ style->fallback = fz_load_html_fallback_font(ctx, set);
}
}