34366e40d1
Based on PR 13913 by Kevin Lo, with some cleanup by me. Kcfonts is a suit of chinese Ming Fanti fonts for X-window. Kcfonts' fonts are contributed by Kau Chauo Information CO. to all TANet users running on PC. Thanks Chin-Hao Tsai <c-tsai@uiuc.edu>, who converted it to the style of ETen's fonts. Now you can use kcfonts & crxvt to view Chinese by BIG5 encoding.
35 lines
667 B
Text
35 lines
667 B
Text
$NetBSD: patch-ai,v 1.1.1.1 2002/07/18 16:19:08 wiz Exp $
|
|
|
|
--- kc8x15.c.orig Sat Dec 16 18:19:08 1995
|
|
+++ kc8x15.c
|
|
@@ -10,12 +10,12 @@
|
|
char bdfhead[]=
|
|
"STARTFONT 2.1\n"
|
|
"COMMENT X\n"
|
|
-"FONT kc8x15\n"
|
|
+"FONT -kc-fixed-medium-r-normal--15-170-100-100-c-80-iso8859-1\n"
|
|
"SIZE 15 100 100\n"
|
|
"FONTBOUNDINGBOX 8 15 0 -1\n"
|
|
"STARTPROPERTIES 19\n"
|
|
"FONTNAME_REGISTRY \"\"\n"
|
|
-"FOUNDRY \"Kau Chauo\"\n"
|
|
+"FOUNDRY \"KC\"\n"
|
|
"FAMILY_NAME \"Fixed\"\n"
|
|
"WEIGHT_NAME \"Medium\"\n"
|
|
"SLANT \"R\"\n"
|
|
@@ -37,7 +37,7 @@
|
|
"CHARS 256\n";
|
|
|
|
|
|
-void main( void )
|
|
+int main( void )
|
|
{
|
|
FILE *fr,*fw;
|
|
int i,j;
|
|
@@ -69,4 +69,6 @@
|
|
}
|
|
|
|
fprintf(fw, "ENDFONT\n");
|
|
+
|
|
+ return 0;
|
|
}
|