summaryrefslogtreecommitdiff
path: root/source/fitz/font.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2017-03-28 17:18:01 +0200
committerTor Andersson <tor.andersson@artifex.com>2017-03-28 17:18:01 +0200
commitda7fe62e67b2175ce7dc08b5dbe7c90c8af3308f (patch)
tree56e49084636728162602302016cb546502a3a10f /source/fitz/font.c
parent5f75285d8cadcc35e51f84bdbbffd6d0abdab6d5 (diff)
downloadmupdf-da7fe62e67b2175ce7dc08b5dbe7c90c8af3308f.tar.xz
Pass the 'serif' flag to fz_lookup_noto_font.
Diffstat (limited to 'source/fitz/font.c')
-rw-r--r--source/fitz/font.c2
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);
}