From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/68570 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Font selection problem in MKIV Date: Sat, 21 May 2011 19:31:24 +0200 Message-ID: <3E9D70E9-BB0B-4FDE-B66D-EB6FFF480634@googlemail.com> References: <20110521153146.GA9053@innsmouth.lan> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1305999116 18612 80.91.229.12 (21 May 2011 17:31:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 21 May 2011 17:31:56 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat May 21 19:31:50 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QNq1i-0002iH-9X for gctc-ntg-context-518@m.gmane.org; Sat, 21 May 2011 19:31:46 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 841ACCAD1F; Sat, 21 May 2011 19:31:44 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id LZ+5ykvUy5yu; Sat, 21 May 2011 19:31:42 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E87B2CAD0C; Sat, 21 May 2011 19:31:41 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 43905CAD0C for ; Sat, 21 May 2011 19:31:40 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id onVYvg3n6S4p for ; Sat, 21 May 2011 19:31:29 +0200 (CEST) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id 05C0DCAD04 for ; Sat, 21 May 2011 19:31:29 +0200 (CEST) Original-Received: from mail-fx0-f41.google.com (mail-fx0-f41.google.com [209.85.161.41]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p4LHVRXB024316 for ; Sat, 21 May 2011 19:31:28 +0200 Original-Received: by fxm18 with SMTP id 18so4509931fxm.14 for ; Sat, 21 May 2011 10:31:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:content-type:mime-version:subject:from :in-reply-to:date:content-transfer-encoding:message-id:references:to :x-mailer; bh=o9kBdOlCs0LuK8dfszG+TGUeq57U4C4QrLtwCMTet1A=; b=q2R+Hoba1k3my3Ik5EzYE0iITvPucmpkvqpk38CWD+diTm+AnycanJPxT/DoejIkbd AHtUFX7hk4B+z3qaoMwCDQylg54yR3Wxzv5JiRo8TJ/MCigh5XA0ZOh84CLt+LwySoT6 mHQAieVXhqiboUCiJGDQ1o+ADjMZEs7WzNHcE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=LBVCFB5gwCc+Tcht+p0syhAsz//3m5ZTHTgR97y4R6BN+l01mzIIJ4BKU6BHZLoszU Qqc/NTaloFdEiD+bQktGervFlAMUWADy+SrRpxAMq3Gs6ssicO5HW2fe1cxRIBIKMELY MHkwiRK8gDqiEREAyfUgRfRztrfgd2Q+GLeM4= Original-Received: by 10.223.127.197 with SMTP id h5mr779800fas.36.1305999087759; Sat, 21 May 2011 10:31:27 -0700 (PDT) Original-Received: from [192.168.2.34] (p5B297DC1.dip.t-dialin.net [91.41.125.193]) by mx.google.com with ESMTPS id j18sm1777549faa.42.2011.05.21.10.31.25 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 21 May 2011 10:31:26 -0700 (PDT) In-Reply-To: <20110521153146.GA9053@innsmouth.lan> X-Mailer: Apple Mail (2.1084) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.161.41; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0bEKhvsFc - 7b18818c215b - 20110521 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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:68570 Archived-At: Am 21.05.2011 um 17:31 schrieb Otso Helenius: >> Try >>> \switchtotypeface[LeagueScript][12pt] >> \switchtobodyfont[LeageScript] > = > Is \switchtobodyfont the recommended way of changing the typeface tempora= rily anywhere in a document > (for example when making cover page graphics)? Its name implies only docu= ment body. > = > Nevertheless, \switchtobodyfont works (at least in the document body, hav= en't tested yet elsewhere) > without setting \setupbodyfont. \switchtotypeface wasn=92t working for you because the second argument expects a font alternative (e.g. rm, ss etc.) and not the size. You can also switch to a certain typeface when you use the command, in your case \LeagueScript but have to ensure that the typeface is loaded, otherwise you=92ll get an error message. The preferred method to select a typescript are \setupbodyfont and \switchtobodyfont, the differences between both is that \switchtobodyfont use the chosen font only for the document text while \setupbodyfont affects also the header and footer of your document. >> \definetypeface[LeagueScript][ss][specsans][League Script Thin] >> \definetypeface[Pompadour][ss][specsans][Pompadour] > = > This seems to work for most fonts, with others like Pompadour it fails (p= ompadour has SubFamily string of > "Black" [Mac] and "Regular" [Windows] in the .otf), and spec fails to fin= d pompadour-normal-normal which > it is looking for). Pompadour is a serif font, so i tried also with argum= ents [rm][specserif]. A real problem with all TeX systems, fonts have too many names and it=92s hard to know which one you need to load it. > I have looked into co-typography.pdf for help, and while it is very exten= sive in some parts, in others it > is (too) technical and lacks expanations for some parameters. Indeed, Hans explains in his manuals sometimes too much which can confuse a beginner because these information aren=92t necessary to use a certain mechanism, e.g. to load a font. Wolfgang ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________