Re: Teach vidcontrol(1) and vt(4) to restore default font

From: Marcin Cieslak <saper_at_saper.info>
Date: Wed, 24 Sep 2014 22:26:35 +0000 (UTC)
On Sat, 13 Sep 2014, Benjamin Kaduk wrote:

> On Sat, 13 Sep 2014, Marcin Cieslak wrote:
>
>> Hello,
>>
>> I tried loading gallant.fnt which I did not
>> like and I was wondering how to come back to
>> the nice default font.
>>
>> There does not seem to be the way to do this,
>> so please find below a simple patch to add
>> this functionality.
>>
>> It adds a new ioctl PIO_VDFFONT to the vt(4)
>> driver. I hope I got the reference counting
>> on the vt_font_default structure right.
>>
>> With this patch applied, "vidcontrol -f" restores
>> the built-in font.
>
> Can you please submit this to our bug tracker so it doesn't get lost?
>
> https://bugs.freebsd.org/submit

Sure, it lives under https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193910 now.

//Marcin
Received on Wed Sep 24 2014 - 20:26:40 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:52 UTC