Re: [ft] How can I render monospace text in any font?

2014-10-03 Thread Himanshu Joshi
you can use width of "M" character if its Latin font. On Thu, Oct 2, 2014 at 2:13 AM, J Decker 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,

Re: [ft] How can I render monospace text in any font?

2014-10-01 Thread J Decker
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 wrote: > Given any typical font, not necessarily a monospace one, how can I >

Re: [ft] How can I render monospace text in any font?

2014-10-01 Thread Werner LEMBERG
> 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

[ft] How can I render monospace text in any font?

2014-10-01 Thread John Owen
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 a