NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-amd64/57747: console far too small with i915 in NetBSD 10



The following reply was made to PR port-amd64/57747; it has been noted by GNATS.

From: mlelstv%serpens.de@localhost (Michael van Elst)
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: port-amd64/57747: console far too small with i915 in NetBSD 10
Date: Mon, 4 Dec 2023 08:27:52 -0000 (UTC)

 jeandre%NetBSD.org@localhost writes:
 
 >	[     3.257024] intelfb0: framebuffer at 0x40009000, size 1024x600, depth 32, stride 4096
 
 Builtin fonts for amd64 are:
 
 FONT_BOLD8x16
 FONT_BOLD16x32
 
 The 8x16 font would yield 128x37 characters.
 The 16x32 font would yield 64x18 characters.
 
 While wscons searches for a font of int(1024/80) = 12 pixel width
 (so both fonts are equally good), the genfb driver searches with
 WSFONT_PREFER_WIDE which changes the score to use only bigger fonts.
 
 The WSFONT_PREFER_WIDE flag is nonsense, as it either tilts the
 scoring to use only bigger fonts (when set) or to use only smaller
 fonts (when clear).
 
 The font search should return the font that comes closest to the
 wanted size. If anything it should be tilted to smaller fonts to
 prefer fonts that allow at least an 80 column display.
 


Home | Main Index | Thread Index | Old Index