Il 24/12/2024 08:02, Joel Reicher ha scritto:
Angelo Graziosi <[email protected]> writes:
Suppose I set as default font (Options - Set Default Font) "Lucida
console". The buffers are rendered in this new font. Then I do
M-x ps-spool-buffer-with-faces
for the current buffer and save the Postscript buffer in a file, say
foo.ps. Finally I convert this Postscript in PDF (ps2pdf).
The PDF is not rendere with Lucida console but, if I read corectly,
with Courier New.
Is this to be expected. How can I have a PDF with the font I have set
as default in Emacs?
How does the PS display? It's possible the problem is introduced by ps2pdf.
No, I just discovered that 'ps-font-family' is 'Courier', and it seems
that things cannot change much. See for example:
https://www.gnu.org/software//emacs/manual/html_node/emacs/PostScript-Variables.html