unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Some observations about --with-cairo
@ 2017-06-04 20:03 David Kastrup
  2017-09-24 14:11 ` Clément Pit-Claudel
  0 siblings, 1 reply; 7+ messages in thread
From: David Kastrup @ 2017-06-04 20:03 UTC (permalink / raw)
  To: emacs-devel

[-- 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-09-29  8:49 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-04 20:03 Some observations about --with-cairo David Kastrup
2017-09-24 14:11 ` 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

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).