Grub2-mkfont doesn't make a valid font

I was trying to change grub font size, so I google and follow instructions.

First, I convert a static ttf file to a pf2 using the command

grub2-mkfont --output=jetbrains.pf2 --size=32 jetbrains.ttf

and then I move the file into

/boot/grub2/fonts

next, I edit the grub config in

/etc/default/grub.txt

add/change the lines

GRUB_TERMINAL_OUTPUT="gfxterm"
GRUB_FONT="/boot/grub2/fonts/jetbrains.pf2"

and finally update grub using

grub2-mkconfig -o /boot/grub2/grub.cfg

After rebooting, nothing changes, I was confused so I tried loading the font directly in grub using loadfont and grub said the font is invalid.

so I checked the font outputted and it is suspiciously small in size.

To test a theory I downloaded a font from
Larger font for Grub
and do everything again

and it works!
so, i just want to ask is this a problem anyone can replicate, or is it just me?

OS: Fedora 44 KDE Plasma Desktop

My assumption is it’s an issue with the jetbrains.ttf font as you can use other fonts and they work.

You are right. After further testing, it is actually my fault and not the jetbrains font. Turns out the file is supposed to be that small and most likely I messed up something when moving it or changing the grub config file. my bad