|
From: | Anand Tamariya |
Subject: | Basic WYSIWYG printing in GNU Emacs (Unicode with CJK + Image) |
Date: | Tue, 20 Jul 2021 12:00:49 +0530 |
Here is my next iteration on basic
WYSIWYG printing in GNU Emacs for CJK Unicode text. Now you can print
CJK Unicode text using TrueType/Opentype fonts (Google's Noto Serif CJK font in
the image) .
Note: Ghostscript doesn't support font collections (OTC/TTC) for CID keyed fonts. So use individual TTF/OTF font files.
Run M-x ps-print-buffer-with-faces
to send output to printer.
Run C-u M-x ps-print-buffer-with-faces
to send output to file (PS format).
CJK Font setup: https://www.preining.info/blog/software-projects/cjk-fonts-ghostscript/
Code: https://gitlab.com/atamariya/emacs/tree/dev
Screenshot: https://lifeofpenguin.blogspot.com/2021/06/basic-wysiwyg-printing-in-gnu-emacs.html
[Prev in Thread] | Current Thread | [Next in Thread] |