From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/93269 Path: news.gmane.org!not-for-mail From: massifr@fastwebnet.it Newsgroups: gmane.comp.tex.context Subject: font scaling does not work in footnotes Date: Tue, 12 Jan 2016 16:56:21 +0100 Message-ID: <2174198.iCjnQ4LET9@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="===============7050589804775714685==" X-Trace: ger.gmane.org 1452614239 18213 80.91.229.3 (12 Jan 2016 15:57:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 12 Jan 2016 15:57:19 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Tue Jan 12 16:57:07 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 1aJ1Jj-00070h-6e for gctc-ntg-context-518@m.gmane.org; Tue, 12 Jan 2016 16:57:07 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id A1DDE5F39; Tue, 12 Jan 2016 16:56:36 +0100 (CET) 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 dYQfj2VOCp8g; Tue, 12 Jan 2016 16:56:34 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id AF3AB5F3D; Tue, 12 Jan 2016 16:56:34 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 7B0BA5F2A for ; Tue, 12 Jan 2016 16:56:33 +0100 (CET) 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 LdyGB2VPB8y0 for ; Tue, 12 Jan 2016 16:56:32 +0100 (CET) Original-Received: from mr005msr.fastwebnet.it (mr005msr.fastwebnet.it [85.18.95.68]) by zapf.ntg.nl (Postfix) with ESMTP id 9FD955EB9 for ; Tue, 12 Jan 2016 16:56:22 +0100 (CET) Original-Received: from max.localnet (2.225.185.111) by mr005msr.fastwebnet.it (8.5.140.03) (authenticated as massifr) id 5694E043000528AC for ntg-context@ntg.nl; Tue, 12 Jan 2016 16:56:22 +0100 User-Agent: KMail/4.14.10 (Linux/4.3.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:93269 Archived-At: This is a multi-part message in MIME format. --===============7050589804775714685== Content-Type: multipart/alternative; boundary="nextPart7302445.RAumHav4FU" Content-Transfer-Encoding: 7Bit This is a multi-part message in MIME format. --nextPart7302445.RAumHav4FU Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Hello list, I have a problem with font scaling (see "sc=SansCaps sa 1.5" below). I'm using MyriadPro as sans font, but it lacks small caps. So I decided to provide them using AlegreyaSansSC, because it's similar to MyriadPro and it's made of small caps only. When I use \ss and \sc I get AlegreyaSC instead of MyriadPro. I want to scale them differently to balance their weights. That's why I wrote "sc=SansCaps sa 0.95". In body text the two fonts are balanced, but in the footnotes the scaling is ignored. What am I missing? Here's (part of) the typescript: \starttypescript [sans] [meo] \definefontsynonym [Sans] [name:MyriadPro-Regular][features=meo,fallbacks=mancanti] \definefontsynonym [SansBold] [name:MyriadPro-Bold][features=meo,fallbacks=mancanti] \definefontsynonym [SansItalic] [name:MyriadPro-It][features=meo,fallbacks=mancanti] % ... \definefontsynonym [SansCaps] [name:AlegreyaSansSC-Medium][features=meo,smcp,fallbacks=mancanti] \definebodyfont [13pt,11pt,10pt,8pt,7pt,6pt] [ss] [tf=Sans sa 0.85, it=SansItalic sa 0.85, bf=SansBold sa 0.85, bi=SansBoldItalic sa 0.85, sl=SansSlanted sa 0.85, sc=SansCaps sa 0.95] \stoptypescript Thank you, Massi --nextPart7302445.RAumHav4FU Content-Transfer-Encoding: 7Bit Content-Type: text/html; charset="us-ascii"

Hello list,

I have a problem with font scaling (see "sc=SansCaps sa 1.5" below).

 

I'm using MyriadPro as sans font, but it lacks small caps.

So I decided to provide them using AlegreyaSansSC, because it's similar to MyriadPro and it's made of small caps only.

When I use \ss and \sc I get AlegreyaSC instead of MyriadPro.

I want to scale them differently to balance their weights.

That's why I wrote "sc=SansCaps sa 0.95".

 

In body text the two fonts are balanced, but in the footnotes the scaling is ignored.

What am I missing?

 

Here's (part of) the typescript:

 

\starttypescript [sans] [meo]

\definefontsynonym [Sans] [name:MyriadPro-Regular][features=meo,fallbacks=mancanti]

\definefontsynonym [SansBold] [name:MyriadPro-Bold][features=meo,fallbacks=mancanti]

\definefontsynonym [SansItalic] [name:MyriadPro-It][features=meo,fallbacks=mancanti]

% ...

\definefontsynonym [SansCaps] [name:AlegreyaSansSC-Medium][features=meo,smcp,fallbacks=mancanti]

\definebodyfont

[13pt,11pt,10pt,8pt,7pt,6pt]

[ss]

[tf=Sans sa 0.85,

it=SansItalic sa 0.85,

bf=SansBold sa 0.85,

bi=SansBoldItalic sa 0.85,

sl=SansSlanted sa 0.85,

sc=SansCaps sa 0.95]

\stoptypescript

 

Thank you,

Massi

--nextPart7302445.RAumHav4FU-- --===============7050589804775714685== 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= --===============7050589804775714685==--