groff
[Top][All Lists]
Advanced

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

Re: [Groff] groff as a library?


From: Michail Vidiassov
Subject: Re: [Groff] groff as a library?
Date: Thu, 26 Feb 2009 18:39:26 +0300 (MSK)
User-agent: Alpine 2.00 (OSX 1167 2008-08-23)

Dear Ralph,

On Thu, 26 Feb 2009, Ralph Corderoy wrote:

is there any library that works like groff - accepts a "rich" text,
fonts (or font descriptions) and outputs the positions the glyphs are
to be displayed at?

`groff -Z' produces that, doesn't it?  See groff_out(5) for the format.

Yes, but the question was about groff-like _library_.

The use I have in mind is typesetting labels in 3D models, where the
actual output of glyphs as 3D meshes is done by the main program, not
by the library.

Ah, -Z output says to put "hello" over here, it doesn't describe the
curves required to stroke the letter `h', `e', etc.  That would seem to
be combining groff with something that understands the font definitions.

Exactly, but again, there are libraries for OpenGL rendering of text,
that make glyphs into triangle meshes. But are there typesetting libraries?

 Sincerely, Michail





reply via email to

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