From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/81643 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Font size with Simplefonts Date: Fri, 12 Apr 2013 10:10:55 +0200 Message-ID: References: <5167ACB2.6040300@mmnetz.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Content-Type: multipart/mixed; boundary="===============0997647020==" X-Trace: ger.gmane.org 1365754280 22463 80.91.229.3 (12 Apr 2013 08:11:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 12 Apr 2013 08:11:20 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Apr 12 10:11:22 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from [195.12.62.10] (helo=balder.ntg.nl) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UQZ4s-0002H9-Af for gctc-ntg-context-518@m.gmane.org; Fri, 12 Apr 2013 10:11:22 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0DF32104E0; Fri, 12 Apr 2013 10:11:02 +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 uAfSjLiJ1HLU; Fri, 12 Apr 2013 10:11:00 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 2B0B91053A; Fri, 12 Apr 2013 10:11:00 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EBBB21053A for ; Fri, 12 Apr 2013 10:10:57 +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 8aaaoNm34YxK for ; Fri, 12 Apr 2013 10:10:57 +0200 (CEST) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by balder.ntg.nl (Postfix) with ESMTP id EB8FF104E0 for ; Fri, 12 Apr 2013 10:10:56 +0200 (CEST) Original-Received: from mail-bk0-x22f.google.com (mail-bk0-x22f.google.com [IPv6:2a00:1450:4008:c01::22f]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r3C8AuBs018020 for ; Fri, 12 Apr 2013 10:10:56 +0200 Original-Received: by mail-bk0-f47.google.com with SMTP id ik5so1209960bkc.34 for ; Fri, 12 Apr 2013 01:10:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:content-type:message-id:mime-version:subject:date :references:to:in-reply-to:x-mailer; bh=9NrUAszx328k9BCRZPCgOHYlNIWFWXhmLSrmN63p7e8=; b=zEBa1+3lyY3/VILxx8sKn436NZtRwSaryYEd5dWG/HuSo8i0tA1lEiPb9QHJVcNJ4u bOvWAmwwWCbJsqDljqhwmCtb8o/7v3zUgpezZUVWII2VFayhSefktpo7woWN+eGIACz7 8qto4b1g62CtWyhgKqBigEzWY1M8uKN5QX/MXB/IRvWWO5Eb6X3fwYpu3J+A+T0tYIVA b8XxkO02qZu6LjIKiDPWN+keapDgZqF0U+Z/lvWa+DMG277SXKI2hpm+kgnzi1o284ZZ jdW9AkEcfiOGUQ1+9yTlYnO0sB2LM5gIxCc04TaX4e+NXp+zpyIfnhq12eea/MlJRXC9 33Eg== X-Received: by 10.205.43.133 with SMTP id uc5mr3722936bkb.22.1365754255999; Fri, 12 Apr 2013 01:10:55 -0700 (PDT) Original-Received: from keima.localdomain (nrbg-4dbe5c13.pool.mediaWays.net. [77.190.92.19]) by mx.google.com with ESMTPS id gu14sm3272356bkc.1.2013.04.12.01.10.54 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 12 Apr 2013 01:10:55 -0700 (PDT) In-Reply-To: <5167ACB2.6040300@mmnetz.de> X-Mailer: Apple Mail (2.1503) X-Bayes-Prob: 0.005 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2a00:1450:4008:c01::22f; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0RJmUaUfE - 7be098e3e8e0 - 20130412 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:81643 Archived-At: --===============0997647020== Content-Type: multipart/alternative; boundary="Apple-Mail=_38B7D8D7-65D0-4DC5-AEA1-02A8D942F49C" --Apple-Mail=_38B7D8D7-65D0-4DC5-AEA1-02A8D942F49C Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 Am 12.04.2013 um 08:41 schrieb H. =D6zoguz : > Hello, >=20 > using Simplefonts, is it the correct way just to write: >=20 > \usemodule[simplefonts] >=20 > \setmainfont[AGaramondPro] [protrusion=3Dquality, expansion=3Dquality] >=20 > \setupalign[hz, hanging] >=20 > \setupbodyfont[AGaramondPro,11.5pt] >=20 > for setting the fontsize (it works). Or is there a more coherent way = to set the font size with Simplefonts? Remove =93AGaramondPro=94 from the \setupbodyfont command, there is no = typeface with this name. What you need is only the font size \setupbodyfont[11.5pt] but for values which aren=92t set by default (8pt, 12pt etc.) you should = define a bodyfont environment first. \definebodyfontenvironment[11.5pt] Wolfgang= --Apple-Mail=_38B7D8D7-65D0-4DC5-AEA1-02A8D942F49C Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252 h.oezoguz@mmnetz.de>:
Hello,

using Simplefonts, is it the correct way = just to = write:

\usemodule[simplefonts]

\setmainfont[AGaramondPro] = [protrusion=3Dquality, expansion=3Dquality]

\setupalign[hz, = hanging]

\setupbodyfont[AGaramondPro,11.5pt]

for setting = the fontsize (it works). Or is there a more coherent way to set the font = size with Simplefonts?

Remove = =93AGaramondPro=94 from the \setupbodyfont command, there is no typeface = with this name. What you need is only the font size

  = \setupbodyfont[11.5pt]

but for = values which aren=92t set by default (8pt, 12pt etc.) you = should define a bodyfont environment first.

  = \definebodyfontenvironment[11.5pt]