Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved Themes for different resolutions.
#21
Photo 
(12-21-2022, 06:59 PM)Krinal Wrote: Ventoy.json'umu düzenleme için plugson kullanmıyorum, manuel olarak düzenliyorum. Ayrıca Çoklu mod kullanmıyorum, bu yüzden tüm modlar için bir tema ayarlandı ve Ventoy.json'da 1024 x 728 olarak sabit

tuttum
. Benim durumumda sadece 800 x 600 ve -1366 x 768 o menüde dinledi.

Images of different resolutions in a single theme file.
e.g
800x600
   
1024x768
   
1920x1080
   
Reply
#22
then you need to change the font for different resolutions
Reply
#23
(12-29-2022, 09:01 PM)AlexBryansk Wrote: then you need to change the font for different resolutions
It does not support different font options in theme.txt file.
Reply
#24
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"...
Reply
#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


Forum Jump:


Users browsing this thread: 5 Guest(s)