Skip to content

Commit

Permalink
Merge pull request #334 from frankyifei/frankyifei-patch-1
Browse files Browse the repository at this point in the history
Update for font change
  • Loading branch information
Frenzie committed Sep 4, 2015
2 parents df10ee3 + 9db9d8f commit fb3847c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cre.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ static int newDocView(lua_State *L) {
doc->text_view->propsApply(props);
} else {
// Tweak the default settings to be slightly less random
props->setString(PROP_FALLBACK_FONT_FACE, "Droid Sans Fallback");
props->setString(PROP_FALLBACK_FONT_FACE, "Noto Sans CJK SC");
props->setString(PROP_HYPHENATION_DICT, "English_US_hyphen_(Alan).pdb");
props->setString(PROP_STATUS_FONT_FACE, "Noto Sans");
props->setString(PROP_FONT_FACE, "Noto Serif");
Expand Down
2 changes: 1 addition & 1 deletion mupdf.patch
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ index 86b6682..4e062de 100644
+pdf_lookup_substitute_cjk_font(fz_context *ctx, int ros, int serif, int wmode, unsigned int *len, int *index)
+{
+ *len = 0;
+ return get_font_file("droid/DroidSansFallback.ttf");
+ return get_font_file("noto/NotoSansCJK-Regular.ttf");
+}
+
+void pdf_install_load_system_font_funcs(fz_context *ctx)
Expand Down

0 comments on commit fb3847c

Please sign in to comment.