From owner-freebsd-doc@FreeBSD.ORG Wed Oct 12 00:50:11 2011 Return-Path: Delivered-To: doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CA8AE1065673 for ; Wed, 12 Oct 2011 00:50:11 +0000 (UTC) (envelope-from delphij@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 8F11A8FC14 for ; Wed, 12 Oct 2011 00:50:11 +0000 (UTC) Received: by ywp17 with SMTP id 17so203066ywp.13 for ; Tue, 11 Oct 2011 17:50:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=dLGg4Rc6lgw50Fh5aLXfW7YsTrq2hHrNf+Agy4j7Gjo=; b=RIOlm79KSm/a6GfZC1Tndz/QfBQNln6kX7653PSeOEO/VsEvYqYAZBgDzQxXLsens0 pLd1VqRa/G3YWRf0AbOYfNUqvPUwqsNLFZUJQZJPc/MSrvqym6uAede4c0nIt8jyzmCZ F13n1V6UEkECfyarls7fvel52APenQGyBxdF4= MIME-Version: 1.0 Received: by 10.150.188.9 with SMTP id l9mr12624870ybf.15.1318379168045; Tue, 11 Oct 2011 17:26:08 -0700 (PDT) Received: by 10.151.145.18 with HTTP; Tue, 11 Oct 2011 17:26:07 -0700 (PDT) In-Reply-To: References: Date: Tue, 11 Oct 2011 17:26:07 -0700 Message-ID: From: Xin LI To: Warren Block Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: doc@freebsd.org Subject: Re: scr2png in 720x400 X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Oct 2011 00:50:11 -0000 On Tue, Oct 11, 2011 at 2:19 PM, Warren Block wrote: > Is there any way to get scr2png to create a 720x400 image from a 'vidcont= rol > -p' capture? =C2=A0Different fonts, maybe? > > I'm trying to match screenshots made from a real system to those made fro= m a > VirtualBox VM. =C2=A0The real system makes 640x400 PNGs, while the Virtua= lBox > image captures are 720x400 with better-looking fonts. I think you have to use a different font (the system only supplied 8x16, 8x14 and 8x8 fonts and for 720x400 you want 9x16 fonts). If I remember correctly, VGA would duplicate the rightmost column if the character's code is between 0xB0 through 0xDF (this is hardcoded knowledge about the so-called graphical characters) and for other characters, that column is left blank. Perhaps we need to implement that in scr2png? Cheers --=20 Xin LI https://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die