From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dov Grobgeld Newsgroups: gmane.emacs.devel Subject: Re: Basic WYSIWYG printing in GNU Emacs Date: Sun, 13 Jun 2021 11:01:57 +0300 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21659"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel To: Anand Tamariya Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jun 13 10:02:48 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 1lsL4y-0005P7-Av for ged-emacs-devel@m.gmane-mx.org; Sun, 13 Jun 2021 10:02:48 +0200 Original-Received: from localhost ([::1]:45106 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lsL4w-0004xQ-T1 for ged-emacs-devel@m.gmane-mx.org; Sun, 13 Jun 2021 04:02:46 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50820) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lsL4N-0004H7-MS for emacs-devel@gnu.org; Sun, 13 Jun 2021 04:02:11 -0400 Original-Received: from mail-ua1-x933.google.com ([2607:f8b0:4864:20::933]:46804) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lsL4M-0000wq-0l for emacs-devel@gnu.org; Sun, 13 Jun 2021 04:02:11 -0400 Original-Received: by mail-ua1-x933.google.com with SMTP id p1so4234208uam.13 for ; Sun, 13 Jun 2021 01:02:09 -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:content-transfer-encoding; bh=FvHeKhujZfvRiqL1VVrqC6QZh5VTNOgF+wKdJ9Gi/Dc=; b=L5NsCtFJpkWlKwIOE0MqFFa+/KhSxyj6i+7cQia0h6EnsM3PYbthUDxZ7xgSQQKrvW khjiEa89/26jhEq3hshCJVzdgqUTmMILXARXg99uqSBPGnJk1B2npsGsEa8jugjMulDh RPbRvOQxR8HtIp9dpMncRsjPkMnKaSg+QJFIgj7DNvqldcXrh2eKr9wQMaypkezIBz17 E3DBCDdP6m9y6DCqQhmSPUkgCotSsdFYwk4AY1IkUDZ+s8jCNpSVzvvse9Na04PBsdR7 gtqYIFQOogvu1orLis+Uoex5iRDD1UuzITMPy5789jPJ5unRRbm2UHETyurIWcfVl93B yGdQ== 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:content-transfer-encoding; bh=FvHeKhujZfvRiqL1VVrqC6QZh5VTNOgF+wKdJ9Gi/Dc=; b=HNlKueY3p5fkyCrTBqMi16lV4rtmwvcTfv4zadA1gAf7Q40BW2WXJqgfsL67CaXJiH ELgpSQGNsHkzoj/fOmBNhltDKtR/sIQI4uq8soFiOv5G98ZLf+IFsCiQk17QnjHvDzYw oRJmnC3Nc8uQeqPJSZTQV/WeG5p20a6hFq0uc7PNmcqdJ8XxSaX04F4NvlRicKrctVbr GF3ohLqOlMnvyjpY6uZ7sMQ8yhU8JthrEhzf+9/Q017yI4eDhGUNDljMhMr/pgPHmaNC CX1S9wXGaOYNqkWD2osU0sE9b8UnkFyDLSHR9WfRiKjNTItgu/h1ST3nloHHpyRRRf+o Jhcw== X-Gm-Message-State: AOAM5320iUp3Vt/0SSFL5AQjyUkGftpJipjwRzpI6LmAsZ0FZt+RZkSj sDVKIa5Ze4JgxoH1n+H4tr8scxUNrn5RQRMqFP4= X-Google-Smtp-Source: ABdhPJwMQXITrCz6IXZS5KAY6bXoa00rS5IMVOjGcTZuivZjfcC0NxXcQHoogbP9cx5+lvpE2kP9FtZayyZiwWrPUzo= X-Received: by 2002:a9f:31b1:: with SMTP id v46mr8563314uad.22.1623571328307; Sun, 13 Jun 2021 01:02:08 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::933; envelope-from=dov.grobgeld@gmail.com; helo=mail-ua1-x933.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=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:270784 Archived-At: 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 wrote: > > >> Does it support characters like =C4=8D=C5=A1=C5=BE=C4=91 for some Easter= n 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