diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2015-09-15 12:38:37 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2015-09-15 21:57:43 +0200 |
commit | c97ba05ef627bfdea79bf925e5728ae27270d25e (patch) | |
tree | c37c65fa05c33f7bf70c8beff33a02b9b753fb09 /source/html/css-apply.c | |
parent | 334444a89f9099b540f93f7bc0e2f0509de536d7 (diff) | |
download | mupdf-c97ba05ef627bfdea79bf925e5728ae27270d25e.tar.xz |
epub: Use a fallback font.
Diffstat (limited to 'source/html/css-apply.c')
-rw-r--r-- | source/html/css-apply.c | 1 |
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); } } |