Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Easiest way of accessing Computer Modern fonts from OpenGL?

54 views
Skip to first unread message

ardillas...@gmail.com

unread,
Mar 8, 2013, 8:01:16 AM3/8/13
to

Hi,

I'm writing a program that needs to display math notation. It's simple notation, but I wish to have high-quality math fonts, such as you get from LaTeX. Given that the LaTeX fonts are available, I tend to believe I should just use the LaTeX fonts (known as "Computer Modern").

However, there're several versions of these fonts, and also distributed in different formats, so I'm not sure what format will drive to towards and easier and simpler approach.

I'm used to text rendering on OpenGL, both textured and vector approaches, but always did that with custom fonts, in custom formats.

What would be the easiest way of having the Computer Modern fonts into my application?

I cannot use GPL nor LGPL sources. It must be MIT-like licensed (or public domain).

If you have any idea or suggestion, please tell!!

ardi

Nobody

unread,
Mar 8, 2013, 9:30:04 AM3/8/13
to
On Fri, 08 Mar 2013 05:01:16 -0800, ardillasdelmonte wrote:

> What would be the easiest way of having the Computer Modern fonts into my
> application?

Either use the FreeType library (which supports scalable fonts in
TrueType, OpenType and PostScript Type 1 formats, and uses a licence
similar to 4-clause BSD, i.e. you are required to acknowledge the origin
of the library), or render the required sizes as bitmaps.

0 new messages