Bitmap fonts
Hi all,
I can see this has been asked before; but I still can't find what I want.
71squared Glyph looks perfect but everything is designed for Obj-C.
I guess I am looking for a font to bitmap converter that's output is the bitmap (obviously); the font data in XML format and then a straight 'C' draw func.
I am trying to be platform independent.
Can anyone please help?
Cheers
I can see this has been asked before; but I still can't find what I want.
71squared Glyph looks perfect but everything is designed for Obj-C.
I guess I am looking for a font to bitmap converter that's output is the bitmap (obviously); the font data in XML format and then a straight 'C' draw func.
I am trying to be platform independent.
Can anyone please help?
Cheers
The only C implementation I'm aware of that makes use of the AngelCode font descriptor file format can be found at
http://sourceforge.net/projects/oglbmfont/
This uses OpenGL and C to process and render the bitmap font and should work fine with the output from Glyph Designer
MikeD
http://sourceforge.net/projects/oglbmfont/
This uses OpenGL and C to process and render the bitmap font and should work fine with the output from Glyph Designer

MikeD
iPhone Game Development Blog - 71Squared
Hi again Mike! ;-)
It does look promising but I do notice (only a brief look) that it includes a few libs.
I *hope* they aren't anything tricky or complex and are just out of convenience!!
I really want to use your Glyph because it looks so cool!!
Cheers again
It does look promising but I do notice (only a brief look) that it includes a few libs.
I *hope* they aren't anything tricky or complex and are just out of convenience!!
I really want to use your Glyph because it looks so cool!!
Cheers again
(Feb 18, 2011 12:32 PM)MikeD Wrote: http://sourceforge.net/projects/oglbmfont/The loader might be serviceable but unfortunately the GL code is quite old and ugly.
I was on the hunt for a plain-C OpenGLES implementation a couple weeks back as well but gave up and rolled my own. I can't really offer up any code (it's tied heavily to the rest of my framework) but it wasn't as much work as I initially thought. I found the official C++/DirectX code to be the most helpful: http://www.angelcode.com/toolbox/
Hmmmm!
It's all rather messy; with extra libs and "stuff" in.
Was really just looking for a straight C clean loader (parser I guess);.
Some LineIn,RWops etc. etc. No-one do 'C' anymore!? :-(
Would appreciate any straight 'C' implementation!!, I don't know obj-c,java and every other permutation I can find.
Cheers
It's all rather messy; with extra libs and "stuff" in.
Was really just looking for a straight C clean loader (parser I guess);.
Some LineIn,RWops etc. etc. No-one do 'C' anymore!? :-(
Would appreciate any straight 'C' implementation!!, I don't know obj-c,java and every other permutation I can find.
Cheers
(Feb 27, 2011 09:14 AM)markhula Wrote: Hmmmm!I said that code was "helpful" not a drop-in solution
It's all rather messy; with extra libs and "stuff" in.
Was really just looking for a straight C clean loader (parser I guess);.
Some LineIn,RWops etc. etc. No-one do 'C' anymore!? :-(
Would appreciate any straight 'C' implementation!!, I don't know obj-c,java and every other permutation I can find.

Efficiently creating meshes can be tricky, but parsing is simple. I just grab each line with fgets, do a few strncmp's on the first word to see what kind of data I can expect, then parse the whole line with a single sscanf. I.e. "real" C - no need for that rwops crap.
LOL!
I know, I'm just being lazy and assumed someone else would of done this in 'C'
Writing my own anyway; probably be quicker than googling everywhere for it! :-))))
Cheers
Real men do it with:
Real 'C' (or assembler!!! ; ah..... LDMFD R13!,{R0-R9}) - the good old days! :-)))
I know, I'm just being lazy and assumed someone else would of done this in 'C'
Writing my own anyway; probably be quicker than googling everywhere for it! :-))))
Cheers
Real men do it with:
Real 'C' (or assembler!!! ; ah..... LDMFD R13!,{R0-R9}) - the good old days! :-)))
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| Bitmap font toolkit | Najdorf | 9 | 5,659 |
Nov 11, 2008 05:43 PM Last Post: Najdorf |
|
| Anti-aliased bitmapped fonts | Jake | 12 | 5,647 |
Nov 19, 2007 05:02 PM Last Post: Jake |
|
| shared context breaking FTGL texture fonts | akb825 | 12 | 5,672 |
Sep 7, 2006 08:56 PM Last Post: akb825 |
|
| Fonts with OpenGL & GLF | Jones | 15 | 6,037 |
Jul 5, 2006 11:32 AM Last Post: akb825 |
|
| Bitmap Fonts in GL | Joseph Duchesne | 18 | 8,299 |
Feb 3, 2006 09:25 AM Last Post: ThemsAllTook |
|

