Oolite Bulletins

For information and discussion about Oolite.
It is currently Fri Apr 28, 2017 10:02 am

All times are UTC




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Wed Dec 18, 2013 2:01 pm 
Offline
---- E L I T E ----
---- E L I T E ----

Joined: Tue Nov 09, 2010 1:44 pm
Posts: 1393
Hi folks,
I'd like to use the excellent font that is included in the Deepspace Ships OXP without using the ships themselves.

What do I need to copy in order to get the font? Is this font widely available or was it made by the author of the OXP? (because if it is widely available, I guess I could make a standalone font OXP without violating the rule that says we're not allowed to distribute OXPs lacking clear licenses)

Heeelp!

(and yes, I know I have way too many ideas)


Top
   
PostPosted: Wed Dec 18, 2013 2:19 pm 
Offline
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
User avatar

Joined: Fri Nov 11, 2011 6:19 pm
Posts: 4002
Quote:
Is this font widely available or was it made by the author of the OXP? (because if it is widely available, I guess I could make a standalone font OXP without violating the rule that says we're not allowed to distribute OXPs lacking clear licenses)
Identifont suggests that it's OCR A Extended, though there are so many OCR A variants that it could easily be one of the others.

There is an open source OCR A implementation which you could reimplement it from.

_________________
OXPs: [EliteWiki] New Cargoes, [EliteWiki] Skilled NPCs, [EliteWiki] Curse of the Black Sunspot, and more


Top
   
PostPosted: Wed Dec 18, 2013 2:27 pm 
Offline
---- E L I T E ----
---- E L I T E ----

Joined: Tue Nov 09, 2010 1:44 pm
Posts: 1393
Great, now how do I implement a new font in Oolite (aka. what files do I need to take a look at in Deepspace)?


Top
   
PostPosted: Wed Dec 18, 2013 2:43 pm 
Offline
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
User avatar

Joined: Fri Nov 11, 2011 6:19 pm
Posts: 4002
You need to override oolite-font.plist (start from the one with the core game, since there have been a few changes since the last Deepspace release).

You need to change the texture key to point to a file in Textures, and then update the widths array with the correct character widths for that texture.

The texture file is a 16x16 grid of square font characters, aligned to the left of the square. The top two rows are used for special Oolite symbols and control characters. The remainder are normal characters roughly equivalent - with a couple of exceptions - to a standard Latin-1 set. The 'widths' array is then a list (left to right, then top to bottom) of the widths of each character (a character taking the full width of its box would have the value 8 here)

_________________
OXPs: [EliteWiki] New Cargoes, [EliteWiki] Skilled NPCs, [EliteWiki] Curse of the Black Sunspot, and more


Top
   
PostPosted: Wed Dec 18, 2013 3:56 pm 
Offline
---- E L I T E ----
---- E L I T E ----

Joined: Tue Nov 09, 2010 1:44 pm
Posts: 1393
Ok, here is the link to the standalone font OXP.

Please read the readme before jumping to conclusions, it contains license info.

https://www.dropbox.com/s/9sffqy7kxgton ... ont1.0.zip


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 11 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
cron
Powered by phpBB® Forum Software © phpBB Limited