Page 1 of 1

Splash screen + set system font?

Posted: Wed Mar 16, 2022 7:33 am
by callmeclover
I want to know how to do this. my font is [url https://fonts.google.com/specimen/Red+H ... ard-styles]Red Hat Display[/url] and I'm making a splash screen. How do I apply them?

Re: Splash screen + set system font?

Posted: Mon Mar 21, 2022 10:16 am
by Octocontrabass
I think you'll have to explain in a little more detail exactly what you're trying to do here.

Re: Splash screen + set system font?

Posted: Wed Mar 23, 2022 10:39 am
by eekee
A splash screen for an OS is typically just a bitmap image, so you'd use the font in the image editor you use to make the image.

If you want your OS to render the font, that's a whole other job. You'd have to do one of these things:
  • Port freetype to your OS & use it
  • Write your own ttf font renderer
  • Convert the font to bitmap and write code to render it
  • Convert the font to bitmap and use a library such as bzt's simple font rendering library