Re: Pango without X display/gtk_init()?

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

 



Hi,

"W. Borgert" <debacle@xxxxxxxxxx> 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

_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux