help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: print with DejaVu font from emacs


From: harven
Subject: Re: print with DejaVu font from emacs
Date: Wed, 11 Nov 2009 22:43:15 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (darwin)

Peter Dyballa <address@hidden> 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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]