Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved Themes for different resolutions.
#25
(12-30-2022, 11:48 AM)AlexBryansk Wrote: Support can be added.
  At the moment, grub2 allows you to set your own font for any inscription: title, label, tips, menu.
  If you use one font for all inscriptions. Then you can add parameters to theme.txt that will change the font automatically at different resolutions (widths) of the monitor.
  For example: "font-resolution-1080", "font-resolution-900", "font-resolution-768"...
The font defined in grub.cfg is valid, it doesn't seem to apply the font defined in theme.txt
Separate fonts can be assigned for theme files in the ventoy.json file. I'm testing different resolutions on just one theme file.

e.g

+ label {
   font = "NanumGothic_Regular14"
   text = "Enter:Λ V (menü seçimi)Kısayol tuşları:[F1/Ctrl+mdwriuL]"
   color = "#e60d1c"
   align = "center"
   top = 69%
   left = 23%
}
Reply


Messages In This Thread
Themes for different resolutions. - by Krinal - 12-18-2022, 06:52 PM
RE: Themes for different resolutions. - by Krinal - 12-19-2022, 02:48 PM
RE: Themes for different resolutions. - by Krinal - 12-19-2022, 05:16 PM
RE: Themes for different resolutions. - by Krinal - 12-20-2022, 06:29 PM
RE: Themes for different resolutions. - by Krinal - 12-21-2022, 06:59 PM
RE: Themes for different resolutions. - by Krinal - 12-22-2022, 06:48 PM
RE: Themes for different resolutions. - by Krinal - 12-23-2022, 10:22 AM
RE: Themes for different resolutions. - by Krinal - 12-23-2022, 05:32 PM
RE: Themes for different resolutions. - by Krinal - 12-24-2022, 06:50 PM
RE: [Solved] Themes for different resolutions. - by serhat100 - 12-30-2022, 12:32 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)