[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

From: J Decker
Subject: Re: [ft] How can I render monospace text in any font?
Date: Wed, 1 Oct 2014 13:43:59 -0700

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 <address@hidden> 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

Apologies if I screw something up, I'm new to mailing lists.

Freetype mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]