🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.rc
Article #1334

Bug#1151588: bdf2psf fails to launch

#1334
From: Samuel Thibault
Date: Thu, 22 Oct 2026 07:00
51 lines
3818 bytes
Control: severity -1 normal
Control: tags -1 + pending

Hello,

Andrew Gunawan, le jeu. 22 oct. 2026 12:37:15 +0800, a ecrit:
> bdf2psf fails immediately on launch, giving me this error:
> 
> $ bdf2psf
> Use of uninitialized value $ARGV[0] in string eq at /usr/bin/bdf2psf line 44.

These are only warnings.

> Use of uninitialized value $ARGV[1] in split at /usr/bin/bdf2psf line 95.

That's just not checking the number of args. I have now fixed it.

> /usr/bin/bdf2psf: Bad symbols width for non-framebuffer font:

And eventually fails because of missing args.

> Not sure what else I can provide to help diagnose the issue.

€ bdf2psf --help
Usage:
bdf2psf [--fb|--raw][--log LOG] BDF{+BDF} EQUIV{+EQUIV} SYMB{+[:]SYMB} SIZE PSF [SFM]

--fb           Create font for framebuffer.
--raw          Create a raw font (SIZE*8 bytes)
--log          A log file for warnings.
BDF{+BDF}      A list of BDF fonts.  The fonts listed first take precedence
               when several fonts define glyphs for same unicode.
EQUIV{+EQUIV}  A list of equivalents files.  Each non-empty line in these files
               contains a list of unicodes to be considered equal (for all of
               them only one position number in the PSF will be reserved).
SYMB{+SYMB}    Files containing lists of symbols to include in the PSF font.
               Unicodes listed first take precedence.  When a file name is
               preceeded by a colon, no warnings about missing symbols in
               the BDF fonts will be issued.
SIZE           Create PSF font with how many character positions
               (usually 256 or 512).
PSF            The new font.  If a file with this name already exists,
               it will be overwritten
SFM            The SFM table of the PSF font.  If a file with this name already
               exists, it will be overwritten.  Optional.


The tool needs more than just the bdf file, see man bdf2psf

With regards,
Samuel
Technical Details
Message-ID: <NQUWl-78lr-3@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <NQSKR-77bt-1@gated-at.bofh.it> <NQSKR-77bt-1@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Samuel Thibault <sthibault@debian.org>
Newsgroups: linux.debian.bugs.rc
Subject: Bug#1151588: bdf2psf fails to launch
Date: Thu, 22 Oct 2026 09:00:01 +0200
Message-ID: <NQUWl-78lr-3@gated-at.bofh.it>
References: <NQSKR-77bt-1@gated-at.bofh.it> <NQSKR-77bt-1@gated-at.bofh.it>
X-Original-To: Andrew Gunawan <foss@ndrewsebastiangunawan.mozmail.com>,
	1151588@bugs.debian.org
X-Mailbox-Line: From debian-bugs-rc-request@lists.debian.org  Thu Oct 22 06:57:08 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Samuel Thibault <sthibault@debian.org>, 1151588@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: debian-boot@lists.debian.org
X-Debian-Pr-Message: followup 1151588
X-Debian-Pr-Package: bdf2psf
X-Debian-Pr-Source: console-setup
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
Organization: I am not organized
X-Debian-User: sthibault
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-rc@lists.debian.org> archive/latest/835498
List-ID: <debian-bugs-rc.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-rc/>
Approved: robomod@news.nic.it
Lines: 51
Sender: robomod@news.nic.it
X-Original-Date: Thu, 22 Oct 2026 08:55:24 +0200
X-Original-Message-ID: <atmzXCHiSSNIwrhC@end>
X-Original-References: <179264383594.143006.9184196683121287334.reportbug@debianMac.local> <179264383594.143006.9184196683121287334.reportbug@debianMac.local>