Is this ever likely to be built into Pango directly? Looking at the paps repository, it doesn't seem to be updated regularly and I don't want to add another dependency if not needed and especially one that isn't going to be maintained.Looks like I did all of those in hb-view, but not pango-view... So, no, it's not currently possible. Try paps indeed.
On Sat, Jun 3, 2017 at 6:43 AM, 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
--
behdad
http://behdad.org/