Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

High resolution configuration #1

Open
acamilotti opened this issue May 17, 2018 · 3 comments
Open

High resolution configuration #1

acamilotti opened this issue May 17, 2018 · 3 comments

Comments

@acamilotti
Copy link

On my UHD screen on a laptop the letter and icons are too small, can you share a config file for high resolution screens?

@shvchk
Copy link
Owner

shvchk commented May 17, 2018

That will probably require icons upscaling, which might not turn out very pretty, but I'll look into it when I have some free time.

@acamilotti
Copy link
Author

No problem, thanks for replying.

@ViBE-HU
Copy link
Contributor

ViBE-HU commented Jun 25, 2023

if anyone is still interested i did a try with the original font. gladly i found it here. the exact font what grub use is this:

https://unifoundry.com/pub/unifont/unifont-15.0.06/font-builds/unifont-15.0.06.ttf (The Standard Unifont TTF)

i did a workaround to get bigger fonts on my 14 inch fullhd dell display cause the original 18 size was a pain. so after i got the fonts i have to convert it cause grub use an exact format. i did like this:

sudo grub-mkfont --output=/boot/grub/fonts/unifont22.pf2 --size=22 /home/user/Downloads/unifont-15.0.06.ttf

--output defines the target where to save the converted fonts. i used the general grub directory cause i wanted to overwrite also the original grub fonts. in this case we must add a line to the grub file in a new line:
GRUB_FONT=/boot/grub/fonts/unifont22.pf2

if i want to use the created font for an exact theme then i need to save it to the theme's directory. for example:
/boot/grub/themes/poly-dark/. in this case i have to remove the original .pf2 fonts file or rename it to let grub use the freshly generated one.

--size defines the fonts size. as far as i understand poly dark use 16 by default. in my case 22 or 24 are ideal and still not ugly.

the last part of the command is the source file. it's on you where do you download it. now if everything is done i have to regenerate grub by the sudo update-grub command. then reboot and have fun.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants