From owner-freebsd-doc@FreeBSD.ORG Wed Oct 12 01:37:34 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 B5B1B106564A for ; Wed, 12 Oct 2011 01:37:34 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 6EF408FC0C for ; Wed, 12 Oct 2011 01:37:34 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id p9C1bXXR028652; Tue, 11 Oct 2011 19:37:33 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id p9C1bXjL028649; Tue, 11 Oct 2011 19:37:33 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Tue, 11 Oct 2011 19:37:33 -0600 (MDT) From: Warren Block To: Xin LI In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="-902635197-2075567589-1318383453=:28393" X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Tue, 11 Oct 2011 19:37:33 -0600 (MDT) 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 01:37:34 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---902635197-2075567589-1318383453=:28393 Content-Type: TEXT/PLAIN; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8BIT On Tue, 11 Oct 2011, Xin LI wrote: > 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 'vidcontrol >> -p' capture?  Different fonts, maybe? >> >> I'm trying to match screenshots made from a real system to those made from a >> VirtualBox VM.  The real system makes 640x400 PNGs, while the VirtualBox >> 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). The odd thing is that the VM reports that it's in the same video mode as the real system, 640x400. Yet the actual bitmap captured is 720x400 plus VM window borders. > 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? An alternative would be to take .scr files and load them back into the the screen on another system for screen shots. It finally occurred to me to ssh from the VM to the real system, and continue to grab screen shots off the VM. That only works when the real hardware is running sshd. ---902635197-2075567589-1318383453=:28393--