From owner-freebsd-stable@FreeBSD.ORG Mon Oct 20 14:59:48 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E8FE0929 for ; Mon, 20 Oct 2014 14:59:48 +0000 (UTC) Received: from mail-ig0-x235.google.com (mail-ig0-x235.google.com [IPv6:2607:f8b0:4001:c05::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B7A396E3 for ; Mon, 20 Oct 2014 14:59:48 +0000 (UTC) Received: by mail-ig0-f181.google.com with SMTP id r10so4727962igi.8 for ; Mon, 20 Oct 2014 07:59:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=VJ0KAdL91nuXup7IQUveuXfi8eM9/7ItDlT+9RljkT0=; b=vWvJ1gxIepP9jc3F6lWxCT/mijrylgeGGNz76EYNqVJk2tNkVc3JFqX1Tz8H9wwuO/ j3DqRFVQxQBlhVFsSdd1OBsnL1BoIiQrD48ZLlM7DPsjd7LbXfM+mkOPZ8O0OjPv8QVl RCa/RzzgDi0WnrQUvUcI2iM/gosDsnxWiGruGRjH8RtwkjjpzYB1I9mttN3YcB0id/c/ 8+4ayZ/OSkUh4XdYYENJtxPePjUVCk7KlDR/7gvkKFaAl/IBr2tGpnkq21lXTm6isnkf updXSQdhrhAgfemgpWXjw9HszG2iv/x5H0McM1CEqStwPXQ6txpy/T6jk0kOIoOgVQCv G4vQ== X-Received: by 10.107.40.136 with SMTP id o130mr29575806ioo.26.1413817188128; Mon, 20 Oct 2014 07:59:48 -0700 (PDT) MIME-Version: 1.0 Sender: carpeddiem@gmail.com Received: by 10.107.29.132 with HTTP; Mon, 20 Oct 2014 07:59:27 -0700 (PDT) In-Reply-To: <3d80542ccc73686094ddde4e18465e4a.squirrel@s4bysmmsnraf7eut.onion> References: <4490c8c4d489370c7617c0ace9e773be.squirrel@s4bysmmsnraf7eut.onion> <3d80542ccc73686094ddde4e18465e4a.squirrel@s4bysmmsnraf7eut.onion> From: Ed Maste Date: Mon, 20 Oct 2014 10:59:27 -0400 X-Google-Sender-Auth: e89rQrHLj-6AzJQCEfdiS_JD6sE Message-ID: Subject: Re: vt(4) "newcons" and 80x25 vty? (tested: 10.1-BETA2) To: beeessdee@ruggedinbox.com Content-Type: text/plain; charset=UTF-8 Cc: freebsd-stable stable X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Oct 2014 14:59:49 -0000 On 25 September 2014 18:51, wrote: > > For longer term, when there is time, I like to hack on font system for > other goals in my previous mail: Smooth fonts sized right at native/max > resolution provided with new(ish) kms driver stack. What a waste to stick > to vgamode. Any pointers toward where I should start? Documentation is > scarcer than the usual FreeBSD (not a criticism - it is new subsystem!). In fact, good documentation is even more important for new subsystems. Anyhow, as a result of your comment I noticed that a vtfontcvt(8) cross-reference was missing from vt(4); it's now added to HEAD in r273332. I've also put a quick example in the wiki (https://wiki.freebsd.org/Newcons) of using vtfontcvt(8) to create a larger console font, and include it here for feedback: 1. Fetch the Terminus font distribution and unpack it. It's available from http://sourceforge.net/projects/terminus-font/files/latest/download?source=files 2. Convert the 16x32 bitmap .bdf files to a vt(4) .fnt file: % vtfontcvt -w 16 -h 32 ter-u32n.bdf ter-u32b.bdf ter-u32.fnt 3. Load it from a console window to test: % vidcontrol -f ter-u32.fnt On my 1920x1200 LCD this font gives me a 120x37 terminal. A variant of Terminus is used as the default vt(4) console font, but only the 8x16 size is available to us under a BSD license. A future task is to integrate this with the terminus-font port, so that installing the port or package is sufficient to make the full set of sizes available to vt(4). -Ed