summaryrefslogtreecommitdiff
path: root/fonts/kcfonts/patches/patch-ag
blob: 653a3d189bfd2a78c27ca1ec96ea57a88ef16398 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
$NetBSD: patch-ag,v 1.2 2005/12/28 19:50:45 joerg Exp $

--- kc24f.c.orig	1995-12-16 17:19:42.000000000 +0000
+++ kc24f.c
@@ -11,26 +11,33 @@
 char head[]=
 "STARTFONT 2.1\n"
 "COMMENT 24x24 Font\n"
-"FONT kc24f\n" 
+"FONT -kc-fixed-medium-r-normal--24-240-100-100-c-240-big5-0\n" 
 "SIZE 24 100 100\n"
 "FONTBOUNDINGBOX 24 24 0 -2\n"
-"STARTPROPERTIES 12\n"
+"STARTPROPERTIES 19\n"
 "FONT_ASCENT 22\n"
 "FONT_DESCENT 2\n"
 "DEFAULT_CHAR 41280\n"
-"COPYRIGHT \"KC\"\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 24\n"
 "POINT_SIZE 240\n"
-"FONT \"kc24f\"\n"
-"WEIGHT 10\n"
-"RESOLUTION 103\n"
 "RESOLUTION_X 100\n"
 "RESOLUTION_Y 100\n"
-"X_HEIGHT 4294967295\n"
-"QUAD_WIDTH 24\n"
+"SPACING \"C\"\n"
+"AVERAGE_WIDTH 240\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,6 +68,7 @@ fprintf(fw,"ENDCHAR\n");
 
 main()
 {
+  fw = stdout;
 
 if ((fp=fopen("spcfont.24","r"))==NULL) {
   fprintf(stderr,"kc24 Error 1:Can't open spcfont.24\n"); exit(2);