HomeFreeBSD

vtfontcvt: Improve error message for unsupported DWIDTH

Description

vtfontcvt: Improve error message for unsupported DWIDTH

vtfontcvt requires that all glyphs are 1x or 2x a common width,
reporting for example "bitmap with unsupported DWIDTH 27 0 on line xxx"
if the font is expected to be 32 pixels wide.

Add the expected / permitted values to the error message to make the
issue more clear - for the same example,
"bitmap with unsupported DWIDTH 27 0 (not 32 or 64)".

Reviewed by: ziaee
Sponsored by: The FreeBSD Foundation

(cherry picked from commit 3433daae0d20d55503084c4d17b8a3e685657ad2)
(cherry picked from commit 036ce9b76e0ac5bb3a611a4b259a39e3158c25d4)

Details

Provenance
emasteAuthored on Jan 20 2025, 8:04 PM
Parents
rGfd3016b17efb: Canonicalize the name of the FreeBSD Foundation
Branches
Unknown
Tags
Unknown