From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jean Louis Newsgroups: gmane.emacs.devel Subject: Re: Basic WYSIWYG printing in GNU Emacs Date: Sun, 13 Jun 2021 12:43:50 +0300 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1703"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/2.0.7+183 (3d24855) (2021-05-28) Cc: emacs-devel , Anand Tamariya To: Dov Grobgeld Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jun 13 11:47:19 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 1lsMi6-0000Cu-QF for ged-emacs-devel@m.gmane-mx.org; Sun, 13 Jun 2021 11:47:18 +0200 Original-Received: from localhost ([::1]:40442 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lsMi5-0001UJ-SX for ged-emacs-devel@m.gmane-mx.org; Sun, 13 Jun 2021 05:47:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33442) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lsMhE-0000S2-Am for emacs-devel@gnu.org; Sun, 13 Jun 2021 05:46:24 -0400 Original-Received: from stw1.rcdrun.com ([217.170.207.13]:34813) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lsMhC-0007hv-Kr for emacs-devel@gnu.org; Sun, 13 Jun 2021 05:46:24 -0400 Original-Received: from localhost ([::ffff:197.157.0.23]) (AUTH: PLAIN admin, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 00000000000D59E0.0000000060C5D3CC.00007532; Sun, 13 Jun 2021 02:45:47 -0700 Mail-Followup-To: Dov Grobgeld , Anand Tamariya , emacs-devel Content-Disposition: inline In-Reply-To: Received-SPF: pass client-ip=217.170.207.13; envelope-from=bugs@gnu.support; helo=stw1.rcdrun.com X-Spam_score_int: -3 X-Spam_score: -0.4 X-Spam_bar: / X-Spam_report: (-0.4 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_SORBS_WEB=1.5, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no 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:270790 Archived-At: * Dov Grobgeld [2021-06-13 11:02]: > 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. :-) Such good idea. I would like proper printing in Emacs, I guess that I have to research the function `ps-mule-begin-job' to see how it converts faces to PS first, to convert it to pango markup. -- Jean Take action in Free Software Foundation campaigns: https://www.fsf.org/campaigns In support of Richard M. Stallman https://stallmansupport.org/