freetype
[Top][All Lists]
Advanced

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

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


From: John Owen
Subject: [ft] How can I render monospace text in any font?
Date: Wed, 1 Oct 2014 22:17:51 +1000

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.



reply via email to

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