Deepin 15.5 Beta 操作系统菜单字体太小[已解决]
Tofloor
poster avatar
deepinuser17
deepin
2017-11-24 21:03
Author
Edited by deepinuser17 at 2017-11-26 07:17

在HiDpi显示屏幕上操作系统菜单(grub)字体太小,请按2 或是1.75比例放大。

Reply Favorite View the author
All Replies
justforlxz
deepin developers team
2017-11-24 21:30
#1
Reply View the author
lynan
deepin
2017-11-24 23:56
#2
改修grub字体大小
Reply View the author
lynan
deepin
2017-11-24 23:57
#3
http://cnzhx.net/blog/adjust-font-size-of-grub-and-console/
Reply View the author
deepinuser17
deepin
2017-11-26 15:15
#4
谢谢提供链接. Deepin 15.5 beta grub 设置文件有些小bug. 下面是更改grub字体大小的步骤:

1. 创建24号字体
grub-mkfont --output=/boot/grub/fonts/LiberationMono-Regular.pf2 --size=24 /usr/share/fonts/truetype/liberation/LiberationMono-Regular.ttf


2. 修改/etc/default/grub:
....
#GRUB_GFXMODE="2880x1800"
GRUB_GFXMODE="1024x768"
GRUB_TERMINAL_OUTPUT="gfxterm"
GRUB_FONT="/boot/grub/fonts/LiberationMono-Regular.pf2"


3. 修改/boot/grub/grub.cfg
#loadfont ($root)/boot/grub/themes/deepin/unifont-regular-16.pf2
loadfont /boot/grub/fonts/LiberationMono-Regular.pf2


Deepin初始设定的字体是16号. 
Reply View the author