Re: Using Pango for Batch Processing
- From: Owen Taylor <otaylor redhat com>
- To: Joshua Harvey <joshmh gmail com>
- Cc: gtk-i18n-list gnome org
- Subject: Re: Using Pango for Batch Processing
- Date: Tue, 17 Feb 2009 14:47:17 -0500
On Tue, 2009-02-17 at 19:23 +0200, Joshua Harvey wrote:
>
> Hi guys,
>
>
> I'm interested in using Pango to set type in OpenType fonts to be
> saved as PNG images. I've done some googling and I can't find any
> examples on how to use the library or pango-view to do this without
> GTK. The idea is to use either pango-view or the Pango Ruby wrapper to
> convert text into PNGs on the fly from a linux server that's not
> running gtk, for use as titles in web pages.
>
>
>
> I've got pango-view installed, but when I run it I get:
>
>
> % pango-view -q --text "hi there" -o hi.png
>
> pango-view: Cannot open display
>
>
>
> Any pointers would be great!
I'd suggest filing a bug - it should be pretty simple to fix in
pango-view... probably just never tested.
(That's not an immediate answer to your question, obviously.)
- Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]