summaryrefslogtreecommitdiff
path: root/source/html/css-apply.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2016-01-21 12:34:56 +0100
committerTor Andersson <tor.andersson@artifex.com>2016-01-21 12:34:56 +0100
commit000b8df004b175781af5b071590cf3867ae16f3a (patch)
tree1d57886b3cd2fb62a146cf1e367b20c30dd0e951 /source/html/css-apply.c
parent1ceb3b2acf3b8b8c1d009a01e94957698e6ec142 (diff)
downloadmupdf-000b8df004b175781af5b071590cf3867ae16f3a.tar.xz
epub: Put font fallback chain in fz_font.
fz_encode_character_with_fallback finds the first font in the fallback chain that has the glyph encoded, and if none do then try to encode a bullet character.
Diffstat (limited to 'source/html/css-apply.c')
-rw-r--r--source/html/css-apply.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/html/css-apply.c b/source/html/css-apply.c
index f7884504..45fa7713 100644
--- a/source/html/css-apply.c
+++ b/source/html/css-apply.c
@@ -1161,7 +1161,6 @@ 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);
}
}