Home | History | Annotate | Download | only in dumpfont

Lines Matching refs:tf

59     struct TextFont *tf;
96 tf = (struct TextFont *)OpenDiskFont (&ta);
97 if (! tf) {
105 tf->tf_YSize, tf->tf_Style, tf->tf_Flags, tf->tf_XSize, tf->tf_Baseline);
109 if (tf->tf_Flags & FPF_PROPORTIONAL) {
113 if (tf->tf_XSize > NetBSDwidth) {
119 InitBitMap(&bm, 1, 256 * NetBSDwidth, tf->tf_YSize);
122 bm.Planes[0] = pp = AllocRaster (256 * NetBSDwidth, tf->tf_YSize);
134 SetFont (&rp, tf);
135 SetSoftStyle(&rp, ta.ta_Style ^ tf->tf_Style,
137 Move (&rp, 0, tf->tf_Baseline);
139 if (tf->tf_XSize != NetBSDwidth) {
141 Move (&rp, NetBSDwidth - tf->tf_XSize, tf->tf_Baseline);
145 Move (&rp, rp.cp_x + (NetBSDwidth - tf->tf_XSize), rp.cp_y);
155 printf (" Font: %s/%d\n", ta.ta_Name, tf->tf_YSize);
158 printf ("unsigned char kernel_font_width = %d;\n", tf->tf_XSize);
159 printf ("unsigned char kernel_font_height = %d;\n", tf->tf_YSize);
160 printf ("unsigned char kernel_font_baseline = %d;\n", tf->tf_Baseline);
161 printf ("short kernel_font_boldsmear = %d;\n", tf->tf_BoldSmear);
166 for (j = 0; j < (tf->tf_YSize -1); j++) {
174 for (j = 0; j < tf->tf_YSize; j++) {
181 CloseFont (tf);
182 FreeRaster (pp, 256 * NetBSDwidth, tf->tf_YSize);