From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/68565 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 17:38:57 +0300 Message-ID: <20110521143857.GA8313@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 1305988761 30143 80.91.229.12 (21 May 2011 14:39:21 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 21 May 2011 14:39:21 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sat May 21 16:39:17 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 1QNnKm-0006GB-Pj for gctc-ntg-context-518@m.gmane.org; Sat, 21 May 2011 16:39:16 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D1F52CAD14; Sat, 21 May 2011 16:39:15 +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 8B9HC4+i6Kr7; Sat, 21 May 2011 16:39:13 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2238DCAD0C; Sat, 21 May 2011 16:39:13 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0949ECAD0C for ; Sat, 21 May 2011 16:39:12 +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 TZTD7gGVQf3Y for ; Sat, 21 May 2011 16:39:00 +0200 (CEST) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id 9EDC7CAD08 for ; Sat, 21 May 2011 16:39:00 +0200 (CEST) Original-Received: from innsmouth.pi-xi.net (pi-xi.net [83.145.207.200]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p4LEcx8w014134 for ; Sat, 21 May 2011 16:39:00 +0200 Original-Received: by innsmouth.pi-xi.net (Postfix, from userid 500) id EB25A1C0858; Sat, 21 May 2011 17:38:57 +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: 03EKeD0rQ - 81c3415c5cda - 20110521 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.72 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:68565 Archived-At: Hello, I'm using ConTeXt minimals MKIV (latest snapshot) on Linux with loads of system ttf & otf fonts. Recently I stumbled upon a peculiar problem. The example below outputs three lines in three different fonts, the Computer/Latin(?) Modern, League Script and Pompadour, as expected. However, if I comment out \setupbodyfont line or set anything else as the body font than LeagueScript or Pompadour, all text in the document will be output solely with the default Modern font. Am I missing something here? Is there something wrong with the way I select and use multiple fonts in the same document? \setuppapersize[A4][A4] \starttypescript[Sans][LeagueScript] \definefontsynonym[Sans][name:leaguescriptthin] \stoptypescript \starttypescript[Sans][Pompadour] \definefontsynonym[Sans][name:Pompadour] \stoptypescript \definetypeface[LeagueScript][ss][Sans][LeagueScript] \definetypeface[Pompadour][ss][Sans][Pompadour] \setupbodyfont[LeagueScript,12pt] \starttext 01234567890 \switchtotypeface[LeagueScript][12pt] 01234567890 \switchtotypeface[Pompadour][12pt] 01234567890 \stoptext Best regards, 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 ___________________________________________________________________________________