 +	return filename;
 +}
 +
-+char *
-+get_font_file_android(char *name)
-+{
-+	const char fontdir[] = "/system/fonts";
-+	size_t len = sizeof(fontdir) + strlen(name) + 1;	// sizeof on a string literal includes the NUL
-+	char *filename = malloc(len);
-+	if (filename == NULL) {
-+		return NULL;
-+	}
-+	snprintf(filename, len, "%s/%s", fontdir, name);
-+	return filename;
-+}
-+
 +const unsigned char *
 +fz_lookup_base14_font(fz_context *ctx, const char *name, int *size)
 +{

 /*
 	Base 14 PDF fonts from URW.
 	Noto fonts from Google.
@@ -367,3 +371,173 @@ fz_lookup_noto_emoji_font(fz_context *ctx, int *size)
 	return *size = 0, NULL;
 #endif
 }

+	char *filename;
+	fz_font *font;
+
+	filename = get_font_file("noto/NotoSansCJKsc-Regular.otf");
+	font = fz_new_font_from_file(ctx, NULL, filename, 0, 1);
+	free(filename);
+	return font;
