Hi, On Tue, Oct 27, 2015 at 04:40:56AM +0800, Kevin Du Huanpeng wrote: > On Mon, Oct 26, 2015 at 08:18:36AM +0100, Sascha Hauer wrote: > > > > This patch has several hunks without changes which makes it hard to look > > at. > > > > Somehow this looks like beginning unicode support. Wouldn't it be better > > to pick the relevant parts we need from unicode and support them? > > > How about store the font data externally, for reasons > 1. the font data maybe hurge, it take time to burn it to flash make barebox > fat. > 2. the part of font data namally don't change durning the devolopment. > 3. 'custom' means usless for other application. > 4. the fontdata maybe stored in a external spi flash and share with OS. > just pass the base address of index and fontdata or tell barebox how to get > the > font data.
Do you know the pf2 font format? That may be the right candidate for a font format. See: http://grub.gibibit.com/New_font_format If we could read this font format we could throw arbitrary unicode fonts into barebox. 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@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox