2 * \brief Interface of DOpE font conversion module
4 * \author Norman Feske <nf2@inf.tu-dresden.de>
8 * Copyright (C) 2002-2004 Norman Feske <nf2@os.inf.tu-dresden.de>
9 * Technische Universitaet Dresden, Operating Systems Research Group
11 * This file is part of the DOpE package, which is distributed under
12 * the terms of the GNU General Public Licence 2. Please see the
13 * COPYING file for details.
16 #ifndef _DOPE_FONTCONV_H_
17 #define _DOPE_FONTCONV_H_
19 struct fontconv_services {
20 s16 (*probe) (void *fontadr);
21 void (*gen_width_table) (void *fontadr,s32 *dst_wtab);
22 void (*gen_offset_table) (void *fontadr,s32 *dst_otab);
23 u8 *(*get_name) (void *fontadr);
24 u16 (*get_top) (void *fontadr);
25 u16 (*get_bottom) (void *fontadr);
26 u32 (*get_image_width) (void *fontadr);
27 u32 (*get_image_height) (void *fontadr);
28 void (*gen_image) (void *fontadr,u8 *dst_img);
32 #endif /* _DOPE_FONTCONV_H_ */