Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Oct 2011 17:26:07 -0700
From:      Xin LI <delphij@gmail.com>
To:        Warren Block <wblock@wonkity.com>
Cc:        doc@freebsd.org
Subject:   Re: scr2png in 720x400
Message-ID:  <CAGMYy3tyXWWgkEDsEH5FK4eLYDUVRd1S%2BiGWKxLXtxpFvSzKQg@mail.gmail.com>
In-Reply-To: <alpine.BSF.2.00.1110111513570.27635@wonkity.com>
References:  <alpine.BSF.2.00.1110111513570.27635@wonkity.com>

index | next in thread | previous in thread | raw e-mail

On Tue, Oct 11, 2011 at 2:19 PM, Warren Block <wblock@wonkity.com> 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).  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
-- 
Xin LI <delphij@delphij.net> https://www.delphij.net/
FreeBSD - The Power to Serve! Live free or die


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGMYy3tyXWWgkEDsEH5FK4eLYDUVRd1S%2BiGWKxLXtxpFvSzKQg>