Fonts?

The place to discuss creating, porting and modifying Celestia's source code.
Topic author
Jamstraz
Posts: 12
Joined: 17.03.2005
With us: 19 years 8 months
Location: Erie PA

Fonts?

Post #1by Jamstraz » 22.03.2005, 20:36

I'm not sure its possible but reading about all the language stuff, I was wondering if its possible to change the font that is displayed in Celestia?
It's bad luck to be superstitious

Christophe
Developer
Posts: 944
Joined: 18.07.2002
With us: 22 years 4 months
Location: Lyon (France)

Post #2by Christophe » 22.03.2005, 21:39

Well, searching the forum for the word 'font' should answer this question.

For example you would find this thread which directs you to this utility. Reading the comments in the celestia.cfg configuration file might give you some hints too.
Christophe

Topic author
Jamstraz
Posts: 12
Joined: 17.03.2005
With us: 19 years 8 months
Location: Erie PA

Post #3by Jamstraz » 23.03.2005, 18:12

All well and good, but I don't have a compiler, and Borland C++ won't cut it according to the threads...so is there an already compiled version out there?
It's bad luck to be superstitious

Christophe
Developer
Posts: 944
Joined: 18.07.2002
With us: 22 years 4 months
Location: Lyon (France)

Post #4by Christophe » 23.03.2005, 21:49

Well, now you can use this interface to generate a font texture from a ttf file.
Christophe

Avatar
dirkpitt
Developer
Posts: 674
Joined: 24.10.2004
With us: 20 years 1 month

Post #5by dirkpitt » 24.03.2005, 01:19

Awesome! It'd be even nicer if I could specify which Unicode codepoints to include, but for latin encodings
this is great.

Topic author
Jamstraz
Posts: 12
Joined: 17.03.2005
With us: 19 years 8 months
Location: Erie PA

Post #6by Jamstraz » 24.03.2005, 01:35

Christophe wrote:Well, now you can use this interface to generate a font texture from a ttf file.


OMG thank you so much! I owe you!
It's bad luck to be superstitious

Christophe
Developer
Posts: 944
Joined: 18.07.2002
With us: 22 years 4 months
Location: Lyon (France)

Post #7by Christophe » 24.03.2005, 22:28

dirkpitt wrote:Awesome! It'd be even nicer if I could specify which Unicode codepoints to include, but for latin encodings
this is great.


Ok, ok. Now you can provide your own codepoints file. The default is still wgl4.
Christophe


Return to “Development”