> From: Benjamin Riefenstahl <b.riefenst...@turtle-trading.net> > Cc: help-emacs-windows@gnu.org > Date: Tue, 24 Dec 2024 15:40:11 +0200 > > Angelo Graziosi writes: > > Thanks Benjamin! It seems this is a consequence of the fact that we > > are using PostScript. > > 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). > > > 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. > > 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. > > Again there are most likely external tools that can even be called from > Emacs to just do this.
Here's one: https://www.lerup.com/printfile/descr.html I'm its happy user for many years and several Windows versions.