unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Dov Grobgeld <dov.grobgeld@gmail.com>
To: Anand Tamariya <atamariya@gmail.com>
Cc: emacs-devel <emacs-devel@gnu.org>
Subject: Re: Basic WYSIWYG printing in GNU Emacs
Date: Sun, 13 Jun 2021 11:01:57 +0300	[thread overview]
Message-ID: <CA++fsGEnpaECt9zkM1EbNvP6WMd9+sDw+20Wx8pmEmP7OKcxMQ@mail.gmail.com> (raw)
In-Reply-To: <CADm7Y4=-E_NXhfsrhbswiF=NnoCVAFV=4_VGzYOE_EmVM5ru+w@mail.gmail.com>

I think you would get much better international support if you combine
the emacs printing with my utf8-to-ps (or pdf or svg) program paps.
See: https://github.com/dov/paps . paps support "Pango Markup" so if
you convert emacs faces to pango markup, you can multi face and color
output.

Thinking about it since emacs is gtk based these days, it has pango
and cairo as implicit dependencies, so if these libraries were exposed
through the emacs lisp api, it would be possible to write a
replacement for paps in emacs. :-)

Regards,


On Sun, Jun 13, 2021 at 8:33 AM Anand Tamariya <atamariya@gmail.com> wrote:
>
>
>> Does it support characters like čšžđ for some Eastern European
>> languages?
>
> Right now it only supports ASCII.
>
>> The code seem to be full Emacs distribution, do you have isolated
>> code?
>
> The relevant files are:
> etc/ps-prin1.ps
> lisp/ps-mule.el
> lisp/ps-print.el



  reply	other threads:[~2021-06-13  8:01 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-12  3:46 Basic WYSIWYG printing in GNU Emacs Anand Tamariya
2021-06-12  4:07 ` Jean Louis
2021-06-13  5:32   ` Anand Tamariya
2021-06-13  8:01     ` Dov Grobgeld [this message]
2021-06-13  9:43       ` Jean Louis
2021-06-13 10:30         ` Basil L. Contovounesios
2021-06-13 11:04           ` Jean Louis
2021-06-13 10:18       ` Jean Louis
2021-06-16 13:35         ` Filipp Gunbin
2021-06-13 11:07       ` Jean Louis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CA++fsGEnpaECt9zkM1EbNvP6WMd9+sDw+20Wx8pmEmP7OKcxMQ@mail.gmail.com \
    --to=dov.grobgeld@gmail.com \
    --cc=atamariya@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).