From: massifr@fastwebnet.it
To: ntg-context@ntg.nl
Subject: font scaling does not work in footnotes
Date: Tue, 12 Jan 2016 16:56:21 +0100 [thread overview]
Message-ID: <2174198.iCjnQ4LET9@max> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 1242 bytes --]
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
[-- Attachment #1.2: Type: text/html, Size: 6306 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
reply other threads:[~2016-01-12 15:56 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2174198.iCjnQ4LET9@max \
--to=massifr@fastwebnet.it \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).