/* * Copyright (c) 1991 The Regents of the University of California. * All rights reserved. * * This software was developed by the Computer Systems Engineering group * at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and * contributed to Berkeley. * * All advertising materials mentioning features or use of this software * must display the following acknowledgement: * This product includes software developed by the University of * California, Lawrence Berkeley Laboratory. * * %sccs.include.redist.c% * * @(#)rcons_font.c 7.4 (Berkeley) 04/20/93 * * from: $Header: rcons_font.c,v 1.10 93/04/20 11:15:38 torek Exp $ */ #ifdef KERNEL #include #include #include #include #include #else #include #include "myfbdevice.h" #endif #include #include void rcons_font(fb) register struct fbdevice *fb; { /* XXX really rather get this from the prom */ fb->fb_font = &gallant19; /* Get distance to top and bottom of font from font origin */ fb->fb_font_ascent = -(fb->fb_font->chars)['a'].homey; }