chris wrote:I'm just wondering: why did you decide to invent the new format?
Mmmmmhhhh. This is a hard question.
![Confused :?](./images/smilies/icon_confused.gif)
There are many reasons.
First) When I've started study Celestia code I've started from celtxf lib.
So I was a dummy about C++ and OpenGL and I get in a lot of trouble.
![Embarassed :oops:](./images/smilies/icon_redface.gif)
Second) I found txf internal format excessively complicated.
![Confused :?](./images/smilies/icon_confused.gif)
Also the solution of using a raw lookUpTable instead of a more elegant <map> does not conviced me. Perhaps has a little bit better performance, but it is to demonstrate it.
Third) I've searched on the web for a while and I was not able to find a TXF generator, nor a collection of txf files, nor other resources.
![Confused :?](./images/smilies/icon_confused.gif)
Fourth) Searching on the web and in OpenGL.org I found glfont2 by Brad Fish.
![Smile :)](./images/smilies/icon_smile.gif)
![Confused :?](./images/smilies/icon_confused.gif)
Fifth) For my celui I was trying to implement a new texture font class with a lot of improvements against the Celestia TextureFont. Those improvements was inspired by Steve J.Baker'PUI texture font management.
Sixth) Last but not least to improve my programming skills it was a very funny exercise because it is only a small part of my celui project. BTW I'm going to publish a small example of my uiFont classes.
chris wrote:It seems like txf would suffice, and would be immediately compatible with Celestia.
Indeed to save the ADF in the TXF format should be a future improvement of the ADGLFont creator.
Also if I think that if you are interested perhaps it should be easier to replace the current Celestia text management classes in order to support ADF format.
Chris wrote:This is just a question, not criticism.
Hey
![Very Happy :D](./images/smilies/icon_biggrin.gif)
Bye - Paolo