Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 ventoy fonts
#9
In windows, you download grub-mkfont.7z by link "https://m.blog.naver.com/a1jyh/221395655744"
Unpacking, for example - C:\Users\alex\grub-mkfont
You copy the font here, for example - Terminus-Bold.ttf
Turn on the command line and go to the directory:
C:\Users\alex >cd grub-mkfont
Converting
C:\Users\alex\grub-mkfont>grub-mkfont.exe "Terminus-Bold.ttf" -o "for_ventoy.pf2" -s 8 -v
where - Terminus-Bold.ttf is the font from which to convert
-o for_ventoy.pf2 - result file.
-s 8 - font size 8
-v - provides detailed information about the conversion result: font name, height and width, number of characters


Full list of options:
-a, --force-autohint insert auto-tag
-b, --bold convert to bold
-c, --asce=NUM set ascent font elevation
-d, --desc=NUM set the font descent
-i, --index=NUM select the index of the face
-n, --name=NAME set the font family name
--no-bitmap without bitmap ignore bitmap strikes when loading ignore bitmap strikes when loading
--no-hinting disable hint disable hinting
-o, --output=FILE protect output to FILE [required]
-r, --range=FROM-TO[,FROM-TO] set font range range
-s, --size=SIZE set font size
-v, --verbose print detailed messages
-?, --help give this list of help
--usage give a short usage message
-V, --version print the version of the program

Regarding the correction of the pf2 font, see the topic "Font - Editor pf2"(https://forums.ventoy.net/showthread.php?tid=2888)
Reply


Messages In This Thread
ventoy fonts - by Omid Khan - 03-15-2023, 08:02 PM
RE: ventoy fonts - by longpanda - 03-16-2023, 04:17 AM
RE: ventoy fonts - by Omid Khan - 03-16-2023, 06:30 AM
RE: ventoy fonts - by AlexBryansk - 03-17-2023, 09:47 AM
RE: ventoy fonts - by nguyen ha thai trong - 03-17-2023, 12:43 PM
RE: ventoy fonts - by Omid Khan - 03-17-2023, 03:43 PM
RE: ventoy fonts - by AlexBryansk - 03-17-2023, 06:35 PM
RE: ventoy fonts - by rahaaatul - 06-15-2024, 10:44 PM
RE: ventoy fonts - by AlexBryansk - 06-17-2024, 05:40 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)