From: Jason Rumney <jasonr@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: michael@elehack.net, Stefan Monnier <monnier@iro.umontreal.ca>,
emacs-devel@gnu.org
Subject: Re: Printing
Date: Wed, 01 Apr 2009 12:24:41 +0800 [thread overview]
Message-ID: <49D2EC89.3000508@gnu.org> (raw)
In-Reply-To: <umyb1jc98.fsf@gnu.org>
Eli Zaretskii wrote:
> The way every modern platform does that: through a printer API,
> whereby you select fonts and layout, then render text to some device,
> and the text gets printed to the printer you select. Since Emacs
> already knows how to render text, it shouldn't be too hard to teach it
> do so to something other than a screen.
>
The problem is that the way Emacs renders text, even in GUI toolkits, is
based more on the way text is rendered on tty devices than on the
standard way of rendering text in the GUI toolkit. That does make it
somewhat harder to teach Emacs to render to a printer than it is for
other native GTK, NS or Windows apps. ps-print is probably actually
closer to what we need as a starting point than the existing redisplay
code, as it already takes care of pagination (albeit assuming a constant
font height apart from the header and footer), which is usually the
difficult part of implementing printing support in a GUI app.
FWIW, I agree that printing would be better done that way, but given the
complications of understanding and modifying the existing redisplay
code, it will probably be another 10 years before it is, and will
probably come out of something like a port of Emacs redisplay to cairo
rather than a dedicated effort to add printing support to existing
platform specific code.
next prev parent reply other threads:[~2009-04-01 4:24 UTC|newest]
Thread overview: 121+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-28 10:31 Printing Андрей Парамонов
2009-03-28 14:56 ` Printing Jan Djärv
2009-03-31 2:13 ` Printing YAMAMOTO Mitsuharu
2009-04-02 9:39 ` Printing YAMAMOTO Mitsuharu
2009-04-04 2:44 ` Printing YAMAMOTO Mitsuharu
2009-04-04 6:54 ` Printing Lennart Borgman
2009-04-04 7:25 ` Printing YAMAMOTO Mitsuharu
2009-04-04 9:40 ` Printing Leo
2009-04-04 22:00 ` Printing Richard M Stallman
2009-04-05 1:07 ` Printing YAMAMOTO Mitsuharu
2009-04-06 8:03 ` Printing Kenichi Handa
2009-04-06 8:45 ` Printing YAMAMOTO Mitsuharu
2009-04-06 11:47 ` Printing Kenichi Handa
2009-04-06 23:47 ` Printing YAMAMOTO Mitsuharu
2009-04-07 1:01 ` Printing Kenichi Handa
2009-04-07 1:14 ` Printing YAMAMOTO Mitsuharu
2009-04-08 1:19 ` Future of display engine [Re: Printing] Kenichi Handa
2009-04-08 1:53 ` YAMAMOTO Mitsuharu
2009-04-07 9:46 ` Printing YAMAMOTO Mitsuharu
2009-04-08 1:33 ` Printing Kenichi Handa
2009-05-01 23:30 ` Printing YAMAMOTO Mitsuharu
2009-04-19 10:21 ` Printing YAMAMOTO Mitsuharu
2012-05-05 3:06 ` Printing Stefan Monnier
2012-05-07 3:38 ` Printing YAMAMOTO Mitsuharu
2012-05-07 11:25 ` Printing Lennart Borgman
2012-05-08 1:04 ` Printing YAMAMOTO Mitsuharu
2012-05-08 1:25 ` Printing Lennart Borgman
2012-05-08 2:15 ` Printing YAMAMOTO Mitsuharu
2012-05-08 10:59 ` Printing Lennart Borgman
2012-05-09 14:50 ` Printing Jason Rumney
2012-05-09 14:58 ` Printing Lennart Borgman
2012-05-07 12:46 ` Printing Stefan Monnier
2012-05-07 13:07 ` Printing joakim
2012-05-07 17:20 ` Printing Simon Leinen
2012-05-08 1:11 ` Printing YAMAMOTO Mitsuharu
2009-03-28 15:46 ` Printing Michael Ekstrand
2009-03-28 18:37 ` Printing Stefan Monnier
2009-03-28 20:52 ` Printing Андрей Парамонов
2009-03-30 13:06 ` Printing Michael Ekstrand
2009-03-30 15:24 ` Printing Stefan Monnier
2009-03-30 18:38 ` Printing Eli Zaretskii
2009-03-31 1:56 ` Printing Stefan Monnier
2009-03-31 3:15 ` Printing Eli Zaretskii
2009-04-01 0:52 ` Printing Stefan Monnier
2009-04-01 3:14 ` Printing Eli Zaretskii
2009-04-01 4:17 ` Printing Miles Bader
2009-04-01 17:53 ` Printing Eli Zaretskii
2009-04-01 4:24 ` Jason Rumney [this message]
2009-04-01 17:56 ` Printing Eli Zaretskii
2009-04-01 8:11 ` Printing Stephen J. Turnbull
2009-04-01 14:36 ` Printing Stefan Monnier
2009-04-01 18:16 ` Printing Eli Zaretskii
2009-04-01 23:42 ` Printing Stefan Monnier
2009-04-02 13:02 ` Printing Richard M Stallman
2009-04-02 19:37 ` Printing Eli Zaretskii
2009-04-02 10:08 ` Printing tomas
2009-04-02 10:52 ` Printing Lennart Borgman
2009-04-02 11:51 ` Printing tomas
2009-04-02 11:49 ` Printing Lennart Borgman
2009-04-02 13:37 ` Printing Stefan Monnier
2009-04-02 13:47 ` Printing Óscar Fuentes
2009-04-02 13:55 ` Printing Samuel Bronson
2009-04-02 14:24 ` Printing Óscar Fuentes
2009-04-02 14:34 ` Printing Lennart Borgman
2009-04-02 14:00 ` Printing Lennart Borgman
2009-04-02 16:15 ` Printing Stefan Monnier
2009-04-02 16:47 ` Printing Reiner Steib
2009-04-02 19:44 ` Printing Eli Zaretskii
2009-04-03 0:43 ` Printing Stefan Monnier
2009-04-02 20:56 ` Printing Lennart Borgman
2009-04-04 0:00 ` Printing Lennart Borgman
2009-04-04 0:36 ` Printing Stefan Monnier
2009-04-04 0:45 ` Printing Lennart Borgman
2009-04-04 1:05 ` Printing Óscar Fuentes
2009-04-04 6:52 ` Printing Lennart Borgman
2009-04-04 8:57 ` Printing Eli Zaretskii
2009-04-04 9:22 ` Printing Lennart Borgman
2009-04-04 9:49 ` Printing Eli Zaretskii
2009-03-28 20:30 ` Printing James Cloos
2009-03-29 2:15 ` Printing Richard M Stallman
2009-03-29 3:20 ` Printing Eli Zaretskii
2009-03-30 1:17 ` Printing Richard M Stallman
2009-03-30 3:10 ` Printing Eli Zaretskii
2009-03-30 6:36 ` Printing Lennart Borgman
2009-03-30 18:41 ` Printing Eli Zaretskii
2009-03-30 19:04 ` Printing Lennart Borgman
2009-03-30 20:48 ` Printing Eli Zaretskii
2009-03-30 20:53 ` Printing Lennart Borgman
2009-03-30 20:59 ` Printing Eli Zaretskii
2009-03-30 21:27 ` Printing Lennart Borgman
2009-03-31 3:19 ` Printing Eli Zaretskii
2009-03-30 21:46 ` Printing Óscar Fuentes
2009-03-30 21:50 ` Printing Richard M Stallman
2009-03-31 3:18 ` Printing Eli Zaretskii
2009-03-31 19:14 ` Printing Richard M Stallman
2009-03-30 18:03 ` Printing Андрей Парамонов
-- strict thread matches above, loose matches on Subject: below --
2022-12-17 12:31 printing Gottfried
2022-12-17 13:09 ` printing tomas
2022-12-14 16:38 wie kann ich Emacs so einstellen, dass ich drucken kann Gottfried
2022-12-14 17:27 ` Philip Kaludercic
2022-12-16 15:27 ` printing Gottfried
2022-12-16 22:26 ` printing Michael Heerdegen
2022-12-17 6:29 ` printing tomas
2022-12-17 7:41 ` printing Emanuel Berg
2022-12-17 13:48 ` printing Gottfried
2022-12-17 16:30 ` printing tomas
2016-03-03 14:35 Printing Sharon Kimble
2016-03-03 20:22 ` Printing tomas
2016-03-05 13:40 ` Printing Robert Thorpe
2009-04-01 17:22 Printing grischka
2009-04-01 18:55 ` Printing David De La Harpe Golden
2009-04-01 18:58 ` Printing David De La Harpe Golden
2009-04-01 20:51 ` Printing grischka
2009-04-01 21:19 ` Printing Lennart Borgman
2009-04-02 0:09 ` Printing David De La Harpe Golden
2009-04-01 23:32 ` Printing Stefan Monnier
2009-04-02 2:33 ` Printing grischka
2009-04-02 3:05 ` Printing Samuel Bronson
2009-04-02 13:41 ` Printing grischka
2009-04-02 13:31 ` Printing Stefan Monnier
2009-04-02 18:39 ` Printing grischka
2009-04-02 18:53 ` Printing Stefan Monnier
2003-03-18 21:18 printing Kevin Reeder
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=49D2EC89.3000508@gnu.org \
--to=jasonr@gnu.org \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=michael@elehack.net \
--cc=monnier@iro.umontreal.ca \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.