Re: [PATCH] fonts:Kconfig: fix default enable FONT_8x8 and FONT_8x16at the same time

From: Randy Dunlap
Date: Mon Dec 30 2013 - 13:21:58 EST


On 12/29/13 22:48, Wang YanQing wrote:
> On Sun, Dec 29, 2013 at 09:34:30PM -0800, Greg KH wrote:
>> On Mon, Dec 30, 2013 at 11:37:45AM +0800, Wang YanQing wrote:
>>> FONT_8x8 and FONT_8x16 have the same default value line:
>>> "default y if !SPARC && !FONTS"
>>>
>>> I test run "make defconfig" for x86 will enable FONT_8x8 and FONT_8x16 at
>>> the same time.
>>>
>>> This patch fix it, because FONT_AUTOSELECT choice FONT_8x16, so
>>> I decide to disable FONT_8x8, this patch will reduce size of kernel.
>>>
>>> Signed-off-by: Wang YanQing <udknight@xxxxxxxxx>
>>> ---
>>> lib/fonts/Kconfig | 1 -
>>> 1 file changed, 1 deletion(-)
>>
>> I am not the maintainer of this file, sorry. Also, I don't think it's
>> correct, if you want, you can always disable this option on your own.
>>
> Hi Greg KH.
>
> Sorry for confusion, the default behavior enable FONT_8x8 and FONT_8x16,
> FONT_8x8 eat ~50KB memory, but kernel never use it. I think this is not
> good default behavior.

If framebuffer console is enabled, then the user can select which compiled-in
font to use by using
fbcon=font:<name>
See Documentation/fb/fbcon.txt for more info.


--
~Randy
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/