From: harven <harven@free.fr>
To: help-gnu-emacs@gnu.org
Subject: Re: print with DejaVu font from emacs
Date: Wed, 11 Nov 2009 22:43:15 +0100 [thread overview]
Message-ID: <m2y6mc7n64.fsf@free.fr> (raw)
In-Reply-To: mailman.10521.1257967402.2239.help-gnu-emacs@gnu.org
Peter Dyballa <Peter_Dyballa@Web.DE> writes:
> Am 11.11.2009 um 17:12 schrieb harven:
> BTW, I am not that sure that your GNOME desktop creates PostScript
> files! (It would necessitate CID fonts.) You can easily check this by
> disabling the printer queue. Then any print output is queued in but
> not sent to the printer. So you have (almost) infinite time to locate
> the queue's content and check the files' type – possibly with super-
> user privileges. And I am sure you'll find PDF...
I just tried your suggestion. From the virtual printer, I can choose
ps or pdf for the output. When I choose ps, I get a file starting with
%!PS-Adobe-3.0
%%Creator: cairo 1.8.0 (http://cairographics.org)
%%CreationDate: Wed Nov 11 22:06:56 2009
%%Pages: 1
%%BoundingBox: 0 0 612 792
%%DocumentData: Clean7Bit
%%LanguageLevel: 2
...
From the cairographics webpage, I see that the fonts are always subsetted
and embedded. Later in the file, I find
Encoding 1 /uni222C put
Encoding 2 /uni006D put
Encoding 3 /uni006F put
...
/sfnts [
<00010000000a008000030020636d61700043f0c90000080c0000005863767420e997070c0000
0864000002306670676d5b026bdf00000a94000000ac676c79663d08b488000000ac00000760
which corresponds to the unicode characters I typed. Finally, when I open
the file on a computer which does not have the DejaVu fonts, the "postscript"
correctly displays the text with the DejaVu fonts. So what do you think ?
I may be fooled by the headers, I don't know much about postscript.
BTW, Am I wrong, or emacs23 now depends on cairo for 2D display ?
Cheers
next prev parent reply other threads:[~2009-11-11 21:43 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-09 15:38 print with DejaVu font from emacs harven
2009-11-09 16:36 ` Peter Dyballa
[not found] ` <mailman.10350.1257784601.2239.help-gnu-emacs@gnu.org>
2009-11-11 16:12 ` harven
2009-11-11 19:23 ` Peter Dyballa
[not found] ` <mailman.10521.1257967402.2239.help-gnu-emacs@gnu.org>
2009-11-11 21:43 ` harven [this message]
2009-11-11 23:10 ` Peter Dyballa
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=m2y6mc7n64.fsf@free.fr \
--to=harven@free.fr \
--cc=help-gnu-emacs@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 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.