From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/68567 Path: news.gmane.org!not-for-mail From: Otso Helenius Newsgroups: gmane.comp.tex.context Subject: Font selection problem in MKIV Date: Sat, 21 May 2011 18:31:46 +0300 Message-ID: <20110521153146.GA9053@innsmouth.lan> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1305991932 14258 80.91.229.12 (21 May 2011 15:32:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 21 May 2011 15:32:12 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sat May 21 17:32:06 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 1QNo9u-00042r-5S for gctc-ntg-context-518@m.gmane.org; Sat, 21 May 2011 17:32:06 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 17F31CAD1F; Sat, 21 May 2011 17:32:03 +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 ylzhVPD2dqyp; Sat, 21 May 2011 17:32:00 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6DF0DCAD08; Sat, 21 May 2011 17:32:00 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DA7CFCAD08 for ; Sat, 21 May 2011 17:31:58 +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 k4cO++wm-Ncj for ; Sat, 21 May 2011 17:31:48 +0200 (CEST) Original-Received: from filter1-nij.mf.surf.net (filter1-nij.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id F3305CAD04 for ; Sat, 21 May 2011 17:31:47 +0200 (CEST) Original-Received: from innsmouth.pi-xi.net (pi-xi.net [83.145.207.200]) by filter1-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p4LFVkAw005631 for ; Sat, 21 May 2011 17:31:47 +0200 Original-Received: by innsmouth.pi-xi.net (Postfix, from userid 500) id 5D36C1C0858; Sat, 21 May 2011 18:31:46 +0300 (EEST) Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-12-10) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=83.145.207.200; country=FI; region=13; city=Espoo; latitude=60.2167; longitude=24.6667; http://maps.google.com/maps?q=60.2167,24.6667&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07EKfvLJ6 - 399187a767d3 - 20110521 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.152 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:68567 Archived-At: > Try > > \switchtotypeface[LeagueScript][12pt] > \switchtobodyfont[LeageScript] Is \switchtobodyfont the recommended way of changing the typeface temporarily anywhere in a document (for example when making cover page graphics)? Its name implies only document body. Nevertheless, \switchtobodyfont works (at least in the document body, haven't tested yet elsewhere) without setting \setupbodyfont. > \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 (pompadour has SubFamily string of "Black" [Mac] and "Regular" [Windows] in the .otf), and spec fails to find pompadour-normal-normal which it is looking for). Pompadour is a serif font, so i tried also with arguments [rm][specserif]. I have looked into co-typography.pdf for help, and while it is very extensive in some parts, in others it is (too) technical and lacks expanations for some parameters. As soon as I get these issues sorted out I'll try if I can make the MKIV font pages in the Wiki a bit more beginner friendly. Best regads, Otso Helenius ___________________________________________________________________________________ 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 ___________________________________________________________________________________