Hi, On Mon, Nov 02, 2015 at 03:53:38PM +0800, Du Huanpeng wrote: > this patch enable you to add new char support. with customer char > set(no need to be full char set), font size. > > Signed-off-by: Du Huanpeng <u74147@xxxxxxxxx> > --- > drivers/video/fbconsole.c | 39 +++++++++++++++++++-------------------- > include/linux/font.h | 11 ++++++++++- > lib/fonts/Kconfig | 5 +++++ > lib/fonts/Makefile | 2 ++ > lib/fonts/font_7x14.c | 1 + > lib/fonts/font_8x16.c | 1 + > lib/fonts/font_custom_16x.c | 44 ++++++++++++++++++++++++++++++++++++++++++++ > lib/fonts/font_mini_4x6.c | 1 + > lib/fonts/fonts.c | 38 +++++++++++++++++++++++++++++++++++--- > 9 files changed, 118 insertions(+), 24 deletions(-) > create mode 100644 lib/fonts/font_custom_16x.c > > diff --git a/drivers/video/fbconsole.c b/drivers/video/fbconsole.c > index b10503e..dad45c3 100644 > --- a/drivers/video/fbconsole.c > +++ b/drivers/video/fbconsole.c > @@ -22,8 +22,8 @@ struct fbc_priv { > struct param_d *par_font; > int par_font_val; > > - int font_width, font_height; > - const u8 *fontdata; > + struct font_desc font; > + Could you split the change of putting a struct font_desc into struct fbc_priv into a separate patch? That would make the addition of custom fonts better reviewable. Also, can we use a struct font_desc *font rather than struct font_desc font? Otherwise I think the patch is fine. Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox