Re: Pango without X display/gtk_init()?



Hi,

"W. Borgert" <debacle debian org> writes:

> I like to add a non-X11 mode (command line only) to a GUI
> program.  At the moment, a DISPLAY is needed for GDK/GTK,
> which is not useful, if running in an automated process,
> such as make, on a non-GUI-server.  The program needs Pango
> nonetheless for rendering text to export as a PNG file.  Is
> this possible?  If so, how?  Thanks in advance!

You could be using the PangoFT2 backend to render your fonts. You
don't need to call gtk_init() then.


Sven




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