diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2017-03-28 17:18:01 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2017-03-28 17:18:01 +0200 |
commit | da7fe62e67b2175ce7dc08b5dbe7c90c8af3308f (patch) | |
tree | 56e49084636728162602302016cb546502a3a10f /source | |
parent | 5f75285d8cadcc35e51f84bdbbffd6d0abdab6d5 (diff) | |
download | mupdf-da7fe62e67b2175ce7dc08b5dbe7c90c8af3308f.tar.xz |
Pass the 'serif' flag to fz_lookup_noto_font.
Diffstat (limited to 'source')
-rw-r--r-- | source/fitz/font.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/fitz/font.c b/source/fitz/font.c index 3927eb17..b9c05b8d 100644 --- a/source/fitz/font.c +++ b/source/fitz/font.c @@ -347,7 +347,7 @@ fz_font *fz_load_fallback_font(fz_context *ctx, int script, int language, int se *fontp = fz_load_system_fallback_font(ctx, script, language, serif, bold, italic); if (!*fontp) { - data = fz_lookup_noto_font(ctx, script, language, 0, &size); + data = fz_lookup_noto_font(ctx, script, language, serif, &size); if (data) *fontp = fz_new_font_from_memory(ctx, NULL, data, size, 0, 0); } |