From: David Kastrup <dak@gnu.org>
To: emacs-devel@gnu.org
Subject: Some observations about --with-cairo
Date: Sun, 04 Jun 2017 22:03:55 +0200 [thread overview]
Message-ID: <878tl7wmdw.fsf@fencepost.gnu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 344 bytes --]
Well, just out of interest, I compiled emacs using --with-cairo.
Redraws are unusably slow and partly incorrect and font display is
pretty bad.
That being said,
M-: (with-temp-file "/tmp/frame.pdf" (insert (x-export-frames)))
as a screen dump is, well, interesting.
I append a resulting file from using this in an Info buffer with images.
[-- Attachment #2: frame.pdf --]
[-- Type: application/pdf, Size: 35936 bytes --]
[-- Attachment #3: Type: text/plain, Size: 564 bytes --]
If you take a look at it in a PDF viewer, you'll notice that the fonts
from this frame dump scale to arbitrary size, in contrast to the
included PNG image.
This could be an interesting starting angle for creating a manual with
included images/screens that do not suffer from rasterization. Since
the corresponding fonts would likely be included only once, such
"graphics" would actually require very little actual space in the PDF
file.
Also, one could copy&paste from the frames in such a manual, in contrast
to actual raster screen dumps.
--
David Kastrup
next reply other threads:[~2017-06-04 20:03 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-04 20:03 David Kastrup [this message]
2017-09-24 14:11 ` Some observations about --with-cairo Clément Pit-Claudel
2017-09-25 12:51 ` Noam Postavsky
2017-09-25 14:12 ` Robert Pluim
2017-09-25 14:38 ` Noam Postavsky
2017-09-26 10:13 ` YAMAMOTO Mitsuharu
2017-09-29 8:49 ` Eli Zaretskii
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=878tl7wmdw.fsf@fencepost.gnu.org \
--to=dak@gnu.org \
--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).