Re: [External] About the font used by 'ps-spool-buffer-with-faces'

"Richard M. Heiberger" <[email protected]> Tue, 24 Dec 2024 15:45:18 +0000
Newsgroups gmane.emacs.windows
Message-ID <[email protected]>
I wrote pdf-print.el and would like to donate it to emacs.
To whom do I send the file and what is the formality for transferring right=
s?

I wrote it to do ps-print and pipe it through ps2pdf directly to lpr.
My version does direct printing only.  I never use the conversion to file s=
o I didn't do that part.
I documented that it is missing.

My file should work on all computers, I use it on the Mac.

Rich

> On Dec 24, 2024, at 09:35, Eli Zaretskii <[email protected]> wrote:
>=20
>> From: Benjamin Riefenstahl <[email protected]>
>> Cc: [email protected]
>> Date: Tue, 24 Dec 2024 15:40:11 +0200
>>=20
>> Angelo Graziosi writes:
>>> Thanks Benjamin! It seems this is a consequence of the fact that we
>>> are using PostScript.
>>=20
>> Actually, PDF is mostly a binary version of PostScript output.  A kind
>> of a vector graphics format.  So PDF is very closely tied to PostScript
>> and PDF has some of the same constraints.  The main difference is that
>> PDF also has the ability to incorporate fonts into the file (after some
>> conversion).
>>=20
>>> With Kate, for example, I can select 'Print' and than 'Microsoft print
>>> to PDF' and this produces a PDF with the font used by Kate.
>>=20
>> On Windows, the Windows printer driver does all the heavy (very heavy!)
>> lifting.  Emacs does not want to do that, because those kind of drivers
>> do not exist on Linux, BSD etc.  The printing architecture there is
>> constructed differently.
>>=20
>> Again there are most likely external tools that can even be called from
>> Emacs to just do this.
>=20
> Here's one:
>=20
>  https://www.lerup.com/printfile/descr.html
>=20
> I'm its happy user for many years and several Windows versions.