Splash screen + set system font?

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
callmeclover
Posts: 1
Joined: Wed Mar 16, 2022 7:16 am
Libera.chat IRC: clover

Splash screen + set system font?

Post 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?
Octocontrabass
Member
Member
Posts: 5563
Joined: Mon Mar 25, 2013 7:01 pm

Re: Splash screen + set system font?

Post by Octocontrabass »

I think you'll have to explain in a little more detail exactly what you're trying to do here.
User avatar
eekee
Member
Member
Posts: 891
Joined: Mon May 22, 2017 5:56 am
Location: Kerbin
Discord: eekee
Contact:

Re: Splash screen + set system font?

Post 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
Kaph — a modular OS intended to be easy and fun to administer and code for.
"May wisdom, fun, and the greater good shine forth in all your work." — Leo Brodie
Post Reply