.ttf to.txf converter

Post requests, images, descriptions and reports about work in progress here.
Topic author
foravalon
Posts: 50
Joined: 07.05.2005
With us: 19 years 6 months
Location: Santa Rosa, CA

.ttf to.txf converter

Post #1by foravalon » 19.02.2009, 22:50

A little while back someone had an awesome .ttf to .txf converter on their website, you uploaded the former and it spat out the latter, but it seems that any and all references to that old site are now gone with the wind. Does anyone have access to a program or a location where I can find a tool which can do this? It's my understanding that Celestia can still only recognize .txf file types and I really would like to shake it up a bit for the project I'm working on.

I have seen code for something called gentext or something but I'm not a programmer and I'm not sure if anyone's had success with this code anyway.

Does anyone know of any practical ways of creating .txf files from regular .ttf font files?
Foravalon's most common phrase: "So, yeah, um, how do you do this... ?"

Vincent
Developer
Posts: 1356
Joined: 07.01.2005
With us: 19 years 10 months
Location: Nancy, France

Re: .ttf to.txf converter

Post #2by Vincent » 19.02.2009, 23:59

You can compile ttf2txf from the source files:
http://www.celestiaproject.net/~claurel/celestia/fonts/tt2txf/

If you can't build it yourself on Windows, you can grab ttf2txf.exe from:
viewtopic.php?f=4&t=6814&st=0&sk=t&sd=a&start=26

And there you'll find some help about how to use it:
viewtopic.php?f=4&t=6814&st=0&sk=t&sd=a&start=15
@+
Vincent

Celestia Qt4 SVN / Celestia 1.6.1 + Lua Edu Tools v1.2
GeForce 8600 GT 1024MB / AMD Athlon 64 Dual Core / 4Go DDR2 / XP SP3

Topic author
foravalon
Posts: 50
Joined: 07.05.2005
With us: 19 years 6 months
Location: Santa Rosa, CA

Re: .ttf to.txf converter

Post #3by foravalon » 24.02.2009, 18:17

Hey, thanks Vincent!

I'll play around with those a bit and see if I can figure out a way to compile it. The .exe link appears to lead to a Japanese website, but the others seem fairly straight forward. I'll experiment.

Thanks again!
Foravalon's most common phrase: "So, yeah, um, how do you do this... ?"


Return to “Add-on development”