From: "Basil L. Contovounesios" <contovob@tcd.ie>
To: Dov Grobgeld <dov.grobgeld@gmail.com>
Cc: emacs-devel <emacs-devel@gnu.org>, Anand Tamariya <atamariya@gmail.com>
Subject: Re: Basic WYSIWYG printing in GNU Emacs
Date: Sun, 13 Jun 2021 11:30:17 +0100 [thread overview]
Message-ID: <87sg1mjbuu.fsf@tcd.ie> (raw)
In-Reply-To: <YMXTVudPIlGG3O0b@protected.localdomain> (Jean Louis's message of "Sun, 13 Jun 2021 12:43:50 +0300")
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.
--
Basil
next prev parent reply other threads:[~2021-06-13 10:30 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-12 3:46 Basic WYSIWYG printing in GNU Emacs Anand Tamariya
2021-06-12 4:07 ` Jean Louis
2021-06-13 5:32 ` Anand Tamariya
2021-06-13 8:01 ` Dov Grobgeld
2021-06-13 9:43 ` Jean Louis
2021-06-13 10:30 ` Basil L. Contovounesios [this message]
2021-06-13 11:04 ` Jean Louis
2021-06-13 10:18 ` Jean Louis
2021-06-16 13:35 ` Filipp Gunbin
2021-06-13 11:07 ` Jean Louis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87sg1mjbuu.fsf@tcd.ie \
--to=contovob@tcd.ie \
--cc=atamariya@gmail.com \
--cc=dov.grobgeld@gmail.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).