Re: Pango pipe stdin and stdout



Please check out paps which was written for that exact purpose. It can be installed through dnf on Fedora/Centos and probably by apt-get on Debian (like) systems. You can find the sources in my github repo at:

https://github.com/dov/paps

Regards,
Dov

On Sat, Jun 3, 2017 at 4:43 PM, Adam Dyson <adam dyson outlook com> wrote:

I’d like to know whether it’s possible to render text using Pango, by piping text as input to stdin and then also piping the result to stdout?

Ideally I’m wanting something like below, where an argument such as intent defines the output type, because this is normally determined by the output file extension.

Outputting to stdout is defined by a dash and so is reading from stdin, which is common practice for command line utilities.

 

pango-view –q --markup --align=left --margin=0 –intent=svg --output=- -

 


_______________________________________________
gtk-i18n-list mailing list
gtk-i18n-list gnome org
https://mail.gnome.org/mailman/listinfo/gtk-i18n-list




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