ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Pawel Urbanski via ntg-context <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Pawel Urbanski <urbanski.pawel@gmail.com>
Subject: Re: [NTG-context] Google's Roboto Flex font typescript and goodies definition.
Date: Tue, 18 Apr 2023 15:52:04 +0200	[thread overview]
Message-ID: <CADUDiDHVR1C-kJv6oMwc7Uf-EghOX+T1pod-UNxSMO6iRZ4kvw@mail.gmail.com> (raw)
In-Reply-To: <CADUDiDEovGxyvEgFRH3oFwRHr__7tEs6vX4VyyBQT+X5ckZ7=w@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 750 bytes --]

Hi Hans,
I will write what I want to acomplish. While it is definitely thrivial, I'm
either missing something obvious or more experienced users suffer from the
curse of knowledge.

I want ot use Roboto Flex for my chapter and section heads with Garamond
Premier for the body contents.

I followed the Context wiki example and consistant examples from the web.

Here is my code:
\usemodule[fonts-variable]
\definefontfamily[roboto-flex][ss][rotoboflex]
% robotoflex.ttf is the recognized font file name.
\setuphead[chapter]
[style={\switchtobodyfont[roboto-flex,20pt]\ss}]

While the Garamond is embedded and text is styled, the chapter tible is
typeset with Garamond not Roboto.

Any hints or feed back will be very appriciated.

Thank you,
Pawel

>

[-- Attachment #1.2: Type: text/html, Size: 1012 bytes --]

[-- Attachment #2: Type: text/plain, Size: 496 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

  parent reply	other threads:[~2023-04-18 13:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-18 10:37 Pawel Urbanski via ntg-context
2023-04-18 13:29 ` Hans Hagen via ntg-context
2023-04-18 14:14   ` Pawel Urbanski via ntg-context
2023-04-18 13:52 ` Pawel Urbanski via ntg-context [this message]
2023-04-18 15:39   ` Hans Hagen via ntg-context
2023-04-19 14:06     ` Pawel Urbanski via ntg-context

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=CADUDiDHVR1C-kJv6oMwc7Uf-EghOX+T1pod-UNxSMO6iRZ4kvw@mail.gmail.com \
    --to=ntg-context@ntg.nl \
    --cc=urbanski.pawel@gmail.com \
    /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).