Font size and style
Moderators: winston, another_commander
- pagroove
- ---- E L I T E ----
- Posts: 3035
- Joined: Wed Feb 21, 2007 11:52 pm
- Location: On a famous planet
Font size and style
It would be cool if you could change the font size. and maybe some different font styles. But is a low priority request. But it would be nice.
For P.A. Groove's music check
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
https://bb.oolite.space/viewtopic.php?f=4&t=13709
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
https://bb.oolite.space/viewtopic.php?f=4&t=13709
- ClymAngus
- ---- E L I T E ----
- Posts: 2514
- Joined: Tue Jul 08, 2008 12:31 am
- Location: London England
- Contact:
Re: Font size and style
I noticed when I re-foldered oolite (I needed to get at the models of the anaconda to show an ooliter the error of their ways) there was a font file? Maybe hacking that could fix it?pagroove wrote:It would be cool if you could change the font size. and maybe some different font styles. But is a low priority request. But it would be nice.
- pagroove
- ---- E L I T E ----
- Posts: 3035
- Joined: Wed Feb 21, 2007 11:52 pm
- Location: On a famous planet
Re: Font size and style
Mm I did'nt know there was such a file. Maybe. I don't know the limitations of Oolite.ClymAngus wrote:I noticed when I re-foldered oolite (I needed to get at the models of the anaconda to show an ooliter the error of their ways) there was a font file? Maybe hacking that could fix it?pagroove wrote:It would be cool if you could change the font size. and maybe some different font styles. But is a low priority request. But it would be nice.
For P.A. Groove's music check
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
https://bb.oolite.space/viewtopic.php?f=4&t=13709
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
https://bb.oolite.space/viewtopic.php?f=4&t=13709
Yep, it's Textures/font.png. The font size is 'a bit' fixed, there's quite a lot of things that depend on it in the code, but there's nothing to stop you from redoing it with a different font, and releaseing it as an oxp!
Hey, free OXPs: farsun v1.05 & tty v0.5! :0)
- pagroove
- ---- E L I T E ----
- Posts: 3035
- Joined: Wed Feb 21, 2007 11:52 pm
- Location: On a famous planet
Thanks Kaks,
Its the Oolite-Font.png. Looks like a LOT of work to change
Its the Oolite-Font.png. Looks like a LOT of work to change
For P.A. Groove's music check
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
https://bb.oolite.space/viewtopic.php?f=4&t=13709
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
https://bb.oolite.space/viewtopic.php?f=4&t=13709
-
- Quite Grand Sub-Admiral
- Posts: 6683
- Joined: Wed Feb 28, 2007 7:54 am
Right you are, both of you!
oolite-font.plist contains the kerning for each character, and it does look 'a bit' daunting... I've just had a go with a relatively simple typewriter font, and I'm not too displeased with the result: here's tty.oxp. Do let me know what you think!
Cheers,
Kaks
oolite-font.plist contains the kerning for each character, and it does look 'a bit' daunting... I've just had a go with a relatively simple typewriter font, and I'm not too displeased with the result: here's tty.oxp. Do let me know what you think!
Cheers,
Kaks
Hey, free OXPs: farsun v1.05 & tty v0.5! :0)
Oops! There was a smudge on v.01 of the replacement font.
I've cleaned it all up, & version .02 now gives a spotless typewritten look to the whole of Oolite! The link for the new version is still tty.oxp!
Cheers,
Kaks
I've cleaned it all up, & version .02 now gives a spotless typewritten look to the whole of Oolite! The link for the new version is still tty.oxp!
Cheers,
Kaks
Hey, free OXPs: farsun v1.05 & tty v0.5! :0)
- pagroove
- ---- E L I T E ----
- Posts: 3035
- Joined: Wed Feb 21, 2007 11:52 pm
- Location: On a famous planet
I will test it tommorow. That was quick
For P.A. Groove's music check
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
https://bb.oolite.space/viewtopic.php?f=4&t=13709
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
https://bb.oolite.space/viewtopic.php?f=4&t=13709
- KZ9999
- Deadly
- Posts: 225
- Joined: Fri Jan 23, 2009 8:55 pm
- Location: Lost in Witchspace being hunted by a Thargoid Swam.
Just a dumb question.
I know this is a dumb question, but why does the game use a bitmap font anyway?
I've notice that the font some times blurs on certain screen resolutions or overwrite their available space causing colour and character corruptions. Would it possible to use a vector based font in the game to display information, that way it could dynamicily scale the font to fit the space if the amount of text gets too big.
If it's a case of copyright on the fonts themselves, that shouldn't be a problem. There are plenty of GPL and CC fonts out there that Oolite could use without a problem. Heck Open Office comes with a bunch of them. I've found the DejaVu family a particularly pleasant font to work with and it comes in a wide range of serif and sanserif forms.
Ultimately you could even get the game to allow the user to chose any they have installed on their computer . They could chose the one which is most readable to them improving the experience. I know this last paragraph is a bit pie-in-the-sky, but it's nice to dream
I've notice that the font some times blurs on certain screen resolutions or overwrite their available space causing colour and character corruptions. Would it possible to use a vector based font in the game to display information, that way it could dynamicily scale the font to fit the space if the amount of text gets too big.
If it's a case of copyright on the fonts themselves, that shouldn't be a problem. There are plenty of GPL and CC fonts out there that Oolite could use without a problem. Heck Open Office comes with a bunch of them. I've found the DejaVu family a particularly pleasant font to work with and it comes in a wide range of serif and sanserif forms.
Ultimately you could even get the game to allow the user to chose any they have installed on their computer . They could chose the one which is most readable to them improving the experience. I know this last paragraph is a bit pie-in-the-sky, but it's nice to dream
KZ999's Oolite documents, including the new draft Oolite Game Manual, can be found at www.box.net
I've seen it on my other test machine working perfectly during a little test. Now I need to get back attempting to play with the main machine, as I haven't played with it since the installation.Kaks wrote:Oops! There was a smudge on v.01 of the replacement font.
I've cleaned it all up, & version .02 now gives a spotless typewritten look to the whole of Oolite!
Thanks for the quick oxp-answer to the font question!
Screet
Wow. Many, many comments!
pagroove: well, it was an easy to align monospace font! Other types of font will be a bit more difficult to slot in the right place!
KZ9999: bitmaps are for speed - drawing fonts does use processing power, especially avoiding blurriness! Normally it's not that big a deal, but you don't really want to slow the game down just to display a couple of lines... Having them pre-drawn allows the game to run at exactly the same speed, independent of the font used. If there's a semi-moderate demand for this, we could always come up with a bundle of prepackaged fonts.
Screet: NP!
Lestradae: Sure. The line height is hard coded, but as long as there's a readable font, you can make each letter as thin as you want...
pagroove: well, it was an easy to align monospace font! Other types of font will be a bit more difficult to slot in the right place!
KZ9999: bitmaps are for speed - drawing fonts does use processing power, especially avoiding blurriness! Normally it's not that big a deal, but you don't really want to slow the game down just to display a couple of lines... Having them pre-drawn allows the game to run at exactly the same speed, independent of the font used. If there's a semi-moderate demand for this, we could always come up with a bundle of prepackaged fonts.
Screet: NP!
Lestradae: Sure. The line height is hard coded, but as long as there's a readable font, you can make each letter as thin as you want...
Hey, free OXPs: farsun v1.05 & tty v0.5! :0)
Ouch! I'll probably have to find a much smaller font. Back to the drawing board!Screet wrote:Hmmm. Now I found a little issue with that new font. It's using much more space for the same text - and thus a very long message during random hits did not show properly.
It was after fullfilling the contract, when I docked and received the bounty.
Screet
Hey, free OXPs: farsun v1.05 & tty v0.5! :0)