From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/94565 Path: news.gmane.org!not-for-mail From: massifr@fastwebnet.it Newsgroups: gmane.comp.tex.context Subject: Garamond Premier Pro font goodies file Date: Thu, 28 Apr 2016 10:58:58 +0200 Message-ID: <1817242.h9tBJeq2pc@max> Reply-To: massifr@fastwebnet.it, mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="nextPart2284105.Po9MXSlJmV" Content-Transfer-Encoding: 7Bit X-Trace: ger.gmane.org 1461833992 13434 80.91.229.3 (28 Apr 2016 08:59:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 28 Apr 2016 08:59:52 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Thu Apr 28 10:59:38 2016 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1avhnN-0005Nq-Ev for gctc-ntg-context-518@m.gmane.org; Thu, 28 Apr 2016 10:59:37 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id AB6B2B3C1; Thu, 28 Apr 2016 10:59:13 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sjBgNvoXUhL6; Thu, 28 Apr 2016 10:59:12 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 9F0D3B3C2; Thu, 28 Apr 2016 10:59:12 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 127D0B3C0 for ; Thu, 28 Apr 2016 10:59:11 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IKUHoBgVw_rq for ; Thu, 28 Apr 2016 10:59:09 +0200 (CEST) Original-Received: from mr003msr.fastwebnet.it (mr003msr.fastwebnet.it [85.18.95.66]) by zapf.ntg.nl (Postfix) with ESMTP id BE790B3BF for ; Thu, 28 Apr 2016 10:58:59 +0200 (CEST) Original-Received: from max.localnet (2.225.185.111) by mr003msr.fastwebnet.it (8.5.140.04) (authenticated as massifr) id 571B4A3B004B47AC for ntg-context@ntg.nl; Thu, 28 Apr 2016 10:58:59 +0200 User-Agent: KMail/4.14.10 (Linux/4.5.0-1-686-pae; KDE/4.14.14; i686; ; ) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 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" Xref: news.gmane.org gmane.comp.tex.context:94565 Archived-At: This is a multi-part message in MIME format. --nextPart2284105.Po9MXSlJmV Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Hello list, I'm using the Adobe Garamond Premier Pro font. It has 4 optical sizes: Caption, Normal, Subhead, Display. I tried to modify ebgaramond.lfg to adapt it to Garamond Premier Pro. You find it as an attachment. I don't know how to use that goodies file to see the different optical sizes in a document. I've tried this: \loadfontgoodies[GaramondPremierPro] \definefontfamily [default] [rm] [tf=name:GaramondPremierPro-Regular, it=name:GaramondPremierPro-Italic] \setupbodyfont[default,12pt] \dostepwiserecurse {6} {22} {1} { \definebodyfontenvironment[default][#1pt][text=#1pt,em=italic] } \starttext \dostepwiserecurse {6} {22} {1} { \switchtobodyfont[#1pt] \purefontname\font: \input tufte \blank } \stoptext but it does not work. Any help? Thanks in advance, Massi To Hans: if you find it useful for Context, you can add and/or modify it to the distribution. You can also change the author to yourself. --nextPart2284105.Po9MXSlJmV Content-Disposition: attachment; filename="garamondpremierpro.lfg" Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8"; name="garamondpremierpro.lfg" return { name = "GaramondPremierPro", version = "1.00", comment = "Goodies that complement Garamond Premier Pro.", author = "MF", copyright = "ConTeXt development team", designsizes = { ["GaramondPremierPro-Regular"] = { ["6pt"] = "file:GaramondPremrPro-Capt", ["7pt"] = "file:GaramondPremrPro-Capt", ["8pt"] = "file:GaramondPremrPro-Capt", ["8.5pt"] = "file:GaramondPremrPro", ["9pt"] = "file:GaramondPremrPro", ["9.5pt"] = "file:GaramondPremrPro", ["10pt"] = "file:GaramondPremrPro", ["11pt"] = "file:GaramondPremrPro", ["12pt"] = "file:GaramondPremrPro", ["12pt"] = "file:GaramondPremrPro", ["14pt"] = "file:GaramondPremrPro-Subh", ["21pt"] = "file:GaramondPremrPro-Subh", ["22pt"] = "file:GaramondPremrPro-Disp", default = "file:GaramondPremrPro", }, ["GaramondPremierPro-Italic"] = { ["6pt"] = "file:GaramondPremrPro-ItCapt", ["7pt"] = "file:GaramondPremrPro-ItCapt", ["8pt"] = "file:GaramondPremrPro-ItCapt", ["8.5pt"] = "file:GaramondPremrPro-It", ["9pt"] = "file:GaramondPremrPro-It", ["9.5pt"] = "file:GaramondPremrPro-It", ["10pt"] = "file:GaramondPremrPro-It", ["11pt"] = "file:GaramondPremrPro-It", ["12pt"] = "file:GaramondPremrPro-It", ["12pt"] = "file:GaramondPremrPro-It", ["14pt"] = "file:GaramondPremrPro-ItSubh", ["21pt"] = "file:GaramondPremrPro-ItSubh", ["22pt"] = "file:GaramondPremrPro-ItDisp", default = "file:GaramondPremrPro-It", }, ["GaramondPremierPro-Bold"] = { ["6pt"] = "file:GaramondPremrPro-BdCapt", ["7pt"] = "file:GaramondPremrPro-BdCapt", ["8pt"] = "file:GaramondPremrPro-BdCapt", ["8.5pt"] = "file:GaramondPremrPro-Bd", ["9pt"] = "file:GaramondPremrPro-Bd", ["9.5pt"] = "file:GaramondPremrPro-Bd", ["10pt"] = "file:GaramondPremrPro-Bd", ["11pt"] = "file:GaramondPremrPro-Bd", ["12pt"] = "file:GaramondPremrPro-Bd", ["12pt"] = "file:GaramondPremrPro-Bd", ["14pt"] = "file:GaramondPremrPro-BdSubh", ["21pt"] = "file:GaramondPremrPro-BdSubh", ["22pt"] = "file:GaramondPremrPro-BdDisp", default = "file:GaramondPremrPro-Bd", }, ["GaramondPremierPro-BoldItalic"] = { ["6pt"] = "file:GaramondPremrPro-BdItCapt", ["7pt"] = "file:GaramondPremrPro-BdItCapt", ["8pt"] = "file:GaramondPremrPro-BdItCapt", ["8.5pt"] = "file:GaramondPremrPro-BdIt", ["9pt"] = "file:GaramondPremrPro-BdIt", ["9.5pt"] = "file:GaramondPremrPro-BdIt", ["10pt"] = "file:GaramondPremrPro-BdIt", ["11pt"] = "file:GaramondPremrPro-BdIt", ["12pt"] = "file:GaramondPremrPro-BdIt", ["12pt"] = "file:GaramondPremrPro-BdIt", ["14pt"] = "file:GaramondPremrPro-BdItSubh", ["21pt"] = "file:GaramondPremrPro-BdItSubh", ["22pt"] = "file:GaramondPremrPro-BdItDisp", default = "file:GaramondPremrPro-BdIt", }, ["GaramondPremierPro-Medium"] = { ["6pt"] = "file:GaramondPremrPro-MedCapt", ["7pt"] = "file:GaramondPremrPro-MedCapt", ["8pt"] = "file:GaramondPremrPro-MedCapt", ["8.5pt"] = "file:GaramondPremrPro-Med", ["9pt"] = "file:GaramondPremrPro-Med", ["9.5pt"] = "file:GaramondPremrPro-Med", ["10pt"] = "file:GaramondPremrPro-Med", ["11pt"] = "file:GaramondPremrPro-Med", ["12pt"] = "file:GaramondPremrPro-Med", ["12pt"] = "file:GaramondPremrPro-Med", ["14pt"] = "file:GaramondPremrPro-MedSubh", ["21pt"] = "file:GaramondPremrPro-MedSubh", ["22pt"] = "file:GaramondPremrPro-MedDisp", default = "file:GaramondPremrPro-Med", }, ["GaramondPremierPro-MediumItalic"] = { ["6pt"] = "file:GaramondPremrPro-MedItCapt", ["7pt"] = "file:GaramondPremrPro-MedItCapt", ["8pt"] = "file:GaramondPremrPro-MedItCapt", ["8.5pt"] = "file:GaramondPremrPro-MedIt", ["9pt"] = "file:GaramondPremrPro-MedIt", ["9.5pt"] = "file:GaramondPremrPro-MedIt", ["10pt"] = "file:GaramondPremrPro-MedIt", ["11pt"] = "file:GaramondPremrPro-MedIt", ["12pt"] = "file:GaramondPremrPro-MedIt", ["12pt"] = "file:GaramondPremrPro-MedIt", ["14pt"] = "file:GaramondPremrPro-MedItSubh", ["21pt"] = "file:GaramondPremrPro-MedItSubh", ["22pt"] = "file:GaramondPremrPro-MedItDisp", default = "file:GaramondPremrPro-MedIt", }, ["GaramondPremierPro-Semibold"] = { ["6pt"] = "file:GaramondPremrPro-SmbdCapt", ["7pt"] = "file:GaramondPremrPro-SmbdCapt", ["8pt"] = "file:GaramondPremrPro-SmbdCapt", ["8.5pt"] = "file:GaramondPremrPro-Smbd", ["9pt"] = "file:GaramondPremrPro-Smbd", ["9.5pt"] = "file:GaramondPremrPro-Smbd", ["10pt"] = "file:GaramondPremrPro-Smbd", ["11pt"] = "file:GaramondPremrPro-Smbd", ["12pt"] = "file:GaramondPremrPro-Smbd", ["12pt"] = "file:GaramondPremrPro-Smbd", ["14pt"] = "file:GaramondPremrPro-SmbdSubh", ["21pt"] = "file:GaramondPremrPro-SmbdSubh", ["22pt"] = "file:GaramondPremrPro-SmbdDisp", default = "file:GaramondPremrPro-Smbd", }, ["GaramondPremierPro-SemiboldItalic"] = { ["6pt"] = "file:GaramondPremrPro-SmbdItCapt", ["7pt"] = "file:GaramondPremrPro-SmbdItCapt", ["8pt"] = "file:GaramondPremrPro-SmbdItCapt", ["8.5pt"] = "file:GaramondPremrPro-SmbdIt", ["9pt"] = "file:GaramondPremrPro-SmbdIt", ["9.5pt"] = "file:GaramondPremrPro-SmbdIt", ["10pt"] = "file:GaramondPremrPro-SmbdIt", ["11pt"] = "file:GaramondPremrPro-SmbdIt", ["12pt"] = "file:GaramondPremrPro-SmbdIt", ["12pt"] = "file:GaramondPremrPro-SmbdIt", ["14pt"] = "file:GaramondPremrPro-SmbdItSubh", ["21pt"] = "file:GaramondPremrPro-SmbdItSubh", ["22pt"] = "file:GaramondPremrPro-SmbdItDisp", default = "file:GaramondPremrPro-SmbdIt", }, ["GaramondPremierPro-LightDisplay"] = { ["22pt"] = "file:GaramondPremrPro-LtDisp", ["36pt"] = "file:GaramondPremrPro-LtDisp", default = "file:GaramondPremrPro-LtDisp", }, ["GaramondPremierPro-LightDisplayItalic"] = { ["22pt"] = "file:GaramondPremrPro-LtItDisp", ["36pt"] = "file:GaramondPremrPro-LtItDisp", default = "file:GaramondPremrPro-LtItDisp", }, } } --nextPart2284105.Po9MXSlJmV Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --nextPart2284105.Po9MXSlJmV--