emacs-devel
[Top][All Lists]
Advanced

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

Re: Basic WYSIWYG printing in GNU Emacs


From: Jean Louis
Subject: Re: Basic WYSIWYG printing in GNU Emacs
Date: Sun, 13 Jun 2021 14:04:17 +0300
User-agent: Mutt/2.0.7+183 (3d24855) (2021-05-28)

* Basil L. Contovounesios <contovob@tcd.ie> [2021-06-13 13:31]:
> Jean Louis <bugs@gnu.support> writes:
> 
> > * Dov Grobgeld <dov.grobgeld@gmail.com> [2021-06-13 11:02]:
> >> I think you would get much better international support if you combine
> >> the emacs printing with my utf8-to-ps (or pdf or svg) program paps.
> >> See: https://github.com/dov/paps . paps support "Pango Markup" so if
> >> you convert emacs faces to pango markup, you can multi face and color
> >> output.
> >> 
> >> Thinking about it since emacs is gtk based these days, it has pango
> >> and cairo as implicit dependencies, so if these libraries were exposed
> >> through the emacs lisp api, it would be possible to write a
> >> replacement for paps in emacs. :-)
> >
> > Such good idea.
> >
> > I would like proper printing in Emacs, I guess that I have to research
> > the function `ps-mule-begin-job' to see how it converts faces to PS
> > first, to convert it to pango markup.
> 
> FWIW, when Emacs is built against an appropriately configured Cairo, the
> function x-export-frames can export visible Emacs frames (not just the
> buffer contents) to PDF, PS, PNG, or SVG.

Nice function and useful for screenshots. 

Just that it is not related to printing buffer text. It shows only the
frame as image.


-- 
Jean

Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns

In support of Richard M. Stallman
https://stallmansupport.org/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]