From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Anand Tamariya Newsgroups: gmane.emacs.devel Subject: Re: [Patch] Basic WYSIWYG printing in GNU Emacs Date: Thu, 12 Aug 2021 11:04:39 +0530 Message-ID: References: <83y299fpmh.fsf@gnu.org> <83zgtodx8j.fsf@gnu.org> <83lf57exgd.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000fa73cf05c95617c3" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31229"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Aug 12 07:35:43 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mE3NX-0007xg-Lp for ged-emacs-devel@m.gmane-mx.org; Thu, 12 Aug 2021 07:35:43 +0200 Original-Received: from localhost ([::1]:32802 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mE3NW-0006ei-8k for ged-emacs-devel@m.gmane-mx.org; Thu, 12 Aug 2021 01:35:42 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57570) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mE3Mj-0005zL-Ol for emacs-devel@gnu.org; Thu, 12 Aug 2021 01:34:53 -0400 Original-Received: from mail-io1-xd34.google.com ([2607:f8b0:4864:20::d34]:39483) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mE3Mi-0003ux-CN; Thu, 12 Aug 2021 01:34:53 -0400 Original-Received: by mail-io1-xd34.google.com with SMTP id r72so6794262iod.6; Wed, 11 Aug 2021 22:34:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=pJQbrHesO3KfYje/GmS0UG4nQH9zW3km0skMxqiWUvA=; b=LWXtdn7bDulV8shbURgjVq5DtGzJgOI2j9OmbqLwkhS49d+K0h8rzAfgUd9JTs6UYz 6jh+Wlwmvz42NWH750LBJYWNWmeHtNSIbLwrfYnPGfWBslFm2mq5kDKQEiwgMssXpcoa d2HKqoB1s9Wtsqq+P8G3TAAROJs1DKVjMOvjqzJNuRXIv+MBobUBm1kDj9WJ62pTAi8Y qfLGJudrEAcw4ABb9V5mskQlaRdpr95MXkWird5mem+9llO63GEXuBXP7ZfYM8vc5Z2f 0R+sBKIF86+sDQocAlfdCbm3UtG60A3Q4gsbdA2SPOl40u9ZNzY25nqrmmUDhaQwuP4E jjEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=pJQbrHesO3KfYje/GmS0UG4nQH9zW3km0skMxqiWUvA=; b=NBVmDly+1eqFn9cGQDypCcAGBz+Fy6HaiaYQFHLkM9iGCsvfGSqimDI1Mfhn6pBQOr 6enb/bnoaiFDfc+WPYAq2962B0DcUqPe/lOQ38C9xqJUKTIiQrDX/h2o7EWkxXTfh9BE DgG7HccOP+K8Rfe+mL6zKuWHNCyNBmX8Xngueb4oQEj04MhDObRw25sY+pGS8bu7MnVb XuzDJYO2IDW/oiy35WXT2dt9hqaNOytKs4iUaVBAJqhghKLRWizPVmhr1RX/RmXdBqym P/lTnh/YqCHwjdY0kxHOVv+9JWuVmQ3VdgUN56ci3wuXYwFIH2t5YtByiXJRt8kkcUNV sPYA== X-Gm-Message-State: AOAM533JjyQjNjBjSNQTRIqrIjosZcZWGttpvhX0BpoFcszKYk6Y3YoY Wrb6oYoQMXx6lIZpeCBsoe9wKJ8MulwDyH5Ubjzu1JoZ X-Google-Smtp-Source: ABdhPJxHKZgZZLJnsfggd0ra9QW2xhVD88Pv8SLBrvppq/By8anRp4f6q0xCzEdxqgqu9mLnAjR8yW8buF5BPhc9ORI= X-Received: by 2002:a5d:9284:: with SMTP id s4mr1732234iom.131.1628746490212; Wed, 11 Aug 2021 22:34:50 -0700 (PDT) In-Reply-To: <83lf57exgd.fsf@gnu.org> Received-SPF: pass client-ip=2607:f8b0:4864:20::d34; envelope-from=atamariya@gmail.com; helo=mail-io1-xd34.google.com X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 5.0 requ) BAYES_05=-0.5, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:272340 Archived-At: --000000000000fa73cf05c95617c3 Content-Type: text/plain; charset="UTF-8" > > Correction is in order - the screenshot/ rendering within Emacs requires > Ghostscript. Printing to printer > > would use OS specific print commands e.g. lpr on *nix. > > Now I'm even more confused. How does one "render within Emacs with > Ghostscript"? Emacs display rendering uses our display engine, which > doesn't need Ghostscript, and AFAIK cannot use it. I guess I'm > misunderstanding something very basic here... > The screenshots linked in OP shows split windows - one with original text and another with PS file. The PS file section is actually a PNG image generated with Ghostscript from the PS file. The PS file itself is generated by my code. --000000000000fa73cf05c95617c3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

> Correction is in order - the screenshot/ rendering within Emacs requir= es Ghostscript. Printing to printer
> would use OS specific print commands e.g. lpr on *nix.

Now I'm even more confused.=C2=A0 How does one "render within Emac= s with
Ghostscript"?=C2=A0 Emacs display rendering uses our display engine, w= hich
doesn't need Ghostscript, and AFAIK cannot use it.=C2=A0 I guess I'= m
misunderstanding something very basic here...
The scre= enshots linked in OP shows split windows - one with original text and anoth= er with PS file. The PS file section is actually a PNG image generated with= Ghostscript from the PS file. The PS file itself is generated by my code. =
--000000000000fa73cf05c95617c3--