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

Reply via email to