From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/34077 Path: news.gmane.org!not-for-mail From: Vyatcheslav Yatskovsky Newsgroups: gmane.comp.tex.context Subject: \setupbodyfont vs. \switchtotypeface Date: Sun, 1 Apr 2007 23:35:55 +0300 Message-ID: <1793693832.20070401233555@gmail.com> Reply-To: Yatskovsky , 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: sea.gmane.org 1175460037 15138 80.91.229.12 (1 Apr 2007 20:40:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 1 Apr 2007 20:40:37 +0000 (UTC) To: "ntg-context-request@ntg.nl" Original-X-From: ntg-context-bounces@ntg.nl Sun Apr 01 22:40:31 2007 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1HY6qj-00019D-9W for gctc-ntg-context-518@m.gmane.org; Sun, 01 Apr 2007 22:40:29 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D0EF0203A0; Sun, 1 Apr 2007 22:40:28 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 23940-04; Sun, 1 Apr 2007 22:40:28 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9FA2D20392; Sun, 1 Apr 2007 22:35:53 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 35F1A20392 for ; Sun, 1 Apr 2007 22:35:52 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 23794-02-3 for ; Sun, 1 Apr 2007 22:35:50 +0200 (CEST) Original-Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.173]) by ronja.ntg.nl (Postfix) with ESMTP id 3C4692038F for ; Sun, 1 Apr 2007 22:35:50 +0200 (CEST) Original-Received: by ug-out-1314.google.com with SMTP id m2so1534564uge for ; Sun, 01 Apr 2007 13:35:50 -0700 (PDT) Original-Received: by 10.82.113.6 with SMTP id l6mr6992015buc.1175459749616; Sun, 01 Apr 2007 13:35:49 -0700 (PDT) Original-Received: from gavel.indulge.volia.net ( [77.122.215.114]) by mx.google.com with ESMTP id c25sm6315067ika.2007.04.01.13.35.47; Sun, 01 Apr 2007 13:35:48 -0700 (PDT) X-Mailer: The Bat! (v3.98.4) Professional X-Priority: 3 (Normal) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:34077 Archived-At: Hello, What is better to use given the code below? \setupbodyfont or \switchtotypeface? Both produce the same result but in the second case my pdf file is twice bigger.. \enableregime[cp1251] %\language[ru]\setuplanguage[ru] \loadmapfile[t2a-monotype-timesttf.map] \usetypescriptfile[type-buy] \usetypescript[serif][fallback] \starttypescript [serif] [myfont] [t2a] \definefontsynonym [Serif] [t2a-TINRPSMT] [encoding=t2a] \definefontsynonym [SerifBold] [t2a-TINRPSBM] [encoding=t2a] \definefontsynonym [SerifItalic] [t2a-TINRPSIM] [encoding=t2a] \definefontsynonym [SerifBoldItalic] [t2a-TINRPSBI] [encoding=t2a] \stoptypescript \definetypeface [myFont] [rm] [serif] [myfont] [default] [encoding=t2a] \definetypeface [myFont] [mm] [math,boldmath] [myfont] [default] [encoding=t2a] \definetypeface [myFont] [tt] [mono] [typewriter][default][encoding=t2a] \setupbodyfont[myFont,12pt] %\switchtotypeface[myFont][12pt] -- Best, Vyatcheslav