File ebview-fonts.patch of Package ebview
Index: ebview-0.3.6/src/ebview.c
===================================================================
--- ebview-0.3.6.orig/src/ebview.c
+++ ebview-0.3.6/src/ebview.c
@@ -375,11 +375,11 @@ int main( int argc,
// Convert older font description.
if(fontset_normal[0] == '-'){
g_free(fontset_normal);
- fontset_normal = strdup("Kochi Mincho 12");
+ fontset_normal = strdup("Serif 12");
}
if(fontset_bold[0] == '-'){
g_free(fontset_bold);
- fontset_bold = strdup("Kochi Gothic 12");
+ fontset_bold = strdup("Sans 12");
}
if(fontset_italic[0] == '-'){
g_free(fontset_italic);
@@ -387,7 +387,7 @@ int main( int argc,
}
if(fontset_superscript[0] == '-'){
g_free(fontset_superscript);
- fontset_superscript = strdup("Kochi Gothic 8");
+ fontset_superscript = strdup("Sans 8");
}
check_search_method();
Index: ebview-0.3.6/src/preference.c
===================================================================
--- ebview-0.3.6.orig/src/preference.c
+++ ebview-0.3.6/src/preference.c
@@ -190,10 +190,10 @@ void initialize_preference(){
fontset_italic = strdup("times new roman Italic 9");
fontset_superscript = strdup("ms gothic 7");
#else
- fontset_normal = strdup("Kochi Mincho 12");
- fontset_bold = strdup("Kochi Gothic 12");
+ fontset_normal = strdup("Serif 12");
+ fontset_bold = strdup("Sans 12");
fontset_italic = strdup("Sans Italic 12");
- fontset_superscript = strdup("Kochi Gothic 8");
+ fontset_superscript = strdup("Sans 8");
#endif
color_str[COLOR_LINK] = strdup("#0000c0");
color_str[COLOR_KEYWORD] = strdup("#c00000");