From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/76242 Path: news.gmane.org!not-for-mail From: Philipp Gesang Newsgroups: gmane.comp.tex.context Subject: Most portable font name Date: Thu, 17 May 2012 16:11:58 +0200 Message-ID: <20120517141158.GD8659@phlegethon> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1341815234==" X-Trace: dough.gmane.org 1337263855 14409 80.91.229.3 (17 May 2012 14:10:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 17 May 2012 14:10:55 +0000 (UTC) To: ConTeXt ML Original-X-From: ntg-context-bounces@ntg.nl Thu May 17 16:10:54 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SV1Pp-0008RX-MG for gctc-ntg-context-518@m.gmane.org; Thu, 17 May 2012 16:10:53 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 38CD0101E7; Thu, 17 May 2012 16:10:52 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id spAYvEfZL4W9; Thu, 17 May 2012 16:10:49 +0200 (CEST) Original-Received: from [127.0.0.1] (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 197A9101DF; Thu, 17 May 2012 16:10:49 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DCA02101DF for ; Thu, 17 May 2012 16:10:47 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id pmoJCIOLxSe9 for ; Thu, 17 May 2012 16:10:46 +0200 (CEST) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id AEE32101DD for ; Thu, 17 May 2012 16:10:46 +0200 (CEST) Original-Received: from relay.uni-heidelberg.de (relay.uni-heidelberg.de [129.206.100.212]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q4HEAjPw009697 for ; Thu, 17 May 2012 16:10:45 +0200 Original-Received: from ix.urz.uni-heidelberg.de (cyrus-portal.urz.uni-heidelberg.de [129.206.100.176]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id q4HEAY3r011006 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 17 May 2012 16:10:36 +0200 Original-Received: from extmail.urz.uni-heidelberg.de (extmail.urz.uni-heidelberg.de [129.206.100.140]) by ix.urz.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id q4HEAV8D020423 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 17 May 2012 16:10:31 +0200 Original-Received: from localhost (dslb-188-104-132-109.pools.arcor-ip.net [188.104.132.109]) (authenticated bits=0) by extmail.urz.uni-heidelberg.de (8.13.4/8.13.1) with ESMTP id q4HEAUNk009784 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Thu, 17 May 2012 16:10:30 +0200 Mail-Followup-To: ConTeXt ML X-Operating-System: Linux phlegethon 3.3.2-1-ARCH X-Polite-Request: "Please try to be nice, don't send html mail." User-Agent: Mutt/1.5.21 (2010-09-15) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=129.206.100.212; country=DE; region=01; city=Heidelberg; latitude=49.4167; longitude=8.7000; http://maps.google.com/maps?q=49.4167,8.7000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 06Hb2aJN1 - ced7efbafb0b - 20120517 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.13 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:76242 Archived-At: --===============1341815234== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="d01dLTUuW90fS44H" Content-Disposition: inline --d01dLTUuW90fS44H Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi all, tl;dr: by which name to refer to a font. I was about to recommend (tomorrow; context: an introductory LaTeX course) *the* way of referring to a font by its name. As we all know, the same font (as in file) usually comes with a variety of possible denominations. =E2=80=9Cotfinfo -i=E2=80=9D on a *file name* re= sults in a list of *full name*, *Postscript name*, *unique id*, etc., which all might have some valid purpose. I have come across answers to assignments that made me wonder =E2=80=9CHow on earth did E get that to work on Eir system?=E2=80=9D. There=E2=80=99s some background = info [1] on the Fontforge pages but it doesn=E2=80=99t really answer my question: Which identifier is least likely to break things and at the same time most portable between both frontends (Fontspec, Simplefonts, typescripts) and platforms (Win/Linux/Mac)? For some time now I myself settled for the Postscript name as it never caused problems in typescripts and it=E2=80=99s got no spaces. The filename might be the most explicit one, but oftentimes contains spaces which I *always* replace with underscores prior to installing a font; also case insensitive filesystems might cause trouble. Also, some fonts have weird file naming schemes (e.g. CMU and the Paratype fonts), so extra comments may be required to support legibility of the resulting code. The typescripts that come with Context use both (=E2=80=9Cname:=E2=80=9D and =E2=80=9Cfile:=E2= =80=9D) but I have no clue why exactly which method was chosen over the other in what case. The fontspec documentation (and the Simplefonts module and our course so far) conforms to the WYSIWYG tradition of purportedly more human-readable, spaced identifiers, e.g. =E2=80=9CTeX Gyre Bonum Bold=E2=80=9D. (Cf. [1]: =E2=80=9CFullName is designed to be rea= d by humans=E2=80=9D.) So I judged that my preferred choice might not be as good as I think. I got cold feet and am about to remove the slide where I recommend the PS name (I can do that later anyways). Is there -- apart from personal opinions -- some valid reason to prefer one name over the other *in general*? Thanks for any advice and opinions. Philipp [1] http://fontforge.sourceforge.net/fontinfo.html#Names --d01dLTUuW90fS44H Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iEYEARECAAYFAk+1By4ACgkQ02lYlJYWs9LyJwCgkW7rfg3/AW45IXejNPVabueS 8/kAnRgo+41HKzhrl+2YYjFWa1L58ymB =s5A0 -----END PGP SIGNATURE----- --d01dLTUuW90fS44H-- --===============1341815234== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============1341815234==--