[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft] How can I render monospace text in any font?
From: |
Werner LEMBERG |
Subject: |
Re: [ft] How can I render monospace text in any font? |
Date: |
Wed, 01 Oct 2014 20:03:34 +0200 (CEST) |
> 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 don't understand the problem. Please give a graphical example
(ASCII graphics will do, of course :-)
Werner