From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/68566 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 16:50:29 +0200 Message-ID: References: <20110521143857.GA8313@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="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1305989456 1242 80.91.229.12 (21 May 2011 14:50:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 21 May 2011 14:50:56 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat May 21 16:50:52 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 1QNnVz-00035Q-F2 for gctc-ntg-context-518@m.gmane.org; Sat, 21 May 2011 16:50:51 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8E2A6CAD25; Sat, 21 May 2011 16:50:50 +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 C-O68HZTfDqt; Sat, 21 May 2011 16:50:46 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B1EE2CAD14; Sat, 21 May 2011 16:50:46 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2BE71CAD14 for ; Sat, 21 May 2011 16:50:45 +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 3SqESQsB2DcP for ; Sat, 21 May 2011 16:50:34 +0200 (CEST) Original-Received: from filter3-nij.mf.surf.net (filter3-nij.mf.surf.net [195.169.124.154]) by balder.ntg.nl (Postfix) with ESMTP id 1C838CAD13 for ; Sat, 21 May 2011 16:50:34 +0200 (CEST) Original-Received: from mail-bw0-f41.google.com (mail-bw0-f41.google.com [209.85.214.41]) by filter3-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p4LEoXuN025309 for ; Sat, 21 May 2011 16:50:33 +0200 Original-Received: by bwz17 with SMTP id 17so5548286bwz.14 for ; Sat, 21 May 2011 07:50:33 -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=+hLjdmcRnsa1bVJU77FX+d/xMgBf/djXlXwHrsjGk7s=; b=fSKRkHMo7O6m4ijJSiSsW6t6oCcEcpLUZTM2ErHIAC+THN9aPgSvIgH7n/MY5RTU0U vo23tVOgD9GEruzz6cST5AbwuAqhJm+fpEGz/pM+Gd55S1tiDfx01TUDq0zWv1Tbvq0C 5Xnivt8bSoDIx9hdVazzhEAwBOpJ01MgeQNQQ= 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=OSSRHmHUHOwdjMBTt7LIt/UMj+Zce8TO52mCKfg6yQzWRU6gBM/qUgP1fXUfEqArZg 5TINiDvJiHEvtUUJ4i6ACPDHAyYYy8RvOAvEME89sNYVwDyyMqfMXOgusMoDSnD6taDu WV5LqdUNgUoUhKiT4NievjntGq57EOLO80TY4= Original-Received: by 10.204.143.4 with SMTP id s4mr548242bku.98.1305989432948; Sat, 21 May 2011 07:50:32 -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 d25sm2765260bkd.17.2011.05.21.07.50.31 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 21 May 2011 07:50:31 -0700 (PDT) In-Reply-To: <20110521143857.GA8313@innsmouth.lan> X-Mailer: Apple Mail (2.1084) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.214.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: 0dEKeOx88 - a06c4f16a03a - 20110521 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.154 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:68566 Archived-At: Am 21.05.2011 um 16:38 schrieb Otso Helenius: > 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? Try > \switchtotypeface[LeagueScript][12pt] \switchtobodyfont[LeageScript] and > \switchtotypeface[Pompadour][12pt] \switchtobodyfont[Pompadour] You can also replace (but check the output because the spec-settings give sometimes unexpected output) > \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] with \definetypeface[LeagueScript][ss][specsans][League Script Thin] \definetypeface[Pompadour] [ss][specsans][Pompadour] Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________