you can use width of "M" character if its Latin font. On Thu, Oct 2, 2014 at 2:13 AM, J Decker <[email protected]> wrote:
> just use whatever fixed size you want between characters instead of that > returned by the font? It's certainly easier to go to monospace than to > variable space from a mono font > > On Wed, Oct 1, 2014 at 5:17 AM, John Owen <[email protected]> wrote: > >> Given any typical font, not necessarily a monospace one, how can I >> render text in a monospace style? I've tried messing around with >> drawing the bitmaps of the glyphs individually, but I can never get >> the x and y alignment between glyphs right. I'm using OpenGL and >> python, but the answer should be adaptable to any graphics context or >> language. I've also opened a question on SO if anyone wanted to use >> that. >> >> http://stackoverflow.com/q/26138577/1093155 >> >> Apologies if I screw something up, I'm new to mailing lists. >> >> _______________________________________________ >> Freetype mailing list >> [email protected] >> https://lists.nongnu.org/mailman/listinfo/freetype >> > > > _______________________________________________ > Freetype mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/freetype > >
_______________________________________________ Freetype mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/freetype
