> Cc: 73...@debbugs.gnu.org
> From: Ihor Radchenko <yanta...@posteo.net>
> Date: Tue, 10 Sep 2024 06:19:41 +0000
> 
> Serghei Iakovlev via "Bug reports for GNU Emacs, the Swiss army knife of
> text editors" <bug-gnu-emacs@gnu.org> writes:
> 
> > --8<---------------cut here---------------start------------->8---
> > (require 'ps-print)
> > (ps-print-buffer-with-faces
> >   (concat (file-name-sans-extension file) ".ps"))
> > (call-process "ps2pdf" nil nil nil
> >   (expand-file-name
> >     (concat (file-name-sans-extension file) ".ps"))
> >   (expand-file-name file))
> > (delete-file (concat (file-name-sans-extension file) ".ps"))
> > (message "PDF written to %s" file)
> > --8<---------------cut here---------------end--------------->8---
> 
> (A comment to Eli and other Emacs maintainers)
> 
> I believe that what we observe here is a problem in `ps-print-buffer',
> not in Org mode. In other words, it looks like Emacs bug, not Org mode
> bug.

It isn't an Org bug, but IMO Org should prominently document that the
above is only going to work for ASCII and maybe also Latin-1 text; any
other scripts, if they at all work, need ps-mule setup and BDF fonts.



  • bug#73161:... Bug reports for GNU Emacs, the Swiss army knife of text editors
    • bug#7... Ihor Radchenko
      • b... Eli Zaretskii
    • bug#7... Eli Zaretskii
      • b... Eli Zaretskii
      • b... Bug reports for GNU Emacs, the Swiss army knife of text editors

Reply via email to