Lines Matching refs:fprintf

46 	fprintf(ofp, "static u_char %s%dx%d_data[] = {\n",  in fc_rasops()
64 fprintf(ofp, " /* code %d */\n", code); in fc_rasops()
67 fprintf(ofp, " "); in fc_rasops()
70 fprintf(ofp, "0x%02x,", (buf[k] & 0xff)); in fc_rasops()
73 fprintf(ofp, " /* "); in fc_rasops()
77 fprintf(ofp, " */\n"); in fc_rasops()
79 fprintf(ofp, "\n"); in fc_rasops()
88 fprintf(ofp, "};\n"); in fc_rasops()
90 fprintf(ofp, "struct wsdisplay_font %s%dx%d = {\n", in fc_rasops()
92 fprintf(ofp, " \"%s\",\t\t\t/* typeface name */\n", fontname); in fc_rasops()
93 fprintf(ofp, " 0x%02x,\t\t\t/* firstchar */\n", code_min); in fc_rasops()
94 fprintf(ofp, " %d,\t\t\t/* numchars */\n", code_max - code_min + 1); in fc_rasops()
95 fprintf(ofp, " WSDISPLAY_FONTENC_ISO,\t/* encoding */\n"); in fc_rasops()
96 fprintf(ofp, " %d,\t\t\t\t/* width */\n", width); in fc_rasops()
97 fprintf(ofp, " %d,\t\t\t\t/* height */\n", height); in fc_rasops()
98 fprintf(ofp, " %d,\t\t\t\t/* stride */\n", width_in_bytes); in fc_rasops()
99 fprintf(ofp, " WSDISPLAY_FONTENC_L2R,\t/* bit order */\n"); in fc_rasops()
100 fprintf(ofp, " WSDISPLAY_FONTENC_L2R,\t/* byte order */\n"); in fc_rasops()
101 fprintf(ofp, " %s%dx%d_data\t\t/* data */\n", in fc_rasops()
103 fprintf(ofp, "};\n"); in fc_rasops()
133 fprintf(ofp, "static u_int32_t %s%dx%d_%d_pix[] = {\n", in fc_rcons()
142 fprintf(ofp, " 0x%08x, /* ", d); in fc_rcons()
146 fprintf(ofp, " */\n"); in fc_rcons()
148 fprintf(ofp, "};\n"); in fc_rcons()
149 fprintf(ofp, "static struct raster %s%dx%d_%d = {", in fc_rcons()
151 fprintf(ofp, " %d, %d, 1, 1, %s%dx%d_%d_pix, 0 };\n", in fc_rcons()
162 fprintf(ofp, "struct raster_font %s%dx%d = {\n", in fc_rcons()
164 fprintf(ofp, " %d, %d, %d, ", width, height, ascent); in fc_rcons()
165 fprintf(ofp, "RASFONT_FIXEDWIDTH|RASFONT_NOVERTICALMOVEMENT,\n"); in fc_rcons()
166 fprintf(ofp, " {\n"); in fc_rcons()
168 fprintf(ofp, " { &%s%dx%d_%d, ", in fc_rcons()
170 fprintf(ofp, "%d, %d, %d, %d },\n", 0, -ascent, width, 0); in fc_rcons()
172 fprintf(ofp, " },\n"); in fc_rcons()
173 fprintf(ofp, "#ifdef COLORFONT_CACHE\n"); in fc_rcons()
174 fprintf(ofp, " (struct raster_fontcache*) -1\n"); in fc_rcons()
175 fprintf(ofp, "#endif /*COLORFONT_CACHE*/\n"); in fc_rcons()
176 fprintf(ofp, "};\n"); in fc_rcons()