8-BIT-DEV

Results 7 comments of 8-BIT-DEV

how would i go about creating one of these bitmap fonts?

> Assuming the user would handle loading image data. Then it would definitely be possible to implement custom fonts in the form of bitmap fonts. The default (only) font, is...

> The baked in font data, is packed into [`_gltFontGlyphRects`](https://github.com/vallentin/glText/blob/8200fa70e32acec0a3cd777d404f41ee0c203ca4/gltext.h#L1013-L1025) which stores the rectangle information of each glyph, and [`_gltFontGlyphData`](https://github.com/vallentin/glText/blob/8200fa70e32acec0a3cd777d404f41ee0c203ca4/gltext.h#L1032-L1066) which stores the pixels of each font in relation to...

the only hard part seems to be loading the image data isn't it

btw how could I say convert a TTF to a bitmap one?

will this work on Linux? Edit: the ttf to bitmap

I'll have to look into that later