From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail
From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= <mattiase@acm.org>
Newsgroups: gmane.emacs.bugs
Subject: bug#41958: ps-print-buffer only knows about some fonts for MacOS
 Preview
Date: Sat, 20 Jun 2020 17:20:58 +0200
Message-ID: <2105CE64-ADDB-40E0-BD5D-93AD552B11D8@acm.org>
References: <m0mu53vx41.fsf@slab.space>
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.14\))
Content-Type: text/plain;
	charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202";
	logging-data="21233"; mail-complaints-to="usenet@ciao.gmane.io"
Cc: 41958@debbugs.gnu.org
To: "James P. Ascher" <jpsa@protonmail.com>
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jun 20 17:22:13 2020
Return-path: <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>
Envelope-to: geb-bug-gnu-emacs@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 <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>)
	id 1jmfJr-0005Mg-Po
	for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 20 Jun 2020 17:22:12 +0200
Original-Received: from localhost ([::1]:39492 helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>)
	id 1jmfJq-0002Lm-RZ
	for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 20 Jun 2020 11:22:10 -0400
Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34240)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1jmfJi-0002KK-Vs
 for bug-gnu-emacs@gnu.org; Sat, 20 Jun 2020 11:22:02 -0400
Original-Received: from debbugs.gnu.org ([209.51.188.43]:47092)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1jmfJi-0002la-MM
 for bug-gnu-emacs@gnu.org; Sat, 20 Jun 2020 11:22:02 -0400
Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1jmfJi-0004QI-I8
 for bug-gnu-emacs@gnu.org; Sat, 20 Jun 2020 11:22:02 -0400
X-Loop: help-debbugs@gnu.org
In-Reply-To: <m0mu53vx41.fsf@slab.space>
Resent-From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= <mattiase@acm.org>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Sat, 20 Jun 2020 15:22:02 +0000
Resent-Message-ID: <handler.41958.B41958.159266647216943@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 41958
X-GNU-PR-Package: emacs
Original-Received: via spool by 41958-submit@debbugs.gnu.org id=B41958.159266647216943
 (code B ref 41958); Sat, 20 Jun 2020 15:22:02 +0000
Original-Received: (at 41958) by debbugs.gnu.org; 20 Jun 2020 15:21:12 +0000
Original-Received: from localhost ([127.0.0.1]:58638 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1jmfIu-0004PD-5z
 for submit@debbugs.gnu.org; Sat, 20 Jun 2020 11:21:12 -0400
Original-Received: from mail1443c50.megamailservers.eu ([91.136.14.43]:58700
 helo=mail264c50.megamailservers.eu)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mattiase@acm.org>) id 1jmfIp-0004OU-LA
 for 41958@debbugs.gnu.org; Sat, 20 Jun 2020 11:21:10 -0400
X-Authenticated-User: mattiase@bredband.net
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu;
 s=maildub; t=1592666461;
 bh=z4GlOQp2+DTMvoHQgnjVAOnUOGh3QSlexAdhPyG1zrk=;
 h=From:Subject:Date:Cc:To:From;
 b=mS7iU2mR/TZfqVLz76uKjQbzfJDZPbZbd2ZQ8fqWAI5ZX2z/ubntxISOIuUzl6KJH
 Zah7e9FtEAvZU8FzSvDACk2y1hLaEso/9SPvyEOxtF1FDKoPZqT0+9TUg84DX9k6/o
 EneU6QU/lxrz5zpxV9HX5ntXqx/auhBNJZ7gZ/w4=
Feedback-ID: mattiase@acm.or
Original-Received: from [192.168.0.4] (c188-150-171-71.bredband.comhem.se
 [188.150.171.71]) (authenticated bits=0)
 by mail264c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 05KFKwIw008681; 
 Sat, 20 Jun 2020 15:21:00 +0000
X-Mailer: Apple Mail (2.3445.104.14)
X-CTCH-RefID: str=0001.0A782F20.5EEE28C4.0049, ss=1, re=0.000, recu=0.000,
 reip=0.000, cl=1, cld=1, fgs=0
X-CTCH-VOD: Unknown
X-CTCH-Spam: Unknown
X-CTCH-Score: 0.000
X-CTCH-Flags: 0
X-CTCH-ScoreCust: 0.000
X-CSC: 0
X-CHA: v=2.3 cv=PPNxBsiC c=1 sm=1 tr=0 a=SF+I6pRkHZhrawxbOkkvaA==:117
 a=SF+I6pRkHZhrawxbOkkvaA==:17 a=kj9zAlcOel0A:10 a=M51BFTxLslgA:10
 a=Sd4VHNlTGvvPfpQGTkcA:9 a=CjuIK1q_8ugA:10
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
X-BeenThere: bug-gnu-emacs@gnu.org
List-Id: "Bug reports for GNU Emacs,
 the Swiss army knife of text editors" <bug-gnu-emacs.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-gnu-emacs>,
 <mailto:bug-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/bug-gnu-emacs>
List-Post: <mailto:bug-gnu-emacs@gnu.org>
List-Help: <mailto:bug-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-gnu-emacs>,
 <mailto:bug-gnu-emacs-request@gnu.org?subject=subscribe>
Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org
Original-Sender: "bug-gnu-emacs"
 <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>
Xref: news.gmane.io gmane.emacs.bugs:182208
Archived-At: <http://permalink.gmane.org/gmane.emacs.bugs/182208>

Is this really an error in what Emacs emits? My PostScript is incredibly =
rusty, but with the PS font name reported by Font Book, it seems to work =
for me. I wrote a .ps file by hand:

------------- start of file -------
%!
/AmericanTypewriter findfont 12 scalefont setfont
100 400 moveto
(Hello! I'm AmericanTypewriter!) show
showpage
-------------- end of file --------

and it was accepted by Preview in macOS Mojave. =
American-typewriter-Light worked just as well, and in both cases the =
correct font was used. I don't have your Hack font installed, however.