Date: Wed, 24 Sep 2014 22:24:58 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 193910] New: vt(4): add ability to restore default font via vidcontrol(1) [patch] Message-ID: <bug-193910-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193910 Bug ID: 193910 Summary: vt(4): add ability to restore default font via vidcontrol(1) [patch] Product: Base System Version: 11.0-CURRENT Hardware: Any OS: Any Status: Needs Triage Severity: Affects Only Me Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: saper@saper.info Created attachment 147651 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=147651&action=edit Patch to add PIO_VDFTFONT ioctl to vt(4) 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. -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-193910-8>