all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Anand Tamariya <atamariya@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: [Patch] Basic WYSIWYG printing in GNU Emacs
Date: Wed, 11 Aug 2021 10:02:03 +0530	[thread overview]
Message-ID: <CADm7Y4nTmUXhjarAYdsZ2F9EnPFSLXR-3Y7nf3+dBtZypyP=iw@mail.gmail.com> (raw)
In-Reply-To: <83y299fpmh.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 1023 bytes --]

> Thanks, but can you tell a few words about the prerequisites and
> limitations?  For example, it sounds like this requires a Cairo build
> and the use of the ftcrhb font backend -- is this a requirement, or
> should it be possible to make it work with other font backends as
> well?  Also, are there any assumptions or requirements regarding the
> fonts installed on the system?
>
Printers use "postscriptname" defined in a font file while searching for
fonts. psname.txt provides a sample of how to read that information from a
font backend. It is not mandatory - but its presence will prevent nasty
surprises. In its absence, Lisp code uses font file base name. If the file
name doesn't match postscriptname, printing might fail - "might" because
printer will try its best to substitute a suitable font.
Theoretically, there's no dependency except Ghostscript which does most of
the heavy lifting for printing in Emacs. Fonts other than Truetype might
require additional configuration as defined in Ghostscript manual.

[-- Attachment #2: Type: text/html, Size: 1285 bytes --]

  parent reply	other threads:[~2021-08-11  4:32 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-10  9:29 [Patch] Basic WYSIWYG printing in GNU Emacs Anand Tamariya
2021-08-10 12:31 ` Eli Zaretskii
2021-08-10 18:12   ` Pankaj Jangid
2021-08-11  3:39     ` Anand Tamariya
2021-08-11  4:32   ` Anand Tamariya [this message]
2021-08-11 11:41     ` Eli Zaretskii
2021-08-11 15:49       ` Anand Tamariya
2021-08-11 16:51         ` Eli Zaretskii
2021-08-11 16:58           ` Eli Zaretskii
2021-08-12  5:34           ` Anand Tamariya
2021-08-12  6:11             ` Eli Zaretskii
2021-08-12  6:45               ` Anand Tamariya
2021-08-12  8:08                 ` Eli Zaretskii

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

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

  git send-email \
    --in-reply-to='CADm7Y4nTmUXhjarAYdsZ2F9EnPFSLXR-3Y7nf3+dBtZypyP=iw@mail.gmail.com' \
    --to=atamariya@gmail.com \
    --cc=eliz@gnu.org \
    --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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.