freebsd-ports/japanese/gnomelibs/files/patch-ap
2000-10-30 13:55:28 +00:00

29 lines
1,023 B
Text

--- ./gtk-xmhtml/fonts.c.jp4 Fri Jul 30 02:59:47 1999
+++ ./gtk-xmhtml/fonts.c Sun Oct 29 18:32:21 2000
@@ -221,8 +221,8 @@
static fontCache *curr_cache; /* current font cache */
/* Backup lists when sizes are not specified */
-static int def_fn_sizes[8] = {140,80,240,180,160,140,120,100};
-static int def_fn_fixed_sizes[2] = {120,80};
+static int def_fn_sizes[8] = {110,80,240,160,160,140,140,140};
+static int def_fn_fixed_sizes[2] = {110,80};
/*****
* Name: makeFontName
@@ -297,13 +297,13 @@
/* FIXME: better way to determine the fontset name? */
sprintf(new_name,
"-%s-%s-%s-%s-%s-*-*-%i-%i-%i-%s-*-%s,"
- "-*-*-%s-%s-%s-*-*-%i-*-*-*-*-*,"
+ "-*-*-%s-%s-%s-*-%i-*-*-*-*-*-*,"
"-*-*-*-*-*-*-%i-*-*-*-*-*-*,*",
foundry != NULL ? foundry : fndry,
family != NULL ? family : fam,
weight, slant, wd, points,
curr_cache->res_x, curr_cache->res_y, sp, charset,
- weight, slant, wd, points,
+ weight, slant, wd, points / 10,
points / 10);
} else {
sprintf(new_name,