pkgsrc/fonts/kcfonts/patches/patch-af

59 lines
1.3 KiB
Text

$NetBSD: patch-af,v 1.2 2005/12/28 19:50:45 joerg Exp $
--- kc15f.c.orig 1995-12-16 17:19:23.000000000 +0000
+++ kc15f.c
@@ -12,26 +12,33 @@
char head[]=
"STARTFONT 2.1\n"
"COMMENT 16x15 Font\n"
-"FONT kc15f\n"
+"FONT -kc-fixed-medium-r-normal--16-160-72-72-c-160-big5-0\n"
"SIZE 16 100 100\n"
"FONTBOUNDINGBOX 16 15 0 -1\n"
-"STARTPROPERTIES 12\n"
+"STARTPROPERTIES 19\n"
"FONT_ASCENT 14\n"
"FONT_DESCENT 1\n"
"DEFAULT_CHAR 41280\n"
-"COPYRIGHT \"KC\"\n"
-"POINT_SIZE 240\n"
-"FONT \"kc15f\"\n"
-"WEIGHT 10\n"
-"RESOLUTION 103\n"
-"RESOLUTION_X 100\n"
-"RESOLUTION_Y 100\n"
-"X_HEIGHT 4294967295\n"
-"QUAD_WIDTH 16\n"
+"COPYRIGHT \"Kau Chauo Business CO.\"\n"
+"FONTNAME_REGISTRY \"\"\n"
+"FOUNDRY \"KC\"\n"
+"FAMILY_NAME \"Fixed\"\n"
+"WEIGHT_NAME \"Medium\"\n"
+"SLANT \"R\"\n"
+"SETWIDTH_NAME \"Normal\"\n"
+"ADD_STYLE_NAME \"\"\n"
+"PIXEL_SIZE 16\n"
+"POINT_SIZE 160\n"
+"RESOLUTION_X 72\n"
+"RESOLUTION_Y 72\n"
+"SPACING \"C\"\n"
+"AVERAGE_WIDTH 160\n"
+"CHARSET_REGISTRY \"BIG5\"\n"
+"CHARSET_ENCODING \"0\"\n"
"ENDPROPERTIES\n"
"CHARS 13867\n";
-FILE *fp,*fr1, *fr2, *fw=stdout;
+FILE *fp,*fr1, *fr2, *fw;
int count, ofs;
@@ -61,7 +68,7 @@ void out(FILE *fp)
main()
{
-
+ fw = stdout;
if ((fp=fopen("spcfont.15","r"))==NULL) {
fprintf(stderr,"kc15 Error01:Can't open spcfont.15\n"); exit(2);
}