Ventoy Forums
Fonts - Printable Version

+- Ventoy Forums (https://forums.ventoy.net)
+-- Forum: Ventoy General Use —— Ventoy 使用交流 (https://forums.ventoy.net/forumdisplay.php?fid=1)
+--- Forum: Ventoy Discussion Forum (https://forums.ventoy.net/forumdisplay.php?fid=2)
+--- Thread: Fonts (/showthread.php?tid=3016)



Fonts - ToysILike - 02-08-2025

Anybody know where I can download dejavu_sans_18.pf2, 20 or 22? I've been down all sorts of rabbit holes trying to track down a font utility that can create these font sizes. But either they don't work or are not available for download. I already have pt. sized 12-48 but I'm missing 18, 20 and 22


RE: Fonts - Eliott - 02-10-2025

On my Ventoy key, I have a Linux Live distribution with a persistence file so that I don't lose my settings. It's handy to have this kind of tool for a lot of things.

When I need a particular font to use under linux (and therefore with ventoy) but can't find it already converted to pf2, I download the font in TTF and then convert it to pf2 under linux with the 'Mkfont' command.
For what you want to have, starting from a Dejavusans.ttf font, it should be possible to do it like that:
For 18 size:
grub-mkfont -o DejaVu_Sans_18.pf2 --size=18 DejaVuSans.ttf.